qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4 RFC] Introduce console for ringbuf backend
@ 2013-09-02  9:01 Lei Li
  2013-09-02  9:01 ` [Qemu-devel] [PATCH 1/4] monitor: introduce monitor_read_console Lei Li
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Lei Li @ 2013-09-02  9:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lei Li, anthony, lcapitulino

This patch series aims at adding HMP console feature for ringbuf
backend. It behaves like a serial console, which drops user into 
an interactive mode with ringbuf backend and takes user back to 
the monitor by the 'ctrl-]' escape sequence.

It would suspend the monitor, output the data that backed in the 
ringbuf backend to console first, and install a new readline
handler to get input from console back into the ringbuf backend. 
Once escape sequence is detected, it will resume the monitor.

This implementation is reworked based on Anthony's suggestions
on the previous version:

http://lists.gnu.org/archive/html/qemu-devel/2013-01/msg03888.html

Suggestions and comments are very welcome!


Lei Li (4):
  monitor: introduce monitor_read_console
  hmp: factor out ringbuf_print_help()
  qemu-char: export ringbuf_count
  hmp: add console support for ringbuf backend


 hmp-commands.hx           |   21 +++++++
 hmp.c                     |  141 +++++++++++++++++++++++++++++++++++++++++----
 hmp.h                     |    1 +
 include/monitor/monitor.h |    3 +
 include/sysemu/char.h     |    2 +
 monitor.c                 |   14 +++++
 qemu-char.c               |    2 +-
 7 files changed, 171 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-09 20:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-02  9:01 [Qemu-devel] [PATCH 0/4 RFC] Introduce console for ringbuf backend Lei Li
2013-09-02  9:01 ` [Qemu-devel] [PATCH 1/4] monitor: introduce monitor_read_console Lei Li
2013-09-09 19:13   ` Luiz Capitulino
2013-09-02  9:01 ` [Qemu-devel] [PATCH 2/4] hmp: factor out ringbuf_print_help() Lei Li
2013-09-09 19:15   ` Luiz Capitulino
2013-09-02  9:01 ` [Qemu-devel] [PATCH 3/4] qemu-char: export ringbuf_count Lei Li
2013-09-02  9:01 ` [Qemu-devel] [PATCH 4/4] hmp: add console support for ringbuf backend Lei Li
2013-09-09 20:27   ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).