VISRH – Basic commands

List of basic command to get started with Virsh

Connect to libvirtd

virsh --connect qemu:///system

Validation of xml file

virt-xml-validate vm_01.xml

 

VM name – vm_01

Running a virtual machine:

virsh start vm_01

Reboot the virtual machine:

virsh reboot vm_01

Virtual machine editing:

virsh edit vm_01

Information about the network interface of the virtual machine:

virsh domiflist vm_01

Tagged: Tags

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments