qemu-io: use readline.c
commit0cf17e181798063c3824c8200ba46f25f54faa1a
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 14 Nov 2013 10:54:17 +0000 (14 11:54 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:17 +0000 (22 12:07 +0100)
tree173ae70f1d25c7d3b5ac3cc09c6e94e48cd96d8b
parent13401ba0b982024b62a99388032bbb889dc98b43
qemu-io: use readline.c

Use readline.c for command-line history.  There was support for GNU
Readline and BSD Editline but it was never compiled in.  Since QEMU has
its own readline.c, just use that when qemu-io runs with stdin attached
to a terminal.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c