From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqrrK-0005se-IK for qemu-devel@nongnu.org; Fri, 08 May 2015 19:39:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqrrJ-0001zi-Ht for qemu-devel@nongnu.org; Fri, 08 May 2015 19:39:10 -0400 Message-ID: <554D4917.6060703@redhat.com> Date: Fri, 08 May 2015 17:39:03 -0600 From: Eric Blake MIME-Version: 1.0 References: <1431105726-3682-1-git-send-email-kwolf@redhat.com> <1431105726-3682-10-git-send-email-kwolf@redhat.com> In-Reply-To: <1431105726-3682-10-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hxW0T41LdM6QUxhd7HuKxle8Ltb2BMvIN" Subject: Re: [Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from 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, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hxW0T41LdM6QUxhd7HuKxle8Ltb2BMvIN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/08/2015 11:21 AM, Kevin Wolf wrote: > Currently, the block layer assumes that any block node can have only on= e > parent, and if it has a parent, that it inherits some options/flags fro= m > this parent. >=20 > This is not true any more: With references used in block device > creation, a single node can be used by multiple parents, or it can be > created separately and not inherit flags from any parent. >=20 > To handle reopens correctly, a node must know from which parent it > inherited options. This patch adds the information to BlockDriverState.= >=20 > Signed-off-by: Kevin Wolf > --- > block.c | 17 +++++++++++++++++ > include/block/block_int.h | 4 ++++ > 2 files changed, 21 insertions(+) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --hxW0T41LdM6QUxhd7HuKxle8Ltb2BMvIN 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/ iQEcBAEBCAAGBQJVTUkXAAoJEKeha0olJ0Nqw2wH/3TiKxWP7OxRQWuwyK/VYcg7 A3p71AqzGrZN/mjt32pN5hkiXTFw2w9CWyM7DCehDycDGbR993ZRJ8ftbQU0VW7r uKkC7dSBJldGBYE2wvJxd41r2MFVuX6zA+j6x6gqpPHzzdXatLdtcWT+C5LMdsyT 6QB9UQ0B0PRkg0iEfqWPIfu3z2ORafUM6tPExrVWY1UXwSlc02bKEdO8QnQZQnuV YL4IZ8JvNQR0rG1c7/g/5irhZOOI0t/UwcYoVt3UdYV6zbmm7ds+y9+V1HLDiM/k yXzN9LEGCDnGoF/eAIdAtQJnJY1c+p1PWVFY1SyrpLGjynUI8ndTBsCUJ2DzhWk= =gZYl -----END PGP SIGNATURE----- --hxW0T41LdM6QUxhd7HuKxle8Ltb2BMvIN--