From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi3z1-0007DQ-F6 for qemu-devel@nongnu.org; Fri, 02 Oct 2015 13:19:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zi3yy-0005GI-AX for qemu-devel@nongnu.org; Fri, 02 Oct 2015 13:18:59 -0400 References: <1443705214-9304-1-git-send-email-kwolf@redhat.com> <1443705214-9304-9-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <560EBC71.60609@redhat.com> Date: Fri, 2 Oct 2015 19:18:41 +0200 MIME-Version: 1.0 In-Reply-To: <1443705214-9304-9-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aHBcFTGBorX7hnGKxPiX9rH0rpG8p6DvI" Subject: Re: [Qemu-devel] [PATCH v2 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: jcody@redhat.com, berto@igalia.com, armbru@redhat.com, stefanha@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aHBcFTGBorX7hnGKxPiX9rH0rpG8p6DvI Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 01.10.2015 15:13, 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 | 35 ++++++++++++++--------------------- > block/mirror.c | 16 ++++++++++++---- > block/stream.c | 30 +----------------------------- > block/vvfat.c | 6 +++++- > include/block/block.h | 1 + > 5 files changed, 33 insertions(+), 55 deletions(-) Reviewed-by: Max Reitz --aHBcFTGBorX7hnGKxPiX9rH0rpG8p6DvI 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 iQEcBAEBCAAGBQJWDrxxAAoJEDuxQgLoOKyt7H0H/0OuN0afKX3JM1eBscUqD4nv r6zzuPlaUIyU+kqHSgUd66EEFtlcKJ5qriqJEfVRh+cd/Hh0I1N59siSZWPrO99k IIMbdLxf3/4F9sS207C+NblN+/zwBOY2PsMfcvC1w1KyBON5niORnERmyPm81yTg n/1qzpePnD8cYfV31xieBHwjdY3OMPIbloZ9ndbywy6Hm2OdyDu/0kEZtEs0oXXz 8B08vwJVvqK3wK6ZBhs87ABubiAyQjuGRP9FQ11RvEzjGfrozrWl9r5k2TVrIrED lW+ZeH0bpG4uAVspTrsvi6952zhcUS3ANMEAEht/9YtRmuKl5C70rK2iwaIu0Oo= =ipfh -----END PGP SIGNATURE----- --aHBcFTGBorX7hnGKxPiX9rH0rpG8p6DvI--