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

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



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


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