3 Select the hypervisor that should restore the virtual machine. On the local machine,
this is localhost.
4 In Virtual Machine Manager, click File > Restore Saved Machine from the drop-
down menu.
5 Specify the previously saved file.
6 Click Open.
The virtual machine and the guest operating system are restored to the previously
saved state.
Procedure 10.4 Restore a Virtual Machine's Current State (xm Command)
1 Make sure the virtual machine to be restored has not been started since you ran
the save operation.
2 In the host environment, enter xm restore state-file where
state-file is the previously saved memory state file.
10.3 Virtual Machine States
A virtual machine's state can be displayed in Virtual Machine Manager or by viewing
the results of the xm list command, which abbreviates the state using a single char-
acter.
• r - running - The virtual machine is currently running and consuming allocated
resources.
• b - blocked - The virtual machine's processor is not running and not able to run.
It is either waiting for I/O or has stopped working.
• p - paused - The virtual machine is paused. It does not interact with the hypervisor
but still maintains its allocated resources, such as memory.
• s - shutdown - The guest operating system is in the process of being shutdown,
rebooted, or suspended, and the virtual machine is being stopped.
Save and Restore of Virtual Machines
93