mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
savevm: Live migration handlers register the struct directly
Notice that the live migration users never unregister, so no problem about freeing the ops structure. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
22ea40f4ff
commit
7908c78d3e
6 changed files with 26 additions and 23 deletions
|
@ -50,10 +50,7 @@ int register_savevm_live(DeviceState *dev,
|
|||
const char *idstr,
|
||||
int instance_id,
|
||||
int version_id,
|
||||
SaveSetParamsHandler *set_params,
|
||||
SaveLiveStateHandler *save_live_state,
|
||||
SaveStateHandler *save_state,
|
||||
LoadStateHandler *load_state,
|
||||
SaveVMHandlers *ops,
|
||||
void *opaque);
|
||||
|
||||
void unregister_savevm(DeviceState *dev, const char *idstr, void *opaque);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue