On 11/28/2015 01:53 AM, Eric Blake wrote:
On 11/27/2015 08:15 AM, Chen Hanxiao wrote:
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
hmp-commands.hx | 14 ++++++++++++++
hmp.c | 5 +++++
hmp.h | 1 +
qmp.c | 5 +++++
4 files changed, 25 insertions(+)
Generally, adding a function in qmp.c is accompanied by an addition in
qapi-schema.json to expose the function via QMP.
Sure, I'll post v2 for this.
Regards,
- Chen