Patchwork [4/4] qmp: qmp-events.txt: add missing doc for the SUSPEND event

login
register
mail settings
Submitter Luiz Capitulino
Date Aug. 9, 2012, 5:28 p.m.
Message ID <1344533300-6422-5-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/176200/
State New
Headers show

Comments

Luiz Capitulino - Aug. 9, 2012, 5:28 p.m.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 QMP/qmp-events.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Eric Blake - Aug. 9, 2012, 7:56 p.m.
On 08/09/2012 11:28 AM, Luiz Capitulino wrote:
> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
> ---
>  QMP/qmp-events.txt | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
> index e37a04e..2001a71 100644
> --- a/QMP/qmp-events.txt
> +++ b/QMP/qmp-events.txt
> @@ -240,6 +240,18 @@ Example:
>  { "event": "STOP",
>      "timestamp": { "seconds": 1267041730, "microseconds": 281295 } }
>  
> +SUSPEND
> +-------
> +
> +Emitted when guest enters S3 state.
> +
> +Data: None.
> +
> +Example:
> +
> +{ "event": "SUSPEND",
> +     "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
> +
>  VNC_CONNECTED
>  -------------
>  
>

Patch

diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
index e37a04e..2001a71 100644
--- a/QMP/qmp-events.txt
+++ b/QMP/qmp-events.txt
@@ -240,6 +240,18 @@  Example:
 { "event": "STOP",
     "timestamp": { "seconds": 1267041730, "microseconds": 281295 } }
 
+SUSPEND
+-------
+
+Emitted when guest enters S3 state.
+
+Data: None.
+
+Example:
+
+{ "event": "SUSPEND",
+     "timestamp": { "seconds": 1344456160, "microseconds": 309119 } }
+
 VNC_CONNECTED
 -------------