summaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorLei Li <lilei@linux.vnet.ibm.com>2013-01-25 00:03:20 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2013-01-25 11:23:06 -0200
commit1f590cf9455c571799d1bfc0777255fa0796d4da (patch)
tree587b89852266e89772c565474d85d95f34fba37d /hmp-commands.hx
parent51767e7cf2c3abc07d30009ab3d6262bdfd89b8b (diff)
downloadqemu-1f590cf9455c571799d1bfc0777255fa0796d4da.tar.gz
QAPI: Introduce memchar-write QMP command
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx18
1 files changed, 18 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 0934b9b915..bcfea11c38 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -837,6 +837,24 @@ STEXI
@item nmi @var{cpu}
@findex nmi
Inject an NMI on the given CPU (x86 only).
+
+ETEXI
+
+ {
+ .name = "memchar_write",
+ .args_type = "device:s,data:s",
+ .params = "device data",
+ .help = "Provide writing interface for CirMemCharDriver. Write"
+ "'data' to it.",
+ .mhandler.cmd = hmp_memchar_write,
+ },
+
+STEXI
+@item memchar_write @var{device} @var{data}
+@findex memchar_write
+Provide writing interface for CirMemCharDriver. Write @var{data}
+to char device 'memory'.
+
ETEXI
{