summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-08-18 13:43:42 +0200
committerCornelia Huck <cohuck@redhat.com>2017-08-30 18:23:25 +0200
commite654ca84b6c39678f5d1478de6662920976e21dd (patch)
tree8a707dbac92a7c2f8686a6632937a66e6a4d47ce
parent7d00bf94dfa41d0d5759cc3ebe02b66a780c5789 (diff)
s390x: drop inclusion of sysemu/kvm.h from some files
s390-stattrib.c needs definition of TARGET_PAGE_SIZE, solve it via cpu.h. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170818114353.13455-8-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
-rw-r--r--hw/s390x/s390-stattrib.c2
-rw-r--r--hw/s390x/sclp.c1
-rw-r--r--hw/s390x/sclpcpu.c1
-rw-r--r--target/s390x/arch_dump.c1
4 files changed, 1 insertions, 4 deletions
diff --git a/hw/s390x/s390-stattrib.c b/hw/s390x/s390-stattrib.c
index d14923f099..14a02711a2 100644
--- a/hw/s390x/s390-stattrib.c
+++ b/hw/s390x/s390-stattrib.c
@@ -11,12 +11,12 @@
#include "qemu/osdep.h"
#include "hw/boards.h"
+#include "cpu.h"
#include "qmp-commands.h"
#include "migration/qemu-file.h"
#include "migration/register.h"
#include "hw/s390x/storage-attributes.h"
#include "qemu/error-report.h"
-#include "sysemu/kvm.h"
#include "exec/ram_addr.h"
#include "qapi/error.h"
diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c
index ffdf4712a1..fd097262c7 100644
--- a/hw/s390x/sclp.c
+++ b/hw/s390x/sclp.c
@@ -15,7 +15,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "cpu.h"
-#include "sysemu/kvm.h"
#include "exec/memory.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h"
diff --git a/hw/s390x/sclpcpu.c b/hw/s390x/sclpcpu.c
index b1f3ef8c7d..023d059a46 100644
--- a/hw/s390x/sclpcpu.c
+++ b/hw/s390x/sclpcpu.c
@@ -18,7 +18,6 @@
#include "hw/s390x/event-facility.h"
#include "cpu.h"
#include "sysemu/cpus.h"
-#include "sysemu/kvm.h"
typedef struct ConfigMgtData {
EventBufferHeader ebh;
diff --git a/target/s390x/arch_dump.c b/target/s390x/arch_dump.c
index 96c9fb97cb..399030d118 100644
--- a/target/s390x/arch_dump.c
+++ b/target/s390x/arch_dump.c
@@ -16,7 +16,6 @@
#include "elf.h"
#include "exec/cpu-all.h"
#include "sysemu/dump.h"
-#include "sysemu/kvm.h"
struct S390xUserRegsStruct {