Re: [Qemu-devel] [PATCH v2] add close callback for tty-based char device

2010-02-22 Thread Anthony Liguori
On 02/10/2010 07:27 PM, David Ahern wrote: v1 -> v2 coding style changes Add a tty close callback. Right now if a guest device that is connected to a tty-based chardev in the host is removed, the tty is not closed. With this patch it is closed. Example use case is connecting an emulated USB s

[Qemu-devel] [PATCH v2] add close callback for tty-based char device

2010-02-10 Thread David Ahern
v1 -> v2 coding style changes Add a tty close callback. Right now if a guest device that is connected to a tty-based chardev in the host is removed, the tty is not closed. With this patch it is closed. Example use case is connecting an emulated USB serial cable in the guest to ttyS0 of the host