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
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users