From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxpyo-00021b-Ov for qemu-devel@nongnu.org; Thu, 19 Jun 2014 23:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxpyj-0002Nr-UU for qemu-devel@nongnu.org; Thu, 19 Jun 2014 23:59:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxpyj-0002Nn-M1 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 23:59:05 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5K3x4fA032694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Jun 2014 23:59:04 -0400 Date: Fri, 20 Jun 2014 11:58:59 +0800 From: Stefan Hajnoczi Message-ID: <20140620035859.GA11029@stefanha-thinkpad.redhat.com> References: <1401972839-25213-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <1401972839-25213-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/2] block: thread-safety patches for virtio-blk dataplane rerror/werror List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 05, 2014 at 02:53:57PM +0200, Paolo Bonzini wrote: > With virtio-blk dataplane, I/O errors might occur while QEMU is > not in the main I/O thread. This makes the block layer's > bdrv_error_action() function thread-safe (modulo changes in > the monitor to make QMP events thread-safe too, already posted). >=20 > Thanks to Kevin for discussing v1, the ideas are based on his > input too. >=20 > v1->v2: redone, v1 should really have been an RFC >=20 > Paolo Bonzini (2): > vl: allow other threads to do qemu_system_vmstop_request > block: asynchronously stop the VM on I/O errors >=20 > block.c | 20 ++++++++++-- > cpus.c | 1 + > docs/qmp/qmp-events.txt | 2 +- > include/sysemu/sysemu.h | 1 + > stubs/vm-stop.c | 7 +++- > target-lm32/op_helper.c | 2 +- > vl.c | 85 +++++++++++++++++++++++++++++++------------= ------ > 7 files changed, 82 insertions(+), 36 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTo7GDAAoJEJykq7OBq3PIQRoH/2Z+Wuc6aDsqVAiUkJr4qxCU bC4OKmGv7fCMKma74/4vMY4W6dQMCdh1AzJKcv4m13v37zg1qbbSfB12lFE2F2m9 wUQmgvND+4y7FwAieryzdPGayIZCuTiydVWKnLncfZvcWhrYja4Pfx7aWhH7v7S/ eUHQaEofKlMwFCX6j/SLlrPCaM+j8ECdLu29zkrlcbvRbUbvIkLACAIsysndMXc0 jXDJHdYayaviRmbVHCmromlCkuhdW92BF8Mk0H5OOBjxcK62snSc0vVtBFXXKJm9 jvbtTRbnmehera3YPhJYsM5DR2BqqIiz3X9Oq8kS+j4JDP5d5vYcoxSYlTyBAbQ= =Uytl -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--