[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 27/35] hw: move VFIO and ivshmem to hw/pci/
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 27/35] hw: move VFIO and ivshmem to hw/pci/ |
Date: |
Mon, 18 Mar 2013 18:35:17 +0100 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/Makefile.objs | 10 ----------
hw/pci/Makefile.objs | 5 +++++
hw/{ => pci}/ivshmem.c | 0
hw/{vfio_pci.c => pci/vfio.c} | 0
4 files changed, 5 insertions(+), 10 deletions(-)
rename hw/{ => pci}/ivshmem.c (100%)
rename hw/{vfio_pci.c => pci/vfio.c} (100%)
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index a57dd9a..7ba0d11 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -28,13 +28,3 @@ devices-dirs-$(CONFIG_SOFTMMU) += xen/
common-obj-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
diff --git a/hw/pci/Makefile.objs b/hw/pci/Makefile.objs
index 8b20135..9086b3b 100644
--- a/hw/pci/Makefile.objs
+++ b/hw/pci/Makefile.objs
@@ -26,6 +26,11 @@ common-obj-$(CONFIG_PPCE500_PCI) += host-ppce500.o
# ARM devices
common-obj-$(CONFIG_VERSATILE_PCI) += host-versatile.o
+ifeq ($(CONFIG_PCI), y)
+obj-$(CONFIG_KVM) += ivshmem.o
+obj-$(CONFIG_LINUX) += vfio.o
+endif
+
obj-$(CONFIG_PCI_APB) += host-apb.o
obj-$(CONFIG_FULONG) += host-bonito.o
obj-$(CONFIG_PCI_PIIX) += host-piix.o
diff --git a/hw/ivshmem.c b/hw/pci/ivshmem.c
similarity index 100%
rename from hw/ivshmem.c
rename to hw/pci/ivshmem.c
diff --git a/hw/vfio_pci.c b/hw/pci/vfio.c
similarity index 100%
rename from hw/vfio_pci.c
rename to hw/pci/vfio.c
--
1.8.1.4
- [Qemu-devel] [PATCH 03/35] configure: fix TPM logic, (continued)
- [Qemu-devel] [PATCH 03/35] configure: fix TPM logic, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 04/35] tpm: reorganize headers and split hardware part, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 09/35] hw: make all of hw/usb/ configurable via default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 02/35] hw: make subdirectories for devices, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 21/35] hw: move char devices to hw/char/, configure via default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 07/35] hw: move virtio devices to hw/ subdirectories, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 24/35] hw: move input devices to hw/input/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 28/35] hw: move DMA controllers to hw/dma/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 29/35] hw: move interrupt controllers to hw/intc/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 08/35] hw: make all of hw/ide/ configurable via default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 27/35] hw: move VFIO and ivshmem to hw/pci/,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 30/35] hw: move GPIO interfaces to hw/gpio/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 32/35] hw: move other devices to hw/misc/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 35/35] hw: move private headers to hw/ subdirectories., Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 33/35] arm: move remaining files to hw/arm/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 26/35] hw: move PCI bridges to hw/pci/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 25/35] hw: move SD/MMC devices to hw/sd/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 10/35] hw: make all of hw/pci/ configurable via default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 23/35] hw: move timer devices to hw/timer/, configure with default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 11/35] hw: move watchdogs to hw/watchdog, configure via default-configs/, Paolo Bonzini, 2013/03/18
- [Qemu-devel] [PATCH 31/35] hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/, Paolo Bonzini, 2013/03/18