[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] [libvirt-users] Do I need to enable qemu-ga's guest-s
Re: [Qemu-discuss] [libvirt-users] Do I need to enable qemu-ga's guest-suspend: hybrid/suspend-ram/disk/shutdown?
Mon, 10 Aug 2015 21:48:20 -0600
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
On 08/10/2015 07:16 PM, james harvey wrote:
> How do I "enable" qemu-ga on a guest to be able to (I think this means have
> a success-response:true) for: guest-suspend-hybrid; guest-suspend-ram;
> guest-suspend-disk; and guest-shutdown?
"success-response":false has nothing to do with whether a guest-agent
command is enabled, but rather whether you should expect a response from
the agent itself when the command succeeds. For these commands, the
answer is no, you do not get a response from the guest agent, because
the action performed by the guest has shut things down to the point that
it cannot reply; instead, to learn if the command was successful, you
must listen to the ordinary QMP monitor for an event notification
corresponding to the change in guest state.
Libvirt already handles this interaction correctly.
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Description: OpenPGP digital signature