[Libvir] Use virsh to monitor qemud

Fabian Deutsch fabian.deutsch at gmx.de
Sun Jun 3 16:00:07 UTC 2007


Am Sonntag, den 03.06.2007, 14:40 +0100 schrieb Richard W.M. Jones:
> Fabian Deutsch wrote:
> > Hey,
> > 
> > I jsut installed Fedora 7 and tried to install some guests and it worked
> > like a charm. I use qemu for full virtulization.
> > 
> > A couple of minutes later i stumbled across libvirts virtsh. But now I
> > wonder how I cna use virtsh to connect to qemud - all I get is something
> > like: "Can't connect to hyperisor."
> Fabian,
> Currently the way things work is that libvirt_qemud needs to be 
> "managing" the qemu instances which are running.  It needs to have 
> started them, it needs to be still connected to their consoles.
> However your error message is a bit different, and seems to indicate 
> that virsh is either trying to connect to the Xen hypervisor or cannot 
> connect to libvirt_qemud.  It's hard to know because you need to post a 
> lot more detail about what you're doing -- the exact virsh command you 
> are typing, for example.  You could also try stracing the virsh process 
> to see what is failing.

I just typed 

virtsh -c qemu:// list

libvirt_qemud was running. So my only problem was the wrong URI.

- fabian

More information about the libvir-list mailing list