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

Re: [Libguestfs] [PATCH] Add MD devices to guestfish device autocompletion



On Mon, Nov 21, 2011 at 01:51:47PM +0000, Matthew Booth wrote:
> ---
>  fish/destpaths.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 

> diff --git a/fish/destpaths.c b/fish/destpaths.c
> index c7b9dc5..f3cf0f2 100644
> --- a/fish/destpaths.c
> +++ b/fish/destpaths.c
> @@ -158,6 +158,9 @@ complete_dest_paths_generator (const char *text, int state)
>  
>        strs = guestfs_list_dm_devices (g);
>        APPEND_STRS_AND_FREE;
> +
> +      strs = guestfs_list_md_devices (g);
> +      APPEND_STRS_AND_FREE;
>      }
>  
>      if (len < 1 || text[0] == '/') {

ACK.

I'll push it later today.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


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