aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorCam Macdonell <cam@cs.ualberta.ca>2010-07-26 18:11:00 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-08-10 16:25:15 -0500
commit2431296806bc7a40c29b7775e16f36dc1cda4d06 (patch)
treef9eb0b0f297036b754a64cf98582108ec3cd6b38 /hw
parent44f1a3d8765b19ee88ca493e8e13cefb6ee50cbe (diff)
downloadqemu-2431296806bc7a40c29b7775e16f36dc1cda4d06.zip
qemu-2431296806bc7a40c29b7775e16f36dc1cda4d06.tar.gz
qemu-2431296806bc7a40c29b7775e16f36dc1cda4d06.tar.bz2
Support marking a device as non-migratable
A non-migratable device should be removed before migration and re-added after. Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/hw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/hw.h b/hw/hw.h
index e3c3db2..4405092 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -264,6 +264,8 @@ int register_savevm_live(DeviceState *dev,
void *opaque);
void unregister_savevm(DeviceState *dev, const char *idstr, void *opaque);
+void register_device_unmigratable(DeviceState *dev, const char *idstr,
+ void *opaque);
typedef void QEMUResetHandler(void *opaque);