Received: from eggs.gnu.org ([2001:4830:134:3::10]:40338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8hCt-00051w-G8 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 00:31:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8hCs-00014m-51 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 00:31:55 -0500 Date: Mon, 21 Nov 2016 16:26:30 +1100 From: David Gibson Message-ID: <20161121052630.GA8681@umbus.fritz.box> References: <1479704316-7589-1-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <1479704316-7589-1-git-send-email-david@gibson.dropbear.id.au> Subject: Re: [Qemu-devel] [PATCH 0/5] Last minute ppc migration fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mdroth@linux.vnet.ibm.com, dgilbert@redhat.com Cc: agraf@suse.de, aik@ozlabs.ru, thuth@redhat.com, lvivier@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 21, 2016 at 03:58:31PM +1100, David Gibson wrote: > Unfortunately, a bug already slipped into the qemu-2.7 release which > breaks migration of the pseries-2.6 machine type from qemu v2.6.0 to > qemu v2.7.0. That bug also breaks migration from v2.6.0 to current > master. In addition there have been several more changes which have > inadvertently broken migration from v2.7.0 to current master for both > pseries-2.6 and pseries-2.7 machine types. >=20 > One of those was fixed - in a way - by 9b54ca0, however it was done in > such a way as to break backwards migration from current master to > v2.7.0. It turns out that supporting backwards migration is more > important than I realized at the time. >=20 > So, this series contains several fixes for migration. Between them, > they allow migration both forwards and backwards between qemu v2.6.0 > and current master (and therefore, I hope, v2.8.0). >=20 > Unfortunately, because of the already released bug, there's no > reasonable way to fix migration from current master back to v2.7.0 as > well, and, obviously, no way at all to fix the existing breakage > between v2.6.0 and v2.7.0. However, I'm also hoping to get patch 1/5 > of this series applied to the 2.7 stable branch. If that happens, it > should be possible to freely migrate between v2.6.0, v2.7.1 and > current master / 2.8, which is about the best we can hope for. >=20 > I've done basic testing of these with all the combinations of source > and destination being either v2.6.0, v2.7.0 + patch 1/5 and > ppc-for-2.8 + this series, and with all the applicable machine types > for each of those combinations. Each test was with just a basic > default hardware setup, running a RHEL7.3 guest, no fancier > combinations. >=20 > Dave, could you please sanity check my compatibility sheanningans and > send an R-b (and an acked-by for patch 2/5, which isn't strictly ppc > related). >=20 > Michael, if you could test this on any combinations that occur to you, > that would be most helpful. >=20 > I'm hoping to get some reviews and squeeze this into v2.8.0, which > will mean a pull request within a couple of days. Bother, just realised I left a chunk of debug code in there. Will resend momentarily. >=20 > David Gibson (5): target-ppc: Fix CPU migration from qemu-2.6 <-> > later versions migration: Add VMSTATE_UINTTL_TEST() target-ppc: > Allow eventual removal of old migration mistakes Revert "spapr: Fix > migration of PCI host bridges from qemu-2.7" spapr: Fix 2.7<->2.8 > migration of PCI host bridge >=20 > hw/ppc/spapr.c | 10 +++++++++ > hw/ppc/spapr_pci.c | 35 +++++++++++++++++++++-------- > include/hw/pci-host/spapr.h | 6 +++++ > include/migration/cpu.h | 4 ++++ > target-ppc/cpu.h | 7 ++++++ > target-ppc/machine.c | 55 +++++++++++++++++++++++++++++++++++++++= ++---- > target-ppc/translate_init.c | 6 +++++ > 7 files changed, 110 insertions(+), 13 deletions(-) >=20 --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYMoWDAAoJEGw4ysog2bOSe6oP/1H3fiVSC0PzwStvGcPi7QvT WlNCDnMvvEtg0nBGhABFust0KRzfWTz3KNRUllJOsfSDEDUQkl/4GVzqrYGCHyzG ITdIXwWzFPx17bmT91jNnaHV2QjKJeWWsUIzAyHwt12PsH99oKIVeksk2BTmEJwA a5r+zNmKJIbePFnbwDrYHftQRLlG5AaDb7hStBOacVriGxyJfUmuvLy1O34rxCfO wWgeU7u1G9rK79fA7IR/EcAxxKYrFZTcnfAnVv/lzaHJE7AhAVXqo3MXiLlfnecH REMhAUVpDNGBbqElgYO7tGCT6qiA7ZhXcy1Mksoyq437HkWDrJWo5CX6viQJGAf8 3LfPz86H77H5fkIsG+DDFl0oaLbIe8s54JcPAHruIJ+lUNsrbmUMF8tk4IAbdOqx WMcpM56AkBVh/g6W6ic5T8cK6GINR9sroIjQeOH0Wy4be94Hho/4tC87IdSJt/pq 5crNSkbZAdXxhr0UOHqpStj4BrA2D/zZkF2OWu457mH5+lCH6y+VQPVkXlHRRfXI XfJpDrQnN4y4epWncQeQC4zRTFkJNFUkGLakCm2I3E1ra0FhpNSVhvyZGmw6xBcT yvCo22XuAlTLJsCY5Ze6uc+QcapkOSODKOaYxS0FScmdKgqSGJI+bi3tH7xmQ+ni CL/X/rpQZjGp7klfhcFj =ZJb4 -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--