Well, it was a good idea, but the patch doesn't work. Apparently
along their open paths, drivers don't set errors in the newly created
handle, but in the global handler instead (hence the errors still get
printed to stderr).
How much I hate virterror ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org