From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50578 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzQ7N-0003JP-JD for qemu-devel@nongnu.org; Tue, 15 Mar 2011 05:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzQ7M-0008Ug-DO for qemu-devel@nongnu.org; Tue, 15 Mar 2011 05:00:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzQ7M-0008U3-52 for qemu-devel@nongnu.org; Tue, 15 Mar 2011 05:00:40 -0400 From: Amit Shah Date: Tue, 15 Mar 2011 14:30:27 +0530 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] char, virtio_console: Allow chardevs to be re-used List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Amit Shah , Markus Armbruster , Gerd Hoffmann This series does two things: - prevents a single chardev to be used by multiple devices at the same time - virtio-console/serial ports don't close a chardev, instead free it for later use by other devices (or a new hot-plugged virtio serial port). Please apply. Amit Shah (2): virtio-console: Keep chardev open for other users after hot-unplug char: Prevent multiple devices opening same chardev hw/qdev-properties.c | 7 ++++++- hw/virtio-console.c | 6 +++++- qemu-char.c | 4 ++++ qemu-char.h | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) -- 1.7.4