[libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
Could anyone please list out the steps required to run the command $virsh qemu-agent-command Steps that I followed: 1. Clone the latest source code of libvirt 2. Create a vm of f18 (source:liveCD) 3. Edit f18 domain xml and add this: channel type='unix' source mode='bind'

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Osier Yang
On 17/06/13 14:00, Nehal J. Wani wrote: Could anyone please list out the steps required to run the command $virsh qemu-agent-command Steps that I followed: 1. Clone the latest source code of libvirt 2. Create a vm of f18 (source:liveCD) 3. Edit f18 domain xml and add this: channel type='unix'

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
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

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Michal Privoznik
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

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
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 mpriv...@redhat.comwrote: On 17.06.2013 09:21, Nehal J. Wani wrote: The error: # ./tools/virsh qemu-agent-command