aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-skeys.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-24 13:42:55 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-13 11:00:44 +0200
commitf2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733 (patch)
treebfdd952e9625505c963efb972eaf5a365e7cbbd9 /hw/s390x/s390-skeys.c
parentf8d806c992a89728a08b7bb005ffd9e75dac5653 (diff)
downloadqemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.zip
qemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.tar.gz
qemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.tar.bz2
migration: Split registration functions from vmstate.h
They are indpendent, and nowadays almost every device register things with qdev->vmsd. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@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 35e7f63..c0de3b0 100644
--- a/hw/s390x/s390-skeys.c
+++ b/hw/s390x/s390-skeys.c
@@ -15,6 +15,7 @@
#include "hw/s390x/storage-keys.h"
#include "qemu/error-report.h"
#include "sysemu/kvm.h"
+#include "migration/register.h"
#define S390_SKEYS_BUFFER_SIZE 131072 /* Room for 128k storage keys */
#define S390_SKEYS_SAVE_FLAG_EOS 0x01