|
|
d81766 |
From b66f73309f32d04ca63d49afc4aaa1338e77b22d Mon Sep 17 00:00:00 2001
|
|
|
d81766 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
d81766 |
Date: Wed, 11 Dec 2013 09:36:11 +0100
|
|
|
d81766 |
Subject: __com.redhat_qxl_screendump: add docs
|
|
|
d81766 |
|
|
|
d81766 |
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
d81766 |
Message-id: <1386754571-21520-2-git-send-email-kraxel@redhat.com>
|
|
|
d81766 |
Patchwork-id: 56149
|
|
|
d81766 |
O-Subject: [RHEL-7 qemu-kvm PATCH 1/1] __com.redhat_qxl_screendump: add docs
|
|
|
d81766 |
Bugzilla: 903910
|
|
|
d81766 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
d81766 |
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
|
|
|
d81766 |
RH-Acked-by: Juan Quintela <quintela@redhat.com>
|
|
|
d81766 |
|
|
|
d81766 |
$subject says all.
|
|
|
d81766 |
Patch by armbru, thanks.
|
|
|
d81766 |
|
|
|
d81766 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
d81766 |
|
|
|
d81766 |
diff --git a/hmp-commands.hx b/hmp-commands.hx
|
|
|
d81766 |
index 0931bba..8219943 100644
|
|
|
d81766 |
--- a/hmp-commands.hx
|
|
|
d81766 |
+++ b/hmp-commands.hx
|
|
|
d81766 |
@@ -247,6 +247,13 @@ ETEXI
|
|
|
d81766 |
.help = "save screen into PPM image 'filename'",
|
|
|
d81766 |
.mhandler.cmd = hmp_screen_dump,
|
|
|
d81766 |
},
|
|
|
d81766 |
+
|
|
|
d81766 |
+STEXI
|
|
|
d81766 |
+@item screendump @var{filename}
|
|
|
d81766 |
+@findex screendump
|
|
|
d81766 |
+Save screen into PPM image @var{filename}.
|
|
|
d81766 |
+ETEXI
|
|
|
d81766 |
+
|
|
|
d81766 |
{
|
|
|
d81766 |
.name = "__com.redhat_qxl_screendump",
|
|
|
d81766 |
.args_type = "id:s,filename:F",
|
|
|
d81766 |
@@ -256,9 +263,9 @@ ETEXI
|
|
|
d81766 |
},
|
|
|
d81766 |
|
|
|
d81766 |
STEXI
|
|
|
d81766 |
-@item screendump @var{filename}
|
|
|
d81766 |
-@findex screendump
|
|
|
d81766 |
-Save screen into PPM image @var{filename}.
|
|
|
d81766 |
+@item __com.redhat_screendump @var{id} @var{filename}
|
|
|
d81766 |
+@findex __com.redhat_screendump
|
|
|
d81766 |
+Save screen from qxl device @var{id} into PPM image @var{filename}.
|
|
|
d81766 |
ETEXI
|
|
|
d81766 |
|
|
|
d81766 |
{
|
|
|
d81766 |
diff --git a/qmp-commands.hx b/qmp-commands.hx
|
|
|
d81766 |
index 5312447..9a246e7 100644
|
|
|
d81766 |
--- a/qmp-commands.hx
|
|
|
d81766 |
+++ b/qmp-commands.hx
|
|
|
d81766 |
@@ -231,11 +231,6 @@ EQMP
|
|
|
d81766 |
.args_type = "filename:F",
|
|
|
d81766 |
.mhandler.cmd_new = qmp_marshal_input_screendump,
|
|
|
d81766 |
},
|
|
|
d81766 |
- {
|
|
|
d81766 |
- .name = "__com.redhat_qxl_screendump",
|
|
|
d81766 |
- .args_type = "id:s,filename:F",
|
|
|
d81766 |
- .mhandler.cmd_new = qmp_marshal_input___com_redhat_qxl_screendump,
|
|
|
d81766 |
- },
|
|
|
d81766 |
|
|
|
d81766 |
SQMP
|
|
|
d81766 |
screendump
|
|
|
d81766 |
@@ -255,6 +250,20 @@ Example:
|
|
|
d81766 |
EQMP
|
|
|
d81766 |
|
|
|
d81766 |
{
|
|
|
d81766 |
+ .name = "__com.redhat_qxl_screendump",
|
|
|
d81766 |
+ .args_type = "id:s,filename:F",
|
|
|
d81766 |
+ .mhandler.cmd_new = qmp_marshal_input___com_redhat_qxl_screendump,
|
|
|
d81766 |
+ },
|
|
|
d81766 |
+
|
|
|
d81766 |
+SQMP
|
|
|
d81766 |
+__com.redhat_qxl_screendump
|
|
|
d81766 |
+---------------------------
|
|
|
d81766 |
+
|
|
|
d81766 |
+Save screen from qxl device @var{id} into PPM image @var{filename}.
|
|
|
d81766 |
+
|
|
|
d81766 |
+EQMP
|
|
|
d81766 |
+
|
|
|
d81766 |
+ {
|
|
|
d81766 |
.name = "stop",
|
|
|
d81766 |
.args_type = "",
|
|
|
d81766 |
.mhandler.cmd_new = qmp_marshal_input_stop,
|