[libvirt] [PATCH 2/2] virsh: display if ZFS storage backend is enabled

John Ferlan jferlan at redhat.com
Tue Feb 2 18:05:13 UTC 2016



On 01/02/2016 09:25 PM, Roman Bogorodskiy wrote:
> Make 'virsh -V' list ZFS storage backend if it's enabled.
> ---
>  tools/virsh.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Based on response in 1/2...

ACK

John

> diff --git a/tools/virsh.c b/tools/virsh.c
> index 7484bed..9118145 100644
> --- a/tools/virsh.c
> +++ b/tools/virsh.c
> @@ -631,6 +631,9 @@ virshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
>  #ifdef WITH_STORAGE_GLUSTER
>      vshPrint(ctl, " Gluster");
>  #endif
> +#ifdef WITH_STORAGE_ZFS
> +    vshPrint(ctl, " ZFS");
> +#endif
>      vshPrint(ctl, "\n");
>  
>      vshPrint(ctl, "%s", _(" Miscellaneous:"));
> 




More information about the libvir-list mailing list