Received: from eggs.gnu.org ([2001:4830:134:3::10]:34191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJNIX-0007Q3-30 for qemu-devel@nongnu.org; Sat, 02 Jul 2016 11:57:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJNIV-0005qX-7m for qemu-devel@nongnu.org; Sat, 02 Jul 2016 11:57:36 -0400 References: <1467296007-12252-1-git-send-email-kwolf@redhat.com> <1467296007-12252-5-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <67df0ffd-6049-bb8d-2b06-b2529f1c6ab1@redhat.com> Date: Sat, 2 Jul 2016 17:57:22 +0200 MIME-Version: 1.0 In-Reply-To: <1467296007-12252-5-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nAu3hggdaCjC061iefKiMpP4K1IeTlVFP" Subject: Re: [Qemu-devel] [PATCH v2 4/6] block/qdev: Allow configuring rerror/werror with qdev properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nAu3hggdaCjC061iefKiMpP4K1IeTlVFP From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, qemu-devel@nongnu.org Message-ID: <67df0ffd-6049-bb8d-2b06-b2529f1c6ab1@redhat.com> Subject: Re: [PATCH v2 4/6] block/qdev: Allow configuring rerror/werror with qdev properties References: <1467296007-12252-1-git-send-email-kwolf@redhat.com> <1467296007-12252-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1467296007-12252-5-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 30.06.2016 16:13, Kevin Wolf wrote: > The rerror/werror policies are implemented in the devices, so that's > where they should be configured. In comparison to the old options in > -drive, the qdev properties are only added to those devices that > actually support them. >=20 > If the option isn't given (or "auto" is specified), the setting of the > BlockBackend is used for compatibility with the old options. For block > jobs, "auto" is the same as "enospc". >=20 > Signed-off-by: Kevin Wolf > --- > block/block-backend.c | 1 + > blockjob.c | 1 + > hw/block/block.c | 12 ++++++++++++ > hw/block/virtio-blk.c | 1 + > hw/core/qdev-properties.c | 13 +++++++++++++ > hw/ide/qdev.c | 1 + > hw/scsi/scsi-disk.c | 1 + > include/hw/block/block.h | 8 ++++++++ > include/hw/qdev-properties.h | 4 ++++ > qapi/block-core.json | 4 +++- > 10 files changed, 45 insertions(+), 1 deletion(-) Reviewed-by: Max Reitz --nAu3hggdaCjC061iefKiMpP4K1IeTlVFP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEvBAEBCAAZBQJXd+RiEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrQxO B/sHKP4/+30MWRC96BJFzmbR1qUnjxfAg33k/F8xPks1fOJigg94tRK4oAoNceF4 4urYTGM3BKfJpOngXP7nU/okuPqN85SIpIHRgsFyFB9fxZ6BJJmbKtLOmrgYL9um uHzCW5kHn2tQsBVr8UEcIVp/kkJrGlNJSYWW7Bi5mhQ4QShTQNe5vsIuMQ8O0aem jKIwRcwP5lg47U5gP0bCa1p3gyvajqeYF/U5QFvzgJ8xHh3UTNzxdLUN91hwlYjS l7frwotomYl8gVLq6tagKU+1skCrwhS4eeDdITN40D2E8BAEDd0LRczzWBle61j9 A26ovgB6afum7P6e99Qiizlm =KSv5 -----END PGP SIGNATURE----- --nAu3hggdaCjC061iefKiMpP4K1IeTlVFP--