[Libguestfs] [PATCH 0/2] Two small fixes to command*() functions in the daemon

Richard W.M. Jones rjones at redhat.com
Fri Nov 6 17:33:49 UTC 2009


The command*() functions are sane wrappers we use in the daemon to run
external commands, and therefore very important.  These two patches
enhance these functions in useful ways.

(Note these are an internal interface which we can change at any
time).

The first patch adds variations which take a flags parameter, and
implements a useful flag (for dealing with parted).

The second patch stops command*() from eating stderr when the stderror
parameter is NULL and we're in debug mode.  Currently vital logging
and error information is being lost in certain circumstances, and this
patch resolves this.

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