From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDUC-0002vX-IO for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:15:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGDU8-0001dl-C3 for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:15:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDU8-0001db-2o for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:15:44 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0RLFhun017035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 27 Jan 2015 16:15:43 -0500 Message-ID: <54C7FFFE.1090907@redhat.com> Date: Tue, 27 Jan 2015 14:15:42 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422387983-32153-1-git-send-email-mreitz@redhat.com> <1422387983-32153-15-git-send-email-mreitz@redhat.com> In-Reply-To: <1422387983-32153-15-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xSO3ibQO9evkGgiFvnbUb6TJJuo6bj4nI" Subject: Re: [Qemu-devel] [PATCH RESEND 14/50] block: Make some BB functions fall back to BBRS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Jeff Cody , Markus Armbruster , Stefan Hajnoczi , John Snow This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xSO3ibQO9evkGgiFvnbUb6TJJuo6bj4nI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/27/2015 12:45 PM, Max Reitz wrote: > If there is no BDS tree attached to a BlockBackend, functions that can > do so should fall back to the BlockBackendRootState structure (which ar= e > blk_is_read_only() and blk_get_flags(), because the read-only status an= d > the "open flags" are part of the BBRS). >=20 > Signed-off-by: Max Reitz > --- > block/block-backend.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --xSO3ibQO9evkGgiFvnbUb6TJJuo6bj4nI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJUx//+AAoJEKeha0olJ0NqhpAIAKQhkHSEoVX9glJnXoNrhWqz xb4sZg7cy40t4/z+KSgwbnecsYIeI1OLd19oio7buu/EvHFjiUHn4k1+c85R5HQK 5UtgqxtvjdfJmh0He4w108njMJaW3NiD6JR347jp6VaGDm8YAXajVJ++DdZuzQA0 67uBZQi655pndhrjUoTMXql2/JUcXMyRbXzjSqWLnoHv8N9KPHYRhH/TeyGYloGl 3ABDfJ+O+kaIEEGFVna+/jRPCXeTn1R2sdic6KbC0JuK+2elouTxYyEvmLJon8Tx ZtumerTBRCDkH7ivfwHBjdcs1/0ovRt4+AWqpNKq6jerpg2x5gZQFr8AkPumocs= =5jMx -----END PGP SIGNATURE----- --xSO3ibQO9evkGgiFvnbUb6TJJuo6bj4nI--