[Libguestfs] What are the advantages and disadvantages of running with or without libvirt?

Richard W.M. Jones rjones at redhat.com
Wed Jan 13 09:53:24 UTC 2016


On Tue, Jan 12, 2016 at 10:41:35PM +0200, Yaniv Kaul wrote:
> On Tue, Jan 12, 2016 at 10:01 PM, Richard W.M. Jones <rjones at redhat.com>
> wrote:
> 
> >  - libvirt is way more complex and fails much more frequently :-(
> >
> > It's unfortunately because of the last point that if libvirt fails to
> > start the qemu appliance, we print an error message telling you to try
> > with LIBGUESTFS_BACKEND=direct.
> >
> 
> 
> That was one of the motivations. You were hit by it too apparently (
> https://bugzilla.redhat.com/show_bug.cgi?id=1271183 ).

That's one of the bugs.

Coincidentally I conducted a test last night to quantify the incidence
of libvirt errors, and I'm going to post the results shortly.

Rich.

> I removed the connect line and set the environment variable and all looks
> good. I indeed don't see any much different performance difference.
> 
> Thanks!
> Y.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list