]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Show compiled in options in virsh -V
authorDaniel Veillard <veillard@redhat.com>
Mon, 8 Nov 2010 14:03:32 +0000 (15:03 +0100)
committerDaniel Veillard <veillard@redhat.com>
Tue, 9 Nov 2010 11:01:33 +0000 (12:01 +0100)
commit5879c15dfd4f46578e9cbd2f393d8021ab146022
tree088873c28d88cefefa6c426c963932a9e7a6c2c1
parentc60c450bc31644097f5a0db898eb854a09f5f571
Show compiled in options in virsh -V

  To ease debugging this trivial patch allows to find what was compiled
in in the local version of libvirt, this doesn't work for remote access
but that's probably sufficient. With the patch I get on my machine:

paphio:~/libvirt/tools -> ./virsh -V
Virsh command line tool of libvirt 0.8.4
See web site at http://libvirt.org/

Compiled with support for:
 Hypervisors: Xen QEmu/KVM UML OpenVZ LXC ESX PHYP Test
 Networking: Remote Daemon Network Bridging Netcf Nwfilter
 Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM
 Miscellaneous: SELinux Secrets Debug Readline
paphio:~/libvirt/tools ->

* tools/virsh.c: add -V option
* tools/virsh.pod: document the extension
tools/virsh.c
tools/virsh.pod