From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJOWw-0003uW-5s for qemu-devel@nongnu.org; Mon, 18 Aug 2014 11:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJOWm-0001Oe-Nb for qemu-devel@nongnu.org; Mon, 18 Aug 2014 11:07:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJOWm-0001O7-FJ for qemu-devel@nongnu.org; Mon, 18 Aug 2014 11:07:20 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7IF7JHT019954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 18 Aug 2014 11:07:19 -0400 From: Stefan Hajnoczi Date: Mon, 18 Aug 2014 16:07:11 +0100 Message-Id: <1408374433-5360-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] block: support drive_del with dataplane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Fam Zheng , Stefan Hajnoczi This series makes hot unplug work with virtio-blk dataplane devices. It should also work with Fam's virtio-scsi dataplane patches. Up until now dataplane installed an op blocker that prevented drive_del. Thanks to the op blocker and AioContext acquire/release infrastructure we can now make drive_del safe. Stefan Hajnoczi (2): block: acquire AioContext in do_drive_del() virtio-blk: allow drive_del with dataplane blockdev.c | 7 +++++++ hw/block/dataplane/virtio-blk.c | 1 + 2 files changed, 8 insertions(+) -- 1.9.3