diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:07 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:18:33 +0200 |
commit | 0b8fa32f551e863bb548a11394239239270dd3dc (patch) | |
tree | 5407f5eb794045d03eb5f817a4d2fc611524d057 /hw/virtio | |
parent | 856dfd8a035e42cd96ca823f1cbbd18d332e2f84 (diff) |
Include qemu/module.h where needed, drop it from qemu-common.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-4-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
ui/cocoa.m fixed up]
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/vhost-scsi-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-user-blk-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-user-scsi-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-vsock-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-vsock.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-9p-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-balloon-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-balloon.c | 2 | ||||
-rw-r--r-- | hw/virtio/virtio-blk-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-bus.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-crypto-pci.c | 2 | ||||
-rw-r--r-- | hw/virtio/virtio-crypto.c | 2 | ||||
-rw-r--r-- | hw/virtio/virtio-input-host-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-input-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-mmio.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-net-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-rng-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-rng.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-scsi-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-serial-pci.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio.c | 2 |
22 files changed, 24 insertions, 2 deletions
diff --git a/hw/virtio/vhost-scsi-pci.c b/hw/virtio/vhost-scsi-pci.c index 523f7cb3ce..95a1f32439 100644 --- a/hw/virtio/vhost-scsi-pci.c +++ b/hw/virtio/vhost-scsi-pci.c @@ -19,6 +19,7 @@ #include "standard-headers/linux/virtio_pci.h" #include "hw/virtio/vhost-scsi.h" #include "qapi/error.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VHostSCSIPCI VHostSCSIPCI; diff --git a/hw/virtio/vhost-user-blk-pci.c b/hw/virtio/vhost-user-blk-pci.c index ca66c217a7..ed81614d43 100644 --- a/hw/virtio/vhost-user-blk-pci.c +++ b/hw/virtio/vhost-user-blk-pci.c @@ -24,6 +24,7 @@ #include "hw/pci/pci.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VHostUserBlkPCI VHostUserBlkPCI; diff --git a/hw/virtio/vhost-user-scsi-pci.c b/hw/virtio/vhost-user-scsi-pci.c index 46f7193cc7..daeea77ce1 100644 --- a/hw/virtio/vhost-user-scsi-pci.c +++ b/hw/virtio/vhost-user-scsi-pci.c @@ -24,6 +24,7 @@ #include "hw/pci/pci.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/loader.h" diff --git a/hw/virtio/vhost-vsock-pci.c b/hw/virtio/vhost-vsock-pci.c index 6f43ca35fb..c06c9a83b9 100644 --- a/hw/virtio/vhost-vsock-pci.c +++ b/hw/virtio/vhost-vsock-pci.c @@ -15,6 +15,7 @@ #include "virtio-pci.h" #include "hw/virtio/vhost-vsock.h" +#include "qemu/module.h" typedef struct VHostVSockPCI VHostVSockPCI; diff --git a/hw/virtio/vhost-vsock.c b/hw/virtio/vhost-vsock.c index aa5af927e1..0371493197 100644 --- a/hw/virtio/vhost-vsock.c +++ b/hw/virtio/vhost-vsock.c @@ -20,6 +20,7 @@ #include "qemu/error-report.h" #include "hw/virtio/vhost-vsock.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "monitor/monitor.h" enum { diff --git a/hw/virtio/virtio-9p-pci.c b/hw/virtio/virtio-9p-pci.c index 7bf1130966..29c3712feb 100644 --- a/hw/virtio/virtio-9p-pci.c +++ b/hw/virtio/virtio-9p-pci.c @@ -17,6 +17,7 @@ #include "virtio-pci.h" #include "hw/9pfs/virtio-9p.h" +#include "qemu/module.h" /* * virtio-9p-pci: This extends VirtioPCIProxy. diff --git a/hw/virtio/virtio-balloon-pci.c b/hw/virtio/virtio-balloon-pci.c index 2a213bbb38..7393435a98 100644 --- a/hw/virtio/virtio-balloon-pci.c +++ b/hw/virtio/virtio-balloon-pci.c @@ -17,6 +17,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-balloon.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOBalloonPCI VirtIOBalloonPCI; diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 2112874055..11fad86d64 100644 --- a/hw/virtio/virtio-balloon.c +++ b/hw/virtio/virtio-balloon.c @@ -15,8 +15,8 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/timer.h" -#include "qemu-common.h" #include "hw/virtio/virtio.h" #include "hw/mem/pc-dimm.h" #include "sysemu/balloon.h" diff --git a/hw/virtio/virtio-blk-pci.c b/hw/virtio/virtio-blk-pci.c index 60c9185c39..d790b07a99 100644 --- a/hw/virtio/virtio-blk-pci.c +++ b/hw/virtio/virtio-blk-pci.c @@ -20,6 +20,7 @@ #include "hw/virtio/virtio-blk.h" #include "virtio-pci.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOBlkPCI VirtIOBlkPCI; diff --git a/hw/virtio/virtio-bus.c b/hw/virtio/virtio-bus.c index f9bc9ea46d..1d29a631f3 100644 --- a/hw/virtio/virtio-bus.c +++ b/hw/virtio/virtio-bus.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qapi/error.h" #include "hw/qdev.h" #include "hw/virtio/virtio-bus.h" diff --git a/hw/virtio/virtio-crypto-pci.c b/hw/virtio/virtio-crypto-pci.c index 13807e538b..c8a2317a10 100644 --- a/hw/virtio/virtio-crypto-pci.c +++ b/hw/virtio/virtio-crypto-pci.c @@ -11,6 +11,7 @@ * top-level directory. * */ + #include "qemu/osdep.h" #include "hw/pci/pci.h" #include "hw/virtio/virtio.h" @@ -18,6 +19,7 @@ #include "hw/virtio/virtio-pci.h" #include "hw/virtio/virtio-crypto.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIOCryptoPCI VirtIOCryptoPCI; diff --git a/hw/virtio/virtio-crypto.c b/hw/virtio/virtio-crypto.c index 9a9fa495d2..45187d3344 100644 --- a/hw/virtio/virtio-crypto.c +++ b/hw/virtio/virtio-crypto.c @@ -10,8 +10,10 @@ * (at your option) any later version. See the COPYING file in the * top-level directory. */ + #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/virtio/virtio-input-host-pci.c b/hw/virtio/virtio-input-host-pci.c index 124c4f3447..a82eb5d914 100644 --- a/hw/virtio/virtio-input-host-pci.c +++ b/hw/virtio/virtio-input-host-pci.c @@ -10,6 +10,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-input.h" +#include "qemu/module.h" typedef struct VirtIOInputHostPCI VirtIOInputHostPCI; diff --git a/hw/virtio/virtio-input-pci.c b/hw/virtio/virtio-input-pci.c index 28477729a3..1c40292abc 100644 --- a/hw/virtio/virtio-input-pci.c +++ b/hw/virtio/virtio-input-pci.c @@ -10,6 +10,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-input.h" +#include "qemu/module.h" typedef struct VirtIOInputPCI VirtIOInputPCI; typedef struct VirtIOInputHIDPCI VirtIOInputHIDPCI; diff --git a/hw/virtio/virtio-mmio.c b/hw/virtio/virtio-mmio.c index 96c762f0bf..97b7f35496 100644 --- a/hw/virtio/virtio-mmio.c +++ b/hw/virtio/virtio-mmio.c @@ -24,6 +24,7 @@ #include "hw/sysbus.h" #include "hw/virtio/virtio.h" #include "qemu/host-utils.h" +#include "qemu/module.h" #include "sysemu/kvm.h" #include "hw/virtio/virtio-bus.h" #include "qemu/error-report.h" diff --git a/hw/virtio/virtio-net-pci.c b/hw/virtio/virtio-net-pci.c index db07ab9e21..5df36f26bf 100644 --- a/hw/virtio/virtio-net-pci.c +++ b/hw/virtio/virtio-net-pci.c @@ -20,6 +20,7 @@ #include "hw/virtio/virtio-net.h" #include "virtio-pci.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIONetPCI VirtIONetPCI; diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 9056cdfa3c..e6d5467e54 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -23,6 +23,7 @@ #include "hw/pci/pci_bus.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/loader.h" diff --git a/hw/virtio/virtio-rng-pci.c b/hw/virtio/virtio-rng-pci.c index 6cc6374289..8aaf54b781 100644 --- a/hw/virtio/virtio-rng-pci.c +++ b/hw/virtio/virtio-rng-pci.c @@ -14,6 +14,7 @@ #include "virtio-pci.h" #include "hw/virtio/virtio-rng.h" #include "qapi/error.h" +#include "qemu/module.h" typedef struct VirtIORngPCI VirtIORngPCI; diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c index 30493a2586..db6d1d9454 100644 --- a/hw/virtio/virtio-rng.c +++ b/hw/virtio/virtio-rng.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "hw/qdev.h" #include "hw/virtio/virtio.h" #include "hw/virtio/virtio-rng.h" diff --git a/hw/virtio/virtio-scsi-pci.c b/hw/virtio/virtio-scsi-pci.c index 2830849729..f68f689aee 100644 --- a/hw/virtio/virtio-scsi-pci.c +++ b/hw/virtio/virtio-scsi-pci.c @@ -16,6 +16,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio-scsi.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VirtIOSCSIPCI VirtIOSCSIPCI; diff --git a/hw/virtio/virtio-serial-pci.c b/hw/virtio/virtio-serial-pci.c index 971b2eb8d8..ac74b44dae 100644 --- a/hw/virtio/virtio-serial-pci.c +++ b/hw/virtio/virtio-serial-pci.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/virtio/virtio-serial.h" +#include "qemu/module.h" #include "virtio-pci.h" typedef struct VirtIOSerialPCI VirtIOSerialPCI; diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 07f4a64b48..e1e90fcfd6 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -13,11 +13,11 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "cpu.h" #include "trace.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "hw/virtio/virtio.h" #include "qemu/atomic.h" #include "hw/virtio/virtio-bus.h" |