summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorHani Benhabiles2014-05-28 00:39:30 +0200
committerLuiz Capitulino2014-06-11 16:10:28 +0200
commit8e5977797d76e33856506c9a0c454ae9ab23034c (patch)
tree32b650618339e5b561b869d1dbfc23e0efd06a72 /hmp-commands.hx
parentdump: simplify get_len_buf_out() (diff)
downloadqemu-8e5977797d76e33856506c9a0c454ae9ab23034c.tar.gz
qemu-8e5977797d76e33856506c9a0c454ae9ab23034c.tar.xz
qemu-8e5977797d76e33856506c9a0c454ae9ab23034c.zip
monitor: Add ringbuf_write and ringbuf_read argument completion
Export chr_is_ringbuf() function. Also remove left-over function prototypes while at it. Signed-off-by: Hani Benhabiles <hani@linux.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 2e462c04aa..dcec5efab7 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -852,6 +852,7 @@ ETEXI
.params = "device data",
.help = "Write to a ring buffer character device",
.mhandler.cmd = hmp_ringbuf_write,
+ .command_completion = ringbuf_write_completion,
},
STEXI
@@ -868,6 +869,7 @@ ETEXI
.params = "device size",
.help = "Read from a ring buffer character device",
.mhandler.cmd = hmp_ringbuf_read,
+ .command_completion = ringbuf_write_completion,
},
STEXI