From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlgfV-0005ir-7v for qemu-devel@nongnu.org; Mon, 12 Oct 2015 13:13:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlgfU-0003nx-Bz for qemu-devel@nongnu.org; Mon, 12 Oct 2015 13:13:49 -0400 References: <1444392941-28704-1-git-send-email-kwolf@redhat.com> <1444392941-28704-9-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <561BEA41.40706@redhat.com> Date: Mon, 12 Oct 2015 19:13:37 +0200 MIME-Version: 1.0 In-Reply-To: <1444392941-28704-9-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KaxUrAwS9cTL2T1QQJqwb4TnNf81UR1KN" Subject: Re: [Qemu-devel] [PATCH v3 08/16] block: Manage backing file references in bdrv_set_backing_hd() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: famz@redhat.com, jcody@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, berto@igalia.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KaxUrAwS9cTL2T1QQJqwb4TnNf81UR1KN Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 09.10.2015 14:15, Kevin Wolf wrote: > This simplifies the code somewhat, especially when dropping whole > backing file subchains. >=20 > The exception is the mirroring code that does adventurous things with > bdrv_swap() and in order to keep it working, I had to duplicate most of= > bdrv_set_backing_hd() locally. We'll get rid again of this ugliness > shortly. >=20 > Signed-off-by: Kevin Wolf > --- > block.c | 68 ++++++++++++++-----------------------------= -------- > block/mirror.c | 16 +++++++++--- > block/stream.c | 30 +---------------------- > block/vvfat.c | 6 ++++- > include/block/block.h | 1 + > 5 files changed, 37 insertions(+), 84 deletions(-) Reviewed-by: Max Reitz --KaxUrAwS9cTL2T1QQJqwb4TnNf81UR1KN 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 iQEcBAEBCAAGBQJWG+pBAAoJEDuxQgLoOKytB9EH/ipI89tAobWLtc3c/RS8Fchu n6yYI9x7wphuHWejyEzduO9Iuv/avuFR6IfmXEv0cMUwnVJRrTyCjcY2Rrvif/1L 0gE8u9ScxMRlaymHbncpGeMvOqJy82wS+Jea/KDQ8W8m5zi43zzVYU0tIkIGNjGp eTbWS4IeWCnyM9dTdldSRH69x41lI9t6NWa989FrY/Cm8DEjPT3B6yh9OsXTWZRF DKGmVrlZExayJUIh6i35zdFK9p4AbrYUgrkcgIT+Hf2FaLMbd7Z3MQULZsDe9In/ sSSPqEqBDG9hu3DmejlgtljxgjjZyCZOixZDMDVxRn0o6PIVZFbFwiPDdmxAsYk= =NYAc -----END PGP SIGNATURE----- --KaxUrAwS9cTL2T1QQJqwb4TnNf81UR1KN--