Pause QEMU/KVM VM (save RAM and CPU state to disk) like vmware Player

kvmlibvirtqemuvirtual machine

Is it possible to save the state of a virtual machine under QEMU/KVM/libvirt (on x86-64) to disk like you can on vmware Player, that means:

  • The RAM and CPU/system state is save to disk
  • The OS is stopped from the outside (no suspend to disk within the VM)
  • The VM can be continued after rebooting the host?

If it is possible, would it need special drivers within the VM? Which one for Linux and Windows 7 guests?

Best Answer

The virt-manager window has a feature "shut down" -> "save".

Additional drivers are not required. I think the obvious bad thing happens with system time inside the guest. I don't know if there are guest drivers available to let the clock catch up.

Related Question