]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw: move VFIO and ivshmem to hw/misc/
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2013 14:41:36 +0000 (15:41 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2013 16:13:14 +0000 (18:13 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/Makefile.objs
hw/misc/Makefile.objs
hw/misc/ivshmem.c [moved from hw/ivshmem.c with 100% similarity]
hw/misc/vfio.c [moved from hw/vfio_pci.c with 100% similarity]

index 8d0cc1fa9cfbcf8d2d2b700ac1ff77ec1778a0df..1cb86fa323b91ee0ee7e80e77b2822466d8bcd1b 100644 (file)
@@ -29,13 +29,3 @@ devices-dirs-$(CONFIG_SOFTMMU) += xen/
 devices-dirs-y += core/
 common-obj-y += $(devices-dirs-y)
 obj-y += $(devices-dirs-y)
-
-ifeq ($(CONFIG_SOFTMMU),y)
-
-# Inter-VM PCI shared memory & VFIO PCI device assignment
-ifeq ($(CONFIG_PCI), y)
-obj-$(CONFIG_KVM) += ivshmem.o
-obj-$(CONFIG_LINUX) += vfio_pci.o
-endif
-
-endif
index 009b1d9f019381a7c36e80b0a7ad4052faea44c4..9b1ab39fbe8ad04ed477b489d53eb71daca517a5 100644 (file)
@@ -9,3 +9,9 @@ common-obj-$(CONFIG_PL310) += arm_l2x0.o
 common-obj-$(CONFIG_PUV3) += puv3_pm.o
 
 common-obj-$(CONFIG_MACIO) += macio/
+
+ifeq ($(CONFIG_PCI), y)
+obj-$(CONFIG_KVM) += ivshmem.o
+obj-$(CONFIG_LINUX) += vfio.o
+endif
+
similarity index 100%
rename from hw/ivshmem.c
rename to hw/misc/ivshmem.c
similarity index 100%
rename from hw/vfio_pci.c
rename to hw/misc/vfio.c