Message ID | 83eb8d59fa87f52a6bade7af9cc05006759683c1.1332197811.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
Am 19.03.2012 23:57, schrieb Juan Quintela: > They only contain vmstate cpu sections nowadays. Change name to reflect the case. In light of me creating a file cpu.c for every target except ppc, might it make more sense to call it cpu-vmstate.c? Or do you envision other vmstate-*.c files? Andreas > > Signed-off-by: Juan Quintela <quintela@redhat.com> > --- > Makefile.target | 3 ++- > target-alpha/{machine.c => vmstate-cpu.c} | 0 > target-arm/{machine.c => vmstate-cpu.c} | 0 > target-cris/{machine.c => vmstate-cpu.c} | 0 > target-i386/{machine.c => vmstate-cpu.c} | 0 > target-lm32/{machine.c => vmstate-cpu.c} | 0 > target-m68k/{machine.c => vmstate-cpu.c} | 0 > target-microblaze/{machine.c => vmstate-cpu.c} | 0 > target-mips/{machine.c => vmstate-cpu.c} | 0 > target-ppc/{machine.c => vmstate-cpu.c} | 0 > target-s390x/{machine.c => vmstate-cpu.c} | 0 > target-sh4/{machine.c => vmstate-cpu.c} | 0 > target-sparc/{machine.c => vmstate-cpu.c} | 0 > target-xtensa/{machine.c => vmstate-cpu.c} | 0 > 14 files changed, 2 insertions(+), 1 deletions(-)
Andreas Färber <afaerber@suse.de> wrote: > Am 19.03.2012 23:57, schrieb Juan Quintela: >> They only contain vmstate cpu sections nowadays. Change name to >> reflect the case. > > In light of me creating a file cpu.c for every target except ppc, might > it make more sense to call it cpu-vmstate.c? Or do you envision other > vmstate-*.c files? I renamed them pecause they don't contain the boards definitions anymore. Will move next round to cpu-vmstate.c, I don't really care about the name. Later, Juan.
diff --git a/Makefile.target b/Makefile.target index 63cf769..0f59106 100644 --- a/Makefile.target +++ b/Makefile.target @@ -204,7 +204,8 @@ 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-cpu.o gdbstub.o balloon.o +obj-y += 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
They only contain vmstate cpu sections nowadays. Change name to reflect the case. Signed-off-by: Juan Quintela <quintela@redhat.com> --- Makefile.target | 3 ++- target-alpha/{machine.c => vmstate-cpu.c} | 0 target-arm/{machine.c => vmstate-cpu.c} | 0 target-cris/{machine.c => vmstate-cpu.c} | 0 target-i386/{machine.c => vmstate-cpu.c} | 0 target-lm32/{machine.c => vmstate-cpu.c} | 0 target-m68k/{machine.c => vmstate-cpu.c} | 0 target-microblaze/{machine.c => vmstate-cpu.c} | 0 target-mips/{machine.c => vmstate-cpu.c} | 0 target-ppc/{machine.c => vmstate-cpu.c} | 0 target-s390x/{machine.c => vmstate-cpu.c} | 0 target-sh4/{machine.c => vmstate-cpu.c} | 0 target-sparc/{machine.c => vmstate-cpu.c} | 0 target-xtensa/{machine.c => vmstate-cpu.c} | 0 14 files changed, 2 insertions(+), 1 deletions(-) rename target-alpha/{machine.c => vmstate-cpu.c} (100%) rename target-arm/{machine.c => vmstate-cpu.c} (100%) rename target-cris/{machine.c => vmstate-cpu.c} (100%) rename target-i386/{machine.c => vmstate-cpu.c} (100%) rename target-lm32/{machine.c => vmstate-cpu.c} (100%) rename target-m68k/{machine.c => vmstate-cpu.c} (100%) rename target-microblaze/{machine.c => vmstate-cpu.c} (100%) rename target-mips/{machine.c => vmstate-cpu.c} (100%) rename target-ppc/{machine.c => vmstate-cpu.c} (100%) rename target-s390x/{machine.c => vmstate-cpu.c} (100%) rename target-sh4/{machine.c => vmstate-cpu.c} (100%) rename target-sparc/{machine.c => vmstate-cpu.c} (100%) rename target-xtensa/{machine.c => vmstate-cpu.c} (100%) diff --git a/target-alpha/machine.c b/target-alpha/vmstate-cpu.c similarity index 100% rename from target-alpha/machine.c rename to target-alpha/vmstate-cpu.c diff --git a/target-arm/machine.c b/target-arm/vmstate-cpu.c similarity index 100% rename from target-arm/machine.c rename to target-arm/vmstate-cpu.c diff --git a/target-cris/machine.c b/target-cris/vmstate-cpu.c similarity index 100% rename from target-cris/machine.c rename to target-cris/vmstate-cpu.c diff --git a/target-i386/machine.c b/target-i386/vmstate-cpu.c similarity index 100% rename from target-i386/machine.c rename to target-i386/vmstate-cpu.c diff --git a/target-lm32/machine.c b/target-lm32/vmstate-cpu.c similarity index 100% rename from target-lm32/machine.c rename to target-lm32/vmstate-cpu.c diff --git a/target-m68k/machine.c b/target-m68k/vmstate-cpu.c similarity index 100% rename from target-m68k/machine.c rename to target-m68k/vmstate-cpu.c diff --git a/target-microblaze/machine.c b/target-microblaze/vmstate-cpu.c similarity index 100% rename from target-microblaze/machine.c rename to target-microblaze/vmstate-cpu.c diff --git a/target-mips/machine.c b/target-mips/vmstate-cpu.c similarity index 100% rename from target-mips/machine.c rename to target-mips/vmstate-cpu.c diff --git a/target-ppc/machine.c b/target-ppc/vmstate-cpu.c similarity index 100% rename from target-ppc/machine.c rename to target-ppc/vmstate-cpu.c diff --git a/target-s390x/machine.c b/target-s390x/vmstate-cpu.c similarity index 100% rename from target-s390x/machine.c rename to target-s390x/vmstate-cpu.c diff --git a/target-sh4/machine.c b/target-sh4/vmstate-cpu.c similarity index 100% rename from target-sh4/machine.c rename to target-sh4/vmstate-cpu.c diff --git a/target-sparc/machine.c b/target-sparc/vmstate-cpu.c similarity index 100% rename from target-sparc/machine.c rename to target-sparc/vmstate-cpu.c diff --git a/target-xtensa/machine.c b/target-xtensa/vmstate-cpu.c similarity index 100% rename from target-xtensa/machine.c rename to target-xtensa/vmstate-cpu.c