----- Original Message -----
From: "Michal Privoznik" <mprivozn(a)redhat.com>
To: "Praveen Kumar" <prkumar(a)redhat.com>
Cc: libvirt-users(a)redhat.com
Sent: Thursday, August 22, 2013 1:15:54 PM
Subject: Re: [libvirt-users] QemuAgentCommand API documents
The API you're looking for is the one you've found:
virDomainQemuAgentCommand. As the second argument it accepts qemu guest
agent commands described in [3]. I'd also recommend reading [4].
Thanks for command reference, I am able to figure out that along with libvirt,
libvirt_qemu also need to import because it will contain QmenuAgentCommand() function
definition, but now I am confuse about the parameters.
As per definition : def qemuAgentCommand(domain, cmd, timeout, flags), I passed below
parameteres:
domain : A active virDomain object
command : 'guest-info'
timeout : 10
flags : 0
But it's raise libvirt.libvirtError('virDomainQemuAgentCommand() failed')
In function documentation it's not clearly mention about types of parameters need to
pass.
Any Idea/Suggestions?
--
Praveen Kumar