Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-21 Thread David S. Ahern
On 02/20/2010 10:03 AM, Anthony Liguori wrote: On 02/20/2010 09:18 AM, David S. Ahern wrote: On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore terminals action has taken. added

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-21 Thread David S. Ahern
...@redhat.com, qemu-devel@nongnu.org Subject: Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor On 02/20/2010 09:18 AM, David S. Ahern wrote: On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-21 Thread Shahar Havivi
: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor On 02/20/2010 12:42 PM, Shahar Havivi wrote: On Sat, Feb 20, 2010 at 11:03:41AM -0600, Anthony Liguori wrote: Date: Sat, 20 Feb 2010 11:03:41 -0600 From: Anthony Liguori anth...@codemonkey.ws To: David

[Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-20 Thread Shahar Havivi
when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore terminals action has taken. added chr_close and register atexit() code for tty devices (like stdio does) Signed-off-by: Shahar Havivi shah...@redhat.com --- qemu-char.c | 14

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-20 Thread David S. Ahern
On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore terminals action has taken. added chr_close and register atexit() code for tty devices (like stdio does) Signed-off-by: Shahar

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-20 Thread Shahar Havivi
is not restored when using /dev/tty monitor On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore terminals action has taken. added chr_close and register atexit() code for tty devices

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-20 Thread Anthony Liguori
On 02/20/2010 09:18 AM, David S. Ahern wrote: On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore terminals action has taken. added chr_close and register atexit() code for tty devices

Re: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor

2010-02-20 Thread Shahar Havivi
: [Qemu-devel] [PATCH] terminal attributes is not restored when using /dev/tty monitor On 02/20/2010 09:18 AM, David S. Ahern wrote: On 02/20/2010 01:30 AM, Shahar Havivi wrote: when exiting qemu that run with -monitor /dev/tty, the launching terminal get weird behaviour because no restore