Received: from eggs.gnu.org ([2001:4830:134:3::10]:43073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj6iO-0000Gt-Ir for qemu-devel@nongnu.org; Sat, 10 May 2014 08:49:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wj6iJ-0006Dm-T9 for qemu-devel@nongnu.org; Sat, 10 May 2014 08:49:20 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII From: =?GB2312?B?s8LBug==?= In-reply-to: <1399717549-10961-1-git-send-email-pl@kamp.de> Date: Sat, 10 May 2014 20:49:05 +0800 Message-id: References: <1399717549-10961-1-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH] migration: catch unknown flags in ram_load List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: quintela@redhat.com, qemu-stable@nongnu.org, qemu-devel@nongnu.org, =?GB2312?B?s8LBug==?= , pbonzini@redhat.com, dgilbert@redhat.com > 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. > > this patch catches all unknown flags and > aborts the loading of the vm. > > CC: qemu-stable@nongnu.org > Signed-off-by: Peter Lieven > --- > arch_init.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > Reviewed-by: ChenLiang