diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-08 10:44:35 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 09:23:33 +0200 |
commit | 2837c8ea1f10c281c9ff68f397405f3596f8ce0b (patch) | |
tree | aab0c8f17e3b40824a419fd9c3e50f25e98d376e /hw/hw.h | |
parent | 03ff09580ef6cbc4a893b6e3e6bbff33180ec70a (diff) | |
download | qemu-2837c8ea1f10c281c9ff68f397405f3596f8ce0b.zip qemu-2837c8ea1f10c281c9ff68f397405f3596f8ce0b.tar.gz qemu-2837c8ea1f10c281c9ff68f397405f3596f8ce0b.tar.bz2 |
vmstate: add no_migrate flag to VMStateDescription
This allows to easily tag devices as non-migratable,
so any attempt to migrate a virtual machine with the
device in question active will make migration fail.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/hw.h')
-rw-r--r-- | hw/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -324,6 +324,7 @@ typedef struct VMStateSubsection { struct VMStateDescription { const char *name; + int unmigratable; int version_id; int minimum_version_id; int minimum_version_id_old; |