From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFPxD-0002lE-4t for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:04:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFPxC-0002dh-AQ for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:04:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFPxC-0002db-1r for qemu-devel@nongnu.org; Thu, 28 Apr 2011 08:04:18 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3SC4Hfe012041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Apr 2011 08:04:17 -0400 Received: from playa.tlv.redhat.com (dhcp-3-110.tlv.redhat.com [10.35.3.110]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3SC4Fm2003428 for ; Thu, 28 Apr 2011 08:04:16 -0400 From: Alon Levy Date: Thu, 28 Apr 2011 15:04:11 +0300 Message-Id: <1303992254-4940-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCHv2 0/3] virtio-serial-bus: use a bh for flush_queued_data List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This replaces the direct call of flush_queued_data with a bottom half, making the callpath for the chardev identical in a normal write and a write resulting from unthrottling. It includes a patch to add an accessor to QEMUBH to get scheduled status, to keep the bh scheduled across migration. Migration only trivially tested - just that it didn't break. Alon Levy (3): virtio-serial-bus: use bh for unthrottling bh: add qemu_bh_is_scheduled virtio-serial-bus: on migration send status of pending ports bh async.c | 4 ++++ hw/virtio-serial-bus.c | 25 ++++++++++++++++++++----- hw/virtio-serial.h | 5 +++++ qemu-common.h | 1 + 4 files changed, 30 insertions(+), 5 deletions(-) -- 1.7.4.4