[pve-devel] [PATCH qemu-server 0/5] implement suspend to disk
Dominik Csapak
d.csapak at proxmox.com
Mon Mar 11 15:45:49 CET 2019
implement suspend to disk for vms
the idea is the following:
add a 'suspend' lock
halt execution of the vm
save the vmstate to a file/disk/etc.
hard poweroff the vm (qmp quit)
on the next start check for 'suspend' lock
resume from saved state
the lock prevents any changes to the vm that would prevent a resume
(config change, migration, etc)
this series makes the most sense with my series[0] to show the lock in the
tree, since then the user sees which vms are suspended
also i will send a series that includes the lock in the vm status,
so we can show it in the vm summary also
0: https://pve.proxmox.com/pipermail/pve-devel/2019-February/035830.html
Dominik Csapak (5):
move code of save_vmstate preparation
correct comment about size
implement suspend to disk for running vms
resume suspended vm on start
add ability to suspend a vm to disk from the api
PVE/API2/Qemu.pm | 10 ++++-
PVE/QemuConfig.pm | 30 +-------------
PVE/QemuServer.pm | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 123 insertions(+), 33 deletions(-)
--
2.11.0
More information about the pve-devel
mailing list