[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]