From 2837c8ea1f10c281c9ff68f397405f3596f8ce0b Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 8 Jul 2011 10:44:35 +0200 Subject: 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 --- hw/hw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/hw.h') diff --git a/hw/hw.h b/hw/hw.h index 9dd7096fc2..df6ca65058 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -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; -- cgit v1.2.3