From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkC7P-0007Fk-Qm for qemu-devel@nongnu.org; Tue, 13 May 2014 08:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkC7K-0004QE-Sx for qemu-devel@nongnu.org; Tue, 13 May 2014 08:47:39 -0400 Message-ID: <5372145F.6010108@redhat.com> Date: Tue, 13 May 2014 06:47:27 -0600 From: Eric Blake MIME-Version: 1.0 References: <1399983641-32470-1-git-send-email-pl@kamp.de> In-Reply-To: <1399983641-32470-1-git-send-email-pl@kamp.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XlKMbFWESjF3CxHivJrO0A8tFBuvO0QST" Subject: Re: [Qemu-devel] [PATCHv2] migration: catch unknown flags in ram_load List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven , qemu-devel@nongnu.org Cc: pbonzini@redhat.com, qemu-stable@nongnu.org, dgilbert@redhat.com, quintela@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XlKMbFWESjF3CxHivJrO0A8tFBuvO0QST Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/13/2014 06:20 AM, Peter Lieven wrote: > if a saved vm has unknown flags in the memory data qemu > currently simply ignores this flag and continues which > yields in an unpredictable result. >=20 > this patch catches all unknown flags and > aborts the loading of the vm. >=20 > CC: qemu-stable@nongnu.org > Signed-off-by: Peter Lieven > --- > v1->v2: rework loop from do ... while to while [Juan] >=20 > arch_init.c | 35 ++++++++++++++++------------------- > 1 file changed, 16 insertions(+), 19 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --XlKMbFWESjF3CxHivJrO0A8tFBuvO0QST Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTchRgAAoJEKeha0olJ0NqFcwIAKI42fzSGqxhanJq5P8WnlLk qSKsPG+tbEFACVD7uUORc+ICnb4CZEcZM1jz3cgQ2LdjvoJHwpgukIImExgLBuaT mMuWumObn9x3wUCJ7SJ0ew7FZSBP/WUBJkMlwD4t++trBRxGzfsp32Zb1hMASy/+ laQ9xchWAl7iqhTjmw4tLBBRC3WBH7x+WFh9IMubAnWUnp8DVG4ddCeMxnvxuWBo 41wtvz5BcfVV3GSWKZRic3RC+padogB76dtPR5SX38OPPu33kt2UaMbq/U5OoYRw zVl25VnfnbKxZZ/LzJiaQ9vWR5guyFl0rBBGw2tyEzrNuBMj9gPfAejT7D8PtUY= =ZoT/ -----END PGP SIGNATURE----- --XlKMbFWESjF3CxHivJrO0A8tFBuvO0QST--