Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

15.6. 保​​​​​​​存​​​​​​​虚​​​​​​​拟​​​​​​​机​​​​​​​

你​​​​​​​可​​​​​​​以​​​​​​​使​​​​​​​用​​​​​​​ virsh 来​​​​​​​把​​​​​​​虚​​​​​​​拟​​​​​​​机​​​​​​​的​​​​​​​当​​​​​​​前​​​​​​​状​​​​​​​态​​​​​​​保​​​​​​​存​​​​​​​到​​​​​​​一​​​​​​​个​​​​​​​文​​​​​​​件​​​​​​​里​​​​​​​:
virsh save [domain-name][domain-id | domain-uuid][filename]
This stops the virtual machine you specify and saves the data to a file, which may take some time given the amount of memory in use by your virtual machine. You can restore the state of the virtual machine with the restore option.