Virsh can enter the command line interactive interface
Virsh list shows all virtual machine instances
#virt-manager & Start graphical interface to create
Virsh start C1--console starting and connecting the console
Virsh Console C1 Connection Console
Each created virtual opportunity creates a file at the end of the. XML under/etc/libvirt/qemu/
You can copy this file and then modify it to create a new instance.
#virsh Define/root/test.xml Create
Virsh Save C2/tmp/c2.img to File
Virsh restore/tmp/c2.img Recovery
Hot-swappable Add a piece of disk:
Qemu-img create-f Qcow2-o Preallocation=metadata,size=10g/vms/cirros/newdisk.qcow2 emulated disk files
Virsh attch-disk c2/vms/cirros/newdisk.qcow2 vdb Add disk
Virsh domblklist C2 List devices
Virsh Detach-disk C2 VDB Demolition
Card
Virsh domiflist NIC Interface display
Virsh domiflist C2 View virtual machine existing bridge
Virsh attach-interface C2 Bridge br0 Add a network port
Virsh detach-interface C2 Bridge--mac 52:54:-------Demolition
The graphical management tools are:
Kimchi: Web interface based on H5 research and development
Openstack:
Ovirt
Kvm-virsh Management Tools