20.2. Displaying the virsh Version
The
virsh version
command displays the current libvirt version and displays information about the local virsh client. For example:
$ virsh version
Compiled against library: libvirt 1.2.8
Using library: libvirt 1.2.8
Using API: QEMU 1.2.8
Running hypervisor: QEMU 1.5.3
The
virsh version --daemon
is useful for getting information about the libvirtd
version and package information, including information about the libvirt daemon that is running on the host.
$ virsh version --daemon
Compiled against library: libvirt 1.2.8
Using library: libvirt 1.2.8
Using API: QEMU 1.2.8
Running hypervisor: QEMU 1.5.3
Running against daemon: 1.2.8