summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-skeys.c
diff options
context:
space:
mode:
authorJuan Quintela2017-04-24 13:42:55 +0200
committerJuan Quintela2017-06-13 11:00:44 +0200
commitf2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733 (patch)
treebfdd952e9625505c963efb972eaf5a365e7cbbd9 /hw/s390x/s390-skeys.c
parentmigration: Move self_announce_delay() to misc.h (diff)
downloadqemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.tar.gz
qemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.tar.xz
qemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.zip
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 35e7f6316f..c0de3b0c35 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