summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-07-29 09:39:37 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-29 09:39:37 -0500
commite374560232776d4141866abc9f520c132b394926 (patch)
tree3a6eb078cb127fe8fc82422c8ce09e77d5983835 /savevm.c
parentc62f6d1d76aea587556c85b6b7b5c44167006264 (diff)
parent98e51ec92e678cf0e501b5ef013753ec8710e222 (diff)
downloadqemu-e374560232776d4141866abc9f520c132b394926.tar.gz
Merge remote-tracking branch 'kraxel/migration.2' into staging
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/savevm.c b/savevm.c
index 79db4cbd18..7801aa7056 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1234,6 +1234,7 @@ int vmstate_register_with_alias_id(DeviceState *dev, int instance_id,
se->opaque = opaque;
se->vmsd = vmsd;
se->alias_id = alias_id;
+ se->no_migrate = vmsd->unmigratable;
if (dev && dev->parent_bus && dev->parent_bus->info->get_dev_path) {
char *id = dev->parent_bus->info->get_dev_path(dev);