mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
savevm: add public save_vmstate function
This patch introduces save_vmstate function to allow saving and loading vmstates from the replay module. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20170124071741.4572.13714.stgit@PASHA-ISP> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1dfb1b2d34
commit
ac8c19ba74
2 changed files with 23 additions and 11 deletions
|
@ -74,6 +74,7 @@ void qemu_add_machine_init_done_notifier(Notifier *notify);
|
|||
void qemu_remove_machine_init_done_notifier(Notifier *notify);
|
||||
|
||||
void hmp_savevm(Monitor *mon, const QDict *qdict);
|
||||
int save_vmstate(Monitor *mon, const char *name);
|
||||
int load_vmstate(const char *name);
|
||||
void hmp_delvm(Monitor *mon, const QDict *qdict);
|
||||
void hmp_info_snapshots(Monitor *mon, const QDict *qdict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue