|
|
0a122b |
From faf00a8c4d41c4927d8f296288b8fb5e80b1292c Mon Sep 17 00:00:00 2001
|
|
|
0a122b |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
0a122b |
Date: Wed, 11 Dec 2013 09:36:11 +0100
|
|
|
0a122b |
Subject: [PATCH 02/16] __com.redhat_qxl_screendump: add docs
|
|
|
0a122b |
|
|
|
0a122b |
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
0a122b |
Message-id: <1386754571-21520-2-git-send-email-kraxel@redhat.com>
|
|
|
0a122b |
Patchwork-id: 56149
|
|
|
0a122b |
O-Subject: [RHEL-7 qemu-kvm PATCH 1/1] __com.redhat_qxl_screendump: add docs
|
|
|
0a122b |
Bugzilla: 903910
|
|
|
0a122b |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Juan Quintela <quintela@redhat.com>
|
|
|
0a122b |
|
|
|
0a122b |
$subject says all.
|
|
|
0a122b |
Patch by armbru, thanks.
|
|
|
0a122b |
|
|
|
0a122b |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
hmp-commands.hx | 13 ++++++++++---
|
|
|
0a122b |
qmp-commands.hx | 19 ++++++++++++++-----
|
|
|
0a122b |
2 files changed, 24 insertions(+), 8 deletions(-)
|
|
|
0a122b |
|
|
|
0a122b |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
hmp-commands.hx | 13 ++++++++++---
|
|
|
0a122b |
qmp-commands.hx | 19 ++++++++++++++-----
|
|
|
0a122b |
2 files changed, 24 insertions(+), 8 deletions(-)
|
|
|
0a122b |
|
|
|
0a122b |
diff --git a/hmp-commands.hx b/hmp-commands.hx
|
|
|
0a122b |
index bfb565b..8e08ebf 100644
|
|
|
0a122b |
--- a/hmp-commands.hx
|
|
|
0a122b |
+++ b/hmp-commands.hx
|
|
|
0a122b |
@@ -243,6 +243,13 @@ ETEXI
|
|
|
0a122b |
.help = "save screen into PPM image 'filename'",
|
|
|
0a122b |
.mhandler.cmd = hmp_screen_dump,
|
|
|
0a122b |
},
|
|
|
0a122b |
+
|
|
|
0a122b |
+STEXI
|
|
|
0a122b |
+@item screendump @var{filename}
|
|
|
0a122b |
+@findex screendump
|
|
|
0a122b |
+Save screen into PPM image @var{filename}.
|
|
|
0a122b |
+ETEXI
|
|
|
0a122b |
+
|
|
|
0a122b |
{
|
|
|
0a122b |
.name = "__com.redhat_qxl_screendump",
|
|
|
0a122b |
.args_type = "id:s,filename:F",
|
|
|
0a122b |
@@ -252,9 +259,9 @@ ETEXI
|
|
|
0a122b |
},
|
|
|
0a122b |
|
|
|
0a122b |
STEXI
|
|
|
0a122b |
-@item screendump @var{filename}
|
|
|
0a122b |
-@findex screendump
|
|
|
0a122b |
-Save screen into PPM image @var{filename}.
|
|
|
0a122b |
+@item __com.redhat_screendump @var{id} @var{filename}
|
|
|
0a122b |
+@findex __com.redhat_screendump
|
|
|
0a122b |
+Save screen from qxl device @var{id} into PPM image @var{filename}.
|
|
|
0a122b |
ETEXI
|
|
|
0a122b |
|
|
|
0a122b |
{
|
|
|
0a122b |
diff --git a/qmp-commands.hx b/qmp-commands.hx
|
|
|
0a122b |
index f6fae33..7a1bfd4 100644
|
|
|
0a122b |
--- a/qmp-commands.hx
|
|
|
0a122b |
+++ b/qmp-commands.hx
|
|
|
0a122b |
@@ -231,11 +231,6 @@ EQMP
|
|
|
0a122b |
.args_type = "filename:F",
|
|
|
0a122b |
.mhandler.cmd_new = qmp_marshal_input_screendump,
|
|
|
0a122b |
},
|
|
|
0a122b |
- {
|
|
|
0a122b |
- .name = "__com.redhat_qxl_screendump",
|
|
|
0a122b |
- .args_type = "id:s,filename:F",
|
|
|
0a122b |
- .mhandler.cmd_new = qmp_marshal_input___com_redhat_qxl_screendump,
|
|
|
0a122b |
- },
|
|
|
0a122b |
|
|
|
0a122b |
SQMP
|
|
|
0a122b |
screendump
|
|
|
0a122b |
@@ -255,6 +250,20 @@ Example:
|
|
|
0a122b |
EQMP
|
|
|
0a122b |
|
|
|
0a122b |
{
|
|
|
0a122b |
+ .name = "__com.redhat_qxl_screendump",
|
|
|
0a122b |
+ .args_type = "id:s,filename:F",
|
|
|
0a122b |
+ .mhandler.cmd_new = qmp_marshal_input___com_redhat_qxl_screendump,
|
|
|
0a122b |
+ },
|
|
|
0a122b |
+
|
|
|
0a122b |
+SQMP
|
|
|
0a122b |
+__com.redhat_qxl_screendump
|
|
|
0a122b |
+---------------------------
|
|
|
0a122b |
+
|
|
|
0a122b |
+Save screen from qxl device @var{id} into PPM image @var{filename}.
|
|
|
0a122b |
+
|
|
|
0a122b |
+EQMP
|
|
|
0a122b |
+
|
|
|
0a122b |
+ {
|
|
|
0a122b |
.name = "stop",
|
|
|
0a122b |
.args_type = "",
|
|
|
0a122b |
.mhandler.cmd_new = qmp_marshal_input_stop,
|
|
|
0a122b |
--
|
|
|
0a122b |
1.7.1
|
|
|
0a122b |
|