diff options
| author | Cam Macdonell <cam@cs.ualberta.ca> | 2010-07-26 18:11:00 -0600 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-08-10 16:25:15 -0500 |
| commit | 2431296806bc7a40c29b7775e16f36dc1cda4d06 (patch) | |
| tree | f9eb0b0f297036b754a64cf98582108ec3cd6b38 /hw | |
| parent | 44f1a3d8765b19ee88ca493e8e13cefb6ee50cbe (diff) | |
| download | focaccia-qemu-2431296806bc7a40c29b7775e16f36dc1cda4d06.tar.gz focaccia-qemu-2431296806bc7a40c29b7775e16f36dc1cda4d06.zip | |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/hw.h b/hw/hw.h index e3c3db27f3..4405092b54 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); |