summaryrefslogtreecommitdiffstats
path: root/scsi
diff options
context:
space:
mode:
authorMarkus Armbruster2019-05-23 16:35:07 +0200
committerMarkus Armbruster2019-06-12 13:18:33 +0200
commit0b8fa32f551e863bb548a11394239239270dd3dc (patch)
tree5407f5eb794045d03eb5f817a4d2fc611524d057 /scsi
parentqemu-common: Move qemu_isalnum() etc. to qemu/ctype.h (diff)
downloadqemu-0b8fa32f551e863bb548a11394239239270dd3dc.tar.gz
qemu-0b8fa32f551e863bb548a11394239239270dd3dc.tar.xz
qemu-0b8fa32f551e863bb548a11394239239270dd3dc.zip
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 'scsi')
-rw-r--r--scsi/pr-manager-helper.c1
-rw-r--r--scsi/pr-manager.c1
-rw-r--r--scsi/qemu-pr-helper.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/scsi/pr-manager-helper.c b/scsi/pr-manager-helper.c
index 438380fced..ca27c93283 100644
--- a/scsi/pr-manager-helper.c
+++ b/scsi/pr-manager-helper.c
@@ -18,6 +18,7 @@
#include "io/channel-socket.h"
#include "pr-helper.h"
#include "qapi/qapi-events-block.h"
+#include "qemu/module.h"
#include <scsi/sg.h>
diff --git a/scsi/pr-manager.c b/scsi/pr-manager.c
index d9f4e8c3ad..ee43663576 100644
--- a/scsi/pr-manager.c
+++ b/scsi/pr-manager.c
@@ -18,6 +18,7 @@
#include "scsi/pr-manager.h"
#include "trace.h"
#include "qapi/qapi-types-block.h"
+#include "qemu/module.h"
#include "qapi/qapi-commands-block.h"
#define PR_MANAGER_PATH "/objects"
diff --git a/scsi/qemu-pr-helper.c b/scsi/qemu-pr-helper.c
index 2541fbbd1b..72acdc7527 100644
--- a/scsi/qemu-pr-helper.c
+++ b/scsi/qemu-pr-helper.c
@@ -37,9 +37,9 @@
#endif
#include "qapi/error.h"
-#include "qemu-common.h"
#include "qemu/cutils.h"
#include "qemu/main-loop.h"
+#include "qemu/module.h"
#include "qemu/error-report.h"
#include "qemu/config-file.h"
#include "qemu/bswap.h"