Received: from eggs.gnu.org ([2001:4830:134:3::10]:51673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5EpJ-0000Lz-Pd for qemu-devel@nongnu.org; Tue, 24 May 2016 12:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5EpH-0006Qd-Sk for qemu-devel@nongnu.org; Tue, 24 May 2016 12:05:00 -0400 References: <1463470536-8981-1-git-send-email-famz@redhat.com> <1463470536-8981-6-git-send-email-famz@redhat.com> From: Max Reitz Message-ID: <9640c204-7486-3a58-ce88-a54c10072d1f@redhat.com> Date: Tue, 24 May 2016 18:04:48 +0200 MIME-Version: 1.0 In-Reply-To: <1463470536-8981-6-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ueggrJ98MO4WM9rCGVNd8JB6VS98GJelK" Subject: Re: [Qemu-devel] [PATCH v5 05/27] block: Add bdrv_image_locked List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Jeff Cody , Markus Armbruster , Eric Blake , John Snow , qemu-block@nongnu.org, berrange@redhat.com, pbonzini@redhat.com, den@openvz.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ueggrJ98MO4WM9rCGVNd8JB6VS98GJelK From: Max Reitz To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Jeff Cody , Markus Armbruster , Eric Blake , John Snow , qemu-block@nongnu.org, berrange@redhat.com, pbonzini@redhat.com, den@openvz.org, stefanha@redhat.com Message-ID: <9640c204-7486-3a58-ce88-a54c10072d1f@redhat.com> Subject: Re: [PATCH v5 05/27] block: Add bdrv_image_locked References: <1463470536-8981-1-git-send-email-famz@redhat.com> <1463470536-8981-6-git-send-email-famz@redhat.com> In-Reply-To: <1463470536-8981-6-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 17.05.2016 09:35, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > block.c | 5 +++++ > include/block/block.h | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) Maybe this should recurse down bs->file (or just all children) if the BDS is not locked? If you don't need such behavior: Reviewed-by: Max Reitz --ueggrJ98MO4WM9rCGVNd8JB6VS98GJelK 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 iQEcBAEBCAAGBQJXRHugAAoJEDuxQgLoOKytJSYIAKssPUSXO9wOV/suurU50a9t 6erozMa7gzfecDKW18qmbiDCBELMiObnNPg9SOGbPLu8Q13XnWkjTsivc6+Scy6K VpMB8L4utyie/1awI1+msqqyhJ5P7q6LFoGNEDxS7pg8Cf+kjoaKhkpsjhsD9Uh0 2rPs3httmiIK6WrHWED/xgxH6cnzWRh/e3CllYpF+oT49NjcJPe1PQMKRce/6y4m PbFw8z8bMd363JQA9ob58pD89caaVYiH42gLmfPl02mD9/PoKPevZQCJOI5aOF0b YA5jJ4glQ+KpL4cq47DZ2QprZyLtNmkK9plvDJIxJKyai9Xuys21ZbDP3x4cWws= =yP0c -----END PGP SIGNATURE----- --ueggrJ98MO4WM9rCGVNd8JB6VS98GJelK--