Re: Do I need to enable qemu-ga's guest-suspend: hybrid/suspend-ram/disk/shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux