Re: [Qemu-devel] [PATCH] make -qmp stdio usable

2010-08-22 Thread Paolo Bonzini
On 08/22/2010 11:50 PM, Anthony Liguori wrote: On 08/11/2010 04:56 PM, Paolo Bonzini wrote: Currently -qmp stdio (or the equivalent -mon/-chardev combination) sets up the terminal attributes even though it does not go through readline to actually do I/O. As a result, echo is disabled and you can

Re: [Qemu-devel] [PATCH] make -qmp stdio usable

2010-08-22 Thread Anthony Liguori
On 08/11/2010 04:56 PM, Paolo Bonzini wrote: Currently -qmp stdio (or the equivalent -mon/-chardev combination) sets up the terminal attributes even though it does not go through readline to actually do I/O. As a result, echo is disabled and you cannot see anything you type. This patch fixes it

[Qemu-devel] [PATCH] make -qmp stdio usable

2010-08-11 Thread Paolo Bonzini
Currently -qmp stdio (or the equivalent -mon/-chardev combination) sets up the terminal attributes even though it does not go through readline to actually do I/O. As a result, echo is disabled and you cannot see anything you type. This patch fixes it by adding a "cooked" option to the stdio chard