]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
move xen-common.c to hw/xen/
authorAnthony Xu <anthony.xu@intel.com>
Wed, 5 Apr 2017 23:21:29 +0000 (16:21 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 25 Apr 2017 18:04:34 +0000 (11:04 -0700)
move xen-common.c to hw/xen/

Signed-off -by: Anthony Xu <anthony.xu@intel.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Makefile.target
hw/xen/Makefile.objs
hw/xen/xen-common.c [moved from xen-common.c with 100% similarity]
stubs/Makefile.objs
stubs/xen-common.c [moved from xen-common-stub.c with 100% similarity]

index 7df2b8c14989d623422cced928a745c53c81e8b1..48c027f4b7392c5c9ae1397c8661dae9f5e627d0 100644 (file)
@@ -150,9 +150,7 @@ obj-y += migration/ram.o migration/savevm.o
 LIBS := $(libs_softmmu) $(LIBS)
 
 # xen support
-obj-$(CONFIG_XEN) += xen-common.o
 obj-$(CONFIG_XEN_I386) += xen-hvm.o xen-mapcache.o
-obj-$(call lnot,$(CONFIG_XEN)) += xen-common-stub.o
 obj-$(call lnot,$(CONFIG_XEN_I386)) += xen-hvm-stub.o
 
 # Hardware support
index 4be3ec9c77df2edd2e267cb654f73960fd5e1793..64a70bc6cb8b7e853dbb42f52e17f1ea9038e34f 100644 (file)
@@ -1,5 +1,5 @@
 # xen backend driver support
-common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o xen_pvdev.o
+common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o xen_pvdev.o xen-common.o
 
 obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen-host-pci-device.o
 obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_graphics.o xen_pt_msi.o
similarity index 100%
rename from xen-common.c
rename to hw/xen/xen-common.c
index 224f04ba6970f2425501ad0711d85f31a9090173..6c80613dd7cd77d93a044fd8f3691aaf4c25d27a 100644 (file)
@@ -37,3 +37,4 @@ stub-obj-y += target-monitor-defs.o
 stub-obj-y += target-get-monitor-def.o
 stub-obj-y += pc_madt_cpu_entry.o
 stub-obj-y += vmgenid.o
+stub-obj-y += xen-common.o
similarity index 100%
rename from xen-common-stub.c
rename to stubs/xen-common.c