libvirtThe save operation preserves the exact state of the virtual machine’s memory. The operation is slightly similar to hibernating a computer. The virtual machine is off, but it can be quickly restored to its previously saved running condition. The operation does not make a copy of any portion of the virtual machine’s virtual disk.
When saved, the virtual machine is paused, its current memory state saved to a location you specify, and then the virtual machine is stopped. The amount of time taken to save the virtual machine depends on the amount of memory allocated. When saved, a virtual machine’s memory is returned to the pool of memory available on the host.
The restore operation is used to return a saved virtual machine to its original running state.
After using the save operation, do not boot, start, or run a virtual machine that you intend to restore. If the virtual machine is at any time restarted before it is restored, the saved memory state file becomes invalid and should not be used to restore.
Make sure the virtual machine to be saved is running.
Select the virtual machine.
Click to view the virtual machine console, then to view virtual machine information.
Select › › from the menu.
Name and save the file.
The restore operation loads a virtual machine’s previously saved memory state file and starts the virtual machine. The virtual machine does not boot the operating system but resumes at the point where it was previously saved. The operation is slightly similar to coming out of hibernation.
After using the save operation, do not boot, start, or run the virtual machine you intend to restore. If the virtual machine is at any time restarted before it is restored, the saved memory state file becomes invalid and should not be used to restore.
Make sure the virtual machine to be restored has not been started since you ran the save operation.
Run the Virtual Machine Manager.
Select the hypervisor and connection used to restore the virtual
machine. On the local machine, this is
localhost. Right-click it and choose
from the context menu.
In the window, choose › from the drop-down box.
Specify the previously saved file.
Click .
The virtual machine and the guest operating system are restored to the previously saved state.