[libvirt] Unable to setup qemu-guest-agent

Nehal J. Wani nehaljw.kkd1 at gmail.com
Mon Jun 17 11:19:50 UTC 2013


I was able to solve the error. It was a stupid mistake. There was a
mismatch between versions of virsh and the libvirt daemon.


On Mon, Jun 17, 2013 at 3:56 PM, Michal Privoznik <mprivozn at redhat.com>wrote:

> On 17.06.2013 09:21, Nehal J. Wani wrote:
> > The error:
> > # ./tools/virsh qemu-agent-command f18
> > '{"execute":"guest-network-get-interfaces"}'
> > "error: unknown procedure: 3"
> >
> > Comes when I clone from  $git clone git://libvirt.org/libvirt.git
> >
> > But  when I download http://libvirt.org/sources/libvirt-1.0.6.tar.gz
> > and make, I get:
> > # ./tools/virsh qemu-agent-command f18
> > '{"execute":"guest-network-get-interfaces"}'
> > (null)
> >
>
> Unfortunately, the patch which dispatches errors from qemu-agent-command
> has been submitted after the 1.0.6 release:
>
> commit 0eb2f8aa90d26e75ce5d9449da03bb553da85d2d
> Author:     Peter Krempa <pkrempa at redhat.com>
> AuthorDate: Mon Jun 3 16:12:52 2013 +0200
> Commit:     Peter Krempa <pkrempa at redhat.com>
> CommitDate: Mon Jun 3 17:25:33 2013 +0200
>
>     libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()
>
>     The original implementation didn't follow the established pattern and
>     did not dispatch errors in case of failure.
>
> So if you could try out building the libvirt from git and get the real
> error.
> Or if you want to use the 1.0.6 release, you'll find the error message in
> the libvirtd log.
>
>
> Michal
>



-- 
Nehal J. Wani
UG2, BTech CS+MS(CL)
IIIT-Hyderabad
http://commanlinewani.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130617/69581c2d/attachment-0001.htm>


More information about the libvir-list mailing list