[Libguestfs] [PATCH] Add support for Windows dynamic disks (libldm / ldmtool).

Richard W.M. Jones rjones at redhat.com
Mon Dec 10 11:24:37 UTC 2012


On Mon, Dec 10, 2012 at 09:27:20AM +0000, Matthew Booth wrote:
> On 07/12/12 16:28, Richard W.M. Jones wrote:
> >This is just an initial version of the patch, not to be
> >applied.  It implements just the diskgroup functions, ie.
> >corresponding to these ldmtool commands:
> >
> >* ldmtool scan
> >* ldmtool show diskgroup <guid>
> >
> >I have chosen yajl as the JSON parsing library (don't worry,
> >this is optional).  You will also, of course, need ldmtool
> >which is not packaged in anything except Fedora.
> 
> There's no need to parse JSON. Why aren't you using the C api?

Because I don't want the daemon to depend on gobject/glib.  In any
case parsing the JSON turns out to be not very complicated.

Rich.

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




More information about the Libguestfs mailing list