Rate This Document
Findability
Accuracy
Completeness
Readability

Common Commands

Command

Description

virsh list --all

Queries information about all VMs.

virsh undefine vm2

Deletes VM vm2.

virsh vol-delete --pool StoragePool --vol 2.img

Delete volume 2.img from storage pool StoragePool.

virsh pool-destroy StoragePool

virsh pool-delete StoragePool

virsh pool-undefine StoragePool

Deletes storage pool StoragePool.

brctl addbr br1

Creates a network bridge. br1 indicates the name of the network bridge.

brctl addif br1 eth0

Adds network port eth0 to bridge br1.

ifconfig br1 192.168.1.100

Configures the IP address of network bridge br1.