From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZB0w-0000tS-Q4 for qemu-devel@nongnu.org; Fri, 26 Feb 2016 00:32:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZB0v-0006sz-LH for qemu-devel@nongnu.org; Fri, 26 Feb 2016 00:32:30 -0500 Date: Fri, 26 Feb 2016 15:59:13 +1100 From: David Gibson Message-ID: <20160226045913.GL20657@voom.fritz.box> References: <20160223164759.28588.87119.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5LiOUhUlsRX0HDkW" Content-Disposition: inline In-Reply-To: <20160223164759.28588.87119.stgit@bahia.huguette.org> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] spapr: disable vmdesc submission for old machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org --5LiOUhUlsRX0HDkW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 23, 2016 at 05:47:59PM +0100, Greg Kurz wrote: > Since QEMU 2.3, we have a vmdesc section in the migration stream. > This section is not mandatory but when migrating a pseries-2.2 > machine from QEMU 2.2, you get a warning at the destination: >=20 > qemu-system-ppc64: Expected vmdescription section, but got 0 >=20 > The warning goes away if we decide to skip vmdesc as well for > older pseries, like it is already done for pc's. >=20 > This can only be observed with -cpu POWER7 because POWER8 > cannot migrate from QEMU 2.2 to 2.3 (insns_flags2 mismatch). >=20 > Signed-off-by: Greg Kurz Applied to ppc-for-2.6, thanks. > --- > hw/ppc/spapr.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index c119f5582429..3b4a557c0a91 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c > @@ -2452,6 +2452,7 @@ DEFINE_SPAPR_MACHINE(2_3, "2.3", false); > static void spapr_machine_2_2_instance_options(MachineState *machine) > { > spapr_machine_2_3_instance_options(machine); > + machine->suppress_vmdesc =3D true; > } > =20 > static void spapr_machine_2_2_class_options(MachineClass *mc) >=20 >=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 --5LiOUhUlsRX0HDkW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWz9uhAAoJEGw4ysog2bOSpjkQANZWaZu3od/doTqCPbQpGFzR 7+259MJ38O6FnCr20pvVblVNrwvqJbpGzcl2j570pk2hn+2Bivw6ZioIXi9w7l7g 6MPyYiU7UJ1BZSsgv3SZYoln1qJYTUhWfhZbzqnCvGd2Yw9vZ5DFCwAS+R9ZhRIs VXr++ROH/45jcArJER/YOg/l6cNfWIXpI5i9npsYlRxurlnBSpe4iiZhr7JJ8sd8 XPBQ7aIvfHr+ab9yk3QWANYsBrjlyc+OUM+9J/DL0b5gDyLlHBWdJ4ZqFCqLpyGU RrlfzNkaaFr/cvqZda5TLwJPi2XmrlJMt/8HR64tXEGNugzfqa2yFl2YTSO7bH7R C/oVxUqJZXJWKnmoWduvRGY3Rn7WEwoR6aN6oqd9AQzcYUqfh6RJuQDmX+TdbcXJ XFvUtNXbDVIZA+A0rRMeqrl5W++L9vMHn6bPulVA6KNRZTOVzd9NUTx+OmuiiXD0 HhovdmKnelwM0XcTKN9izGyoCDpa7uFpgP6n2dhEE318IpsFK8Bho2wmh9aDlzgZ OwMYtqkUpRwnmZ1wvbDhvYoiYgcKuMkKmIPcdG65NvRip+d/HbC7G3a49rN5Sk05 Qi3kzJD54sd/MgenKG596K5FHgZonjbSLhrninNNocbhZdxJJ6aEozi4PgEMisxP Jpl8a33G5zlCUiKFwonp =Kgpl -----END PGP SIGNATURE----- --5LiOUhUlsRX0HDkW--