On Fri, Jun 3, 2011 at 18:07, Richard Laager <rlaager(a)wiktel.com> wrote:
On Fri, 2011-06-03 at 09:11 +0200, Matthias Bolte wrote:
> > It has probably something to do with this piece of code, in daemon/libvirtd.c:
I finally got back to looking at this, and that's what I discovered as
well. (I hadn't checked my email in the interim.)
I stopped it from dropping privileges and now libvirtd starts. Earlier,
when launching virsh (with no arguments), I think I got some errors
about localhost:8000.
I ignored that, as I'm really looking to test VirtualBox, which brings
me to this...
If I don't have the VirtualBox GUI running, virsh fails to connect:
/usr/local/bin/virsh -c vbox:///session
... hangs for 10 or so seconds ...
error: internal error nsIEventQueue object is null
error: failed to connect to the hypervisor
Same issue here, on OpenIndiana.
I expected libvirt to handle starting VirtualBox processes as
necessary.
It does.
How is this designed to work?
Without the GUI running:
ruben@osx ~]$ virsh -c vbox:///session start OpenIndiana
Domain OpenIndiana started
I expect it's a Solaris issue.
Cheers,
Ruben