<div dir="ltr">I was able to solve the error. It was a stupid mistake. There was a mismatch between versions of virsh and the libvirt daemon.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 3:56 PM, Michal Privoznik <span dir="ltr"><<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 17.06.2013 09:21, Nehal J. Wani wrote:<br>
> The error:<br>
> # ./tools/virsh qemu-agent-command f18<br>
> '{"execute":"guest-network-get-interfaces"}'<br>
> "error: unknown procedure: 3"<br>
><br>
> Comes when I clone from  $git clone git://<a href="http://libvirt.org/libvirt.git" target="_blank">libvirt.org/libvirt.git</a><br>
><br>
> But  when I download <a href="http://libvirt.org/sources/libvirt-1.0.6.tar.gz" target="_blank">http://libvirt.org/sources/libvirt-1.0.6.tar.gz</a><br>
> and make, I get:<br>
> # ./tools/virsh qemu-agent-command f18<br>
> '{"execute":"guest-network-get-interfaces"}'<br>
> (null)<br>
><br>
<br>
</div>Unfortunately, the patch which dispatches errors from qemu-agent-command has been submitted after the 1.0.6 release:<br>
<br>
commit 0eb2f8aa90d26e75ce5d9449da03bb553da85d2d<br>
Author:     Peter Krempa <<a href="mailto:pkrempa@redhat.com">pkrempa@redhat.com</a>><br>
AuthorDate: Mon Jun 3 16:12:52 2013 +0200<br>
Commit:     Peter Krempa <<a href="mailto:pkrempa@redhat.com">pkrempa@redhat.com</a>><br>
CommitDate: Mon Jun 3 17:25:33 2013 +0200<br>
<br>
    libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()<br>
<br>
    The original implementation didn't follow the established pattern and<br>
    did not dispatch errors in case of failure.<br>
<br>
So if you could try out building the libvirt from git and get the real error.<br>
Or if you want to use the 1.0.6 release, you'll find the error message in the libvirtd log.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Michal<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Nehal J. Wani<br>
UG2, BTech CS+MS(CL)<br>
IIIT-Hyderabad<div><a href="http://commanlinewani.blogspot.com" target="_blank">http://commanlinewani.blogspot.com</a></div></div>
</div>