Received: from eggs.gnu.org ([2001:4830:134:3::10]:49557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMp8p-00014B-N1 for qemu-devel@nongnu.org; Sat, 14 Feb 2015 21:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMp8m-0001lO-9g for qemu-devel@nongnu.org; Sat, 14 Feb 2015 21:41:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMp8m-0001lK-2Y for qemu-devel@nongnu.org; Sat, 14 Feb 2015 21:41:00 -0500 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 t1F2ex59009443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sat, 14 Feb 2015 21:40:59 -0500 From: Fam Zheng Date: Sun, 15 Feb 2015 10:40:50 +0800 Message-Id: <1423968052-17461-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] block, virtio-scsi: Fix blk_set_aio_context List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Paolo Bonzini , stefanha@redhat.com This is the simplified fix of: [PATCH 0/3] virtio-scsi: Fix unsafe bdrv_set_aio_context calls I included the original patch 1 - the function header comment update for bdrv_set_aio_context and added Paolo's rev-by. Fam Zheng (2): block: Forbid bdrv_set_aio_context outside BQL virtio-scsi-dataplane: Call blk_set_aio_context within BQL hw/scsi/virtio-scsi.c | 15 +++++++-------- include/block/block.h | 3 +-- 2 files changed, 8 insertions(+), 10 deletions(-) -- 2.1.0