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