mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
44f1a3d876
commit
2431296806
2 changed files with 43 additions and 3 deletions
2
hw/hw.h
2
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue