[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 02/53] vfio: Include "exec/address-spaces.h" directly
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 02/53] vfio: Include "exec/address-spaces.h" directly in the source file |
Date: |
Thu, 31 May 2018 19:12:02 +0200 |
From: Philippe Mathieu-Daudé <address@hidden>
No declaration of "hw/vfio/vfio-common.h" directly requires to include
the "exec/address-spaces.h" header. To simplify dependencies and
ease the upcoming cleanup of "exec/address-spaces.h", directly include
it in the source file where the declaration are used.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/vfio/ccw.c | 1 +
hw/vfio/platform.c | 1 +
include/hw/vfio/vfio-common.h | 1 -
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
index e67392c5f9..76e4e8c652 100644
--- a/hw/vfio/ccw.c
+++ b/hw/vfio/ccw.c
@@ -22,6 +22,7 @@
#include "hw/vfio/vfio-common.h"
#include "hw/s390x/s390-ccw.h"
#include "hw/s390x/ccw-device.h"
+#include "exec/address-spaces.h"
#include "qemu/error-report.h"
#define TYPE_VFIO_CCW "vfio-ccw"
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
index 5c921c27ba..57c4a0ee2b 100644
--- a/hw/vfio/platform.c
+++ b/hw/vfio/platform.c
@@ -24,6 +24,7 @@
#include "qemu/range.h"
#include "sysemu/sysemu.h"
#include "exec/memory.h"
+#include "exec/address-spaces.h"
#include "qemu/queue.h"
#include "hw/sysbus.h"
#include "trace.h"
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index d9360148e6..8264a65fa5 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -22,7 +22,6 @@
#define HW_VFIO_VFIO_COMMON_H
#include "qemu-common.h"
-#include "exec/address-spaces.h"
#include "exec/memory.h"
#include "qemu/queue.h"
#include "qemu/notify.h"
--
2.17.0
- [Qemu-devel] [PULL 00/53] Misc patches for 2018-05-31, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 03/53] accel: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 02/53] vfio: Include "exec/address-spaces.h" directly in the source file,
Paolo Bonzini <=
- [Qemu-devel] [PULL 05/53] memory: Do not include "exec/ioport.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 01/53] sandbox: disable -sandbox if CONFIG_SECCOMP undefined, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 04/53] target: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 06/53] target/i386: Do not include "exec/ioport.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 07/53] target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 08/53] target/ppc: Include "exec/exec-all.h" which provides tlb_flush(), Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 09/53] target/hppa: Include "qemu/log.h" to use qemu_log(), Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 13/53] hw: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 15/53] hw: Do not include "sysemu/blockdev.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 16/53] hw: Do not include "sysemu/blockdev.h" if it is not necessary, Paolo Bonzini, 2018/05/31