qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] qmp: introduce query-wakeup-from-suspend-su


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 1/3] qmp: introduce query-wakeup-from-suspend-support command
Date: Wed, 6 Dec 2017 08:26:56 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 12/06/2017 06:02 AM, Daniel Henrique Barboza wrote:
> When issuing the qmp/hmp 'system_wakeup' command, what happens in a
> nutshell is:
> 

> This patch implements a new QMP command called
> 'query-wakeup-from-suspend-support' that allows the caller to query
> if the guest supports wake up from suspend via system_wakeup. It
> goes over the subscribers of the wake up event and, if it's empty,
> it assumes that the guest does not support wake up from suspend
> (and thus, pm-suspend itself).
> 
> This is the expected output of the command when running a x86 guest:
> 
> {"execute" : "query-wakeup-from-suspend-support"}
> {"return": {"enabled": true}}

Do we really need a new command, or can we add it as an additional field
to an existing command (for example, in MachineInfo under
query-machines, or TargetInfo under query-target)?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]