qemu-io: readline command completion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | readline: decouple readline from the monitorhmp.c include/ monitor.c +1 more | +71 | 0 replies | |
| 2/5 | readline: move readline to a generic locationMakefile.objs include/ include/ +5 more | +560 | 0 replies | |
| 3/5 | osdep: add qemu_set_tty_echo()include/ util/ util/ | +39 | 3 replies | |
| 4/5 | qemu-io: use readline.cqemu-io.c | +58 | 0 replies | |
| 5/5 | qemu-io: add command completioninclude/ qemu-io-cmds.c qemu-io.c | +25 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Luiz Capitulino |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/5] qemu-io: readline command completion
This series decouples readline.c from the QEMU monitor and then reuses it in qemu-io. This adds history and command completion to the qemu-io interactive prompt.
Stefan Hajnoczi (5):
readline: decouple readline from the monitor
readline: move readline to a generic location
osdep: add qemu_set_tty_echo()
qemu-io: use readline.c
qemu-io: add command completion
Makefile.objs | 1 - hmp.c | 6 +- include/monitor/monitor.h | 2 +- include/monitor/readline.h | 56 ----- include/qemu-io.h | 3 + include/qemu/osdep.h | 2 + include/qemu/readline.h | 62 ++++++ monitor.c | 41 +++- qemu-io-cmds.c | 15 ++ qemu-io.c | 109 +++++----- readline.c | 493 -------------------------------------------- util/Makefile.objs | 1 + util/oslib-posix.c | 18 ++ util/oslib-win32.c | 19 ++ util/readline.c | 495 +++++++++++++++++++++++++++++++++++++++++++++ 15 files changed, 716 insertions(+), 607 deletions(-) delete mode 100644 include/monitor/readline.h create mode 100644 include/qemu/readline.h delete mode 100644 readline.c create mode 100644 util/readline.c
Signature · 1 line
1.8.3.1