]> git.proxmox.com Git - qemu-server.git/commit
implement suspend to disk for running vms
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 14 Mar 2019 16:04:47 +0000 (17:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Mar 2019 07:53:14 +0000 (08:53 +0100)
commit159719e55b0e84ec91c72b051adc44a7cb52662c
tree84c08f0f6fc271384d59c4598b122c8d4c1b5418
parent566caaa4f11a0327c62fadb8b63c53a4346fc0b0
implement suspend to disk for running vms

the idea is to have the same logic as with snapshots, but without
the snapshotting of the disks, and after saving the vm state (incl memory),
we hard shut off the guest.

this way the disks will not be touched anymore by the guest

to prevent any alteration of the vm (incl migration, hw changes, etc) we
add a config lock 'suspend'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuConfig.pm
PVE/QemuServer.pm