Received: from eggs.gnu.org ([2001:4830:134:3::10]:50751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmn6V-0004pG-6N for qemu-devel@nongnu.org; Wed, 21 Sep 2016 15:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmn6Q-0007Z8-2j for qemu-devel@nongnu.org; Wed, 21 Sep 2016 15:22:46 -0400 References: <1474405737-2092-1-git-send-email-kwolf@redhat.com> <1474405737-2092-7-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <2ce32a84-39f5-b4cf-a54e-59a04a058856@redhat.com> Date: Wed, 21 Sep 2016 14:22:38 -0500 MIME-Version: 1.0 In-Reply-To: <1474405737-2092-7-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m1CouOfivGkr6mB6vtKpwjN3oKKjQrxx8" Subject: Re: [Qemu-devel] [PATCH 6/7] block: Move 'discard' option to bdrv_open_common() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --m1CouOfivGkr6mB6vtKpwjN3oKKjQrxx8 From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: <2ce32a84-39f5-b4cf-a54e-59a04a058856@redhat.com> Subject: Re: [PATCH 6/7] block: Move 'discard' option to bdrv_open_common() References: <1474405737-2092-1-git-send-email-kwolf@redhat.com> <1474405737-2092-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1474405737-2092-7-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/20/2016 04:08 PM, Kevin Wolf wrote: > This enables its use for nested child nodes. The compatibility > between the 'discard' and 'detect-zeroes' setting is checked in > bdrv_open_common() now as the former setting isn't available before > calling bdrv_open() any more. >=20 > Signed-off-by: Kevin Wolf > --- > block.c | 17 ++++++++++++++++- > blockdev.c | 25 ------------------------- > include/block/block.h | 1 + > 3 files changed, 17 insertions(+), 26 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --m1CouOfivGkr6mB6vtKpwjN3oKKjQrxx8 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX4t3+AAoJEKeha0olJ0NqrOsH/0QdE+nBiTSPs6Tfl9FRFQcl 53M+WyFgAbDdl7Xb5uTdxFHM4Bv/CCtlqMapXWjVoeWO0O4h+1oMi42bdlCcOmWB Gob2kisi7afIaXTVvFKHjm5nw9i4KWgeJFM+0l1Tts/nq650ggRJf/Hv6lgcji1T 8BwnbXlRMw/SjQxjFoc3t/pouEM0wXGK3apbS3Iy0Ab5JFp74FbTrGfVaZPglHFC mZAIjiWEa2IJrbGvRHqGwz2ulReyCLruQ3HwNjjcsHo8Hd0xyGmkpXz1xj5f34pp pX4wiNlWXPOhhlM9QOiWF/jI7NC8rVISqENxvmPo+a1zUw7XhlG9EwB4ZM9lPcQ= =jE6c -----END PGP SIGNATURE----- --m1CouOfivGkr6mB6vtKpwjN3oKKjQrxx8--