diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-24 13:42:55 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-06-13 11:00:44 +0200 |
commit | f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733 (patch) | |
tree | bfdd952e9625505c963efb972eaf5a365e7cbbd9 /hw/s390x | |
parent | f8d806c992a89728a08b7bb005ffd9e75dac5653 (diff) | |
download | qemu-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')
-rw-r--r-- | hw/s390x/s390-skeys.c | 1 | ||||
-rw-r--r-- | hw/s390x/s390-virtio-ccw.c | 1 |
2 files changed, 2 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 diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index a806345..41ca666 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -28,6 +28,7 @@ #include "ipl.h" #include "hw/s390x/s390-virtio-ccw.h" #include "hw/s390x/css-bridge.h" +#include "migration/register.h" static const char *const reset_dev_types[] = { TYPE_VIRTUAL_CSS_BRIDGE, |