[Libguestfs] [PATCH v2 1/2] daemon: add split_key_value_strings helper

Richard W.M. Jones rjones at redhat.com
Mon Oct 16 16:43:40 UTC 2017


On Mon, Oct 16, 2017 at 06:29:08PM +0200, Pino Toscano wrote:
> Yes, this is what patch #2 already does, in parse_os_release:
> 
> +     let values = split_key_value_strings ~unquote:shell_unquote lines in
> 
> simple_unquote is used for parse_lsb_release: I could not find any
> standard documentation for its format, and the examples I have have
> either no quoting, or double quoting.

Oh right, sorry I missed that.  I've ACKed the v3 version.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list