summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-skeys.c
diff options
context:
space:
mode:
authorPaolo Bonzini2015-12-04 12:06:26 +0100
committerPaolo Bonzini2016-05-19 16:42:28 +0200
commitbd3f16ac302e3fad85464d08c207ab9d00233d04 (patch)
treecce95d18f67168e5b5a62aebfd64521fc7ec3439 /hw/s390x/s390-skeys.c
parentdma: do not depend on kvm_enabled() (diff)
downloadqemu-bd3f16ac302e3fad85464d08c207ab9d00233d04.tar.gz
qemu-bd3f16ac302e3fad85464d08c207ab9d00233d04.tar.xz
qemu-bd3f16ac302e3fad85464d08c207ab9d00233d04.zip
s390x: reorganize CSS bits between cpu.h and other headers
Move cpu_inject_* to the only C file where they are used. Move ioinst.h declarations that need S390CPU to cpu.h, to make ioinst.h independent of cpu.h. Move channel declarations that only need SubchDev from cpu.h to css.h, to make more channel users independent of cpu.h. Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390x/s390-skeys.c')
-rw-r--r--hw/s390x/s390-skeys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-skeys.c b/hw/s390x/s390-skeys.c
index 6528ffed17..d772cfc7ea 100644
--- a/hw/s390x/s390-skeys.c
+++ b/hw/s390x/s390-skeys.c
@@ -15,6 +15,7 @@
#include "migration/qemu-file.h"
#include "hw/s390x/storage-keys.h"
#include "qemu/error-report.h"
+#include "sysemu/kvm.h"
#define S390_SKEYS_BUFFER_SIZE 131072 /* Room for 128k storage keys */
#define S390_SKEYS_SAVE_FLAG_EOS 0x01