What are the basic operations of kvm virtual machine
Editor to share with you what the basic operation of the kvm virtual machine, I believe that most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
1 create a snapshot for test01
Virsh snapshot-create-as test01 snap1
two。 Restore snapshot to snap1
Virsh snapshot-list test-script / / display snapshot information
Virsh snapshot-revert test-script snap1 / / restore snapshot to snap1
Virsh snapshot-current test-script / / confirm whether the snapshot is restored
3.kvm virtual machine operation
Virsh list lists the current virtual machines, excluding those that are not started
Virsh list-- all lists all virtual machines, including all defined virtual machines
Virsh destroy vm-name shuts down the virtual machine
Virsh start vm-name starts the virtual machine
Virsh reboot vm-name restart the virtual machine
Virsh autostart vm-name virtual machine starts with homestay
These are all the contents of the article "what are the basic operations of the kvm virtual machine". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!