[Libguestfs] [PATCH 3/4] tools: Use C API for inspection

Richard W.M. Jones rjones at redhat.com
Thu Oct 28 13:09:31 UTC 2010


On Thu, Oct 28, 2010 at 02:05:22PM +0100, Matthew Booth wrote:
> There are 2 parameters:
> 
> inspect_and_mount(readonly, allow_multiroot);

Unfortunately that won't work for virt-inspector where it'd have
to be something along the lines of:

inspect_and_mount ($readonly, $allow_multiroot,
		   $callback_for_each_mounted_root);

This is messy.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list