Patchwork [28/28] vmstate: rename machine.c to vmstate.c

login
register
mail settings
Submitter Juan Quintela
Date Oct. 26, 2011, 8:16 p.m.
Message ID <9b32370852cbfa493c44656be76053bd30ed6396.1319658750.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/122002/
State New
Headers show

Comments

Juan Quintela - Oct. 26, 2011, 8:16 p.m.
They only contain vmstate cpu sections nowadays.  Change name to reflect the case.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target                            |    2 +-
 target-alpha/{machine.c => vmstate.c}      |    0
 target-arm/{machine.c => vmstate.c}        |    0
 target-cris/{machine.c => vmstate.c}       |    0
 target-i386/{machine.c => vmstate.c}       |    0
 target-lm32/{machine.c => vmstate.c}       |    0
 target-m68k/{machine.c => vmstate.c}       |    0
 target-microblaze/{machine.c => vmstate.c} |    0
 target-mips/{machine.c => vmstate.c}       |    0
 target-ppc/{machine.c => vmstate.c}        |    0
 target-s390x/{machine.c => vmstate.c}      |    0
 target-sh4/{machine.c => vmstate.c}        |    0
 target-sparc/{machine.c => vmstate.c}      |    0
 target-xtensa/{machine.c => vmstate.c}     |    0
 14 files changed, 1 insertions(+), 1 deletions(-)
 rename target-alpha/{machine.c => vmstate.c} (100%)
 rename target-arm/{machine.c => vmstate.c} (100%)
 rename target-cris/{machine.c => vmstate.c} (100%)
 rename target-i386/{machine.c => vmstate.c} (100%)
 rename target-lm32/{machine.c => vmstate.c} (100%)
 rename target-m68k/{machine.c => vmstate.c} (100%)
 rename target-microblaze/{machine.c => vmstate.c} (100%)
 rename target-mips/{machine.c => vmstate.c} (100%)
 rename target-ppc/{machine.c => vmstate.c} (100%)
 rename target-s390x/{machine.c => vmstate.c} (100%)
 rename target-sh4/{machine.c => vmstate.c} (100%)
 rename target-sparc/{machine.c => vmstate.c} (100%)
 rename target-xtensa/{machine.c => vmstate.c} (100%)

diff --git a/target-alpha/machine.c b/target-alpha/vmstate.c
similarity index 100%
rename from target-alpha/machine.c
rename to target-alpha/vmstate.c
diff --git a/target-arm/machine.c b/target-arm/vmstate.c
similarity index 100%
rename from target-arm/machine.c
rename to target-arm/vmstate.c
diff --git a/target-cris/machine.c b/target-cris/vmstate.c
similarity index 100%
rename from target-cris/machine.c
rename to target-cris/vmstate.c
diff --git a/target-i386/machine.c b/target-i386/vmstate.c
similarity index 100%
rename from target-i386/machine.c
rename to target-i386/vmstate.c
diff --git a/target-lm32/machine.c b/target-lm32/vmstate.c
similarity index 100%
rename from target-lm32/machine.c
rename to target-lm32/vmstate.c
diff --git a/target-m68k/machine.c b/target-m68k/vmstate.c
similarity index 100%
rename from target-m68k/machine.c
rename to target-m68k/vmstate.c
diff --git a/target-microblaze/machine.c b/target-microblaze/vmstate.c
similarity index 100%
rename from target-microblaze/machine.c
rename to target-microblaze/vmstate.c
diff --git a/target-mips/machine.c b/target-mips/vmstate.c
similarity index 100%
rename from target-mips/machine.c
rename to target-mips/vmstate.c
diff --git a/target-ppc/machine.c b/target-ppc/vmstate.c
similarity index 100%
rename from target-ppc/machine.c
rename to target-ppc/vmstate.c
diff --git a/target-s390x/machine.c b/target-s390x/vmstate.c
similarity index 100%
rename from target-s390x/machine.c
rename to target-s390x/vmstate.c
diff --git a/target-sh4/machine.c b/target-sh4/vmstate.c
similarity index 100%
rename from target-sh4/machine.c
rename to target-sh4/vmstate.c
diff --git a/target-sparc/machine.c b/target-sparc/vmstate.c
similarity index 100%
rename from target-sparc/machine.c
rename to target-sparc/vmstate.c
diff --git a/target-xtensa/machine.c b/target-xtensa/vmstate.c
similarity index 100%
rename from target-xtensa/machine.c
rename to target-xtensa/vmstate.c

Patch

diff --git a/Makefile.target b/Makefile.target
index 1e90df7..7e1be3f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -189,7 +189,7 @@  endif #CONFIG_BSD_USER
 # System emulator target
 ifdef CONFIG_SOFTMMU

-obj-y = arch_init.o cpus.o monitor.o machine.o gdbstub.o balloon.o ioport.o
+obj-y = arch_init.o cpus.o monitor.o vmstate.o gdbstub.o balloon.o ioport.o
 # virtio has to be here due to weird dependency between PCI and virtio-net.
 # need to fix this properly
 obj-$(CONFIG_NO_PCI) += pci-stub.o