aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-07-14 10:20:11 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-16 17:28:51 -0500
commitf114784f69ec3b9af342148025de14dbd1b429a5 (patch)
tree7dbf5414152e5d77ab7debae8f5770791f61a0d3 /qemu-monitor.hx
parentef74679a810fe6858f625b9d52b68cc3fc61eb3d (diff)
monitor: Add port write command
Useful for testing hardware emulations or manipulating its state to stress guest drivers. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 62edbcde75..70e24758cc 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -306,6 +306,11 @@ STEXI
Read I/O port.
ETEXI
+ { "o", "/ii", do_ioport_write,
+ "/fmt addr value", "I/O port write" },
+STEXI
+Write to I/O port.
+ETEXI
{ "sendkey", "si?", do_sendkey,
"keys [hold_ms]", "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)" },