[libvirt] [PATCH v2] show compiled in options in virsh --version

Eric Blake eblake at redhat.com
Mon Nov 8 15:26:18 UTC 2010


On 11/05/2010 11:20 AM, Daniel Veillard wrote:
>   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 ->

> 
> +++ b/tools/virsh.c
> @@ -11525,6 +11525,7 @@ vshUsage(void)
>                        "    -t | --timing           print timing information\n"
>                        "    -l | --log <file>       output logging to file\n"
>                        "    -v | --version          program version\n\n"
> +                      "    -V                      version and full options\n\n"

In general, it's nice to have a long-option to go with every short
option, but I don't think it's worth holding up this patch for just that.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101108/a2f00571/attachment-0001.sig>


More information about the libvir-list mailing list