Received: from eggs.gnu.org ([2001:4830:134:3::10]:53966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4pNd-0006SQ-9B for qemu-devel@nongnu.org; Wed, 09 Jul 2014 06:45:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4pNW-0002T1-IF for qemu-devel@nongnu.org; Wed, 09 Jul 2014 06:45:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4pNV-0002Sm-R7 for qemu-devel@nongnu.org; Wed, 09 Jul 2014 06:45:34 -0400 Date: Wed, 9 Jul 2014 16:14:57 +0530 From: Amit Shah Message-ID: <20140709104457.GE27615@grmbl.mre> References: <1403602356-13687-1-git-send-email-pl@kamp.de> <874mz919w5.fsf@troll.troll> <20140709042557.GA10283@grmbl.mre> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] migration: catch unknown flag combinations in ram_load List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Juan Quintela , Peter Lieven , "Dr. David Alan Gilbert" , QEMU Developers , Paolo Bonzini On (Wed) 09 Jul 2014 [11:28:27], Peter Maydell wrote: > On 9 July 2014 05:25, Amit Shah wrote: > > (CC'ing Peter Maydell for his thoughts) > > > > On (Tue) 08 Jul 2014 [22:55:42], Peter Lieven wrote: > >> Hi Juan, > >> > >> Am 25.06.2014 um 13:55 schrieb Juan Quintela : > >> > >> > Peter Lieven wrote: > >> >> this patch extends commit db80fac by not only checking > >> >> for unknown flags, but also filtering out unknown flag > >> >> combinations. > >> >> > >> >> Suggested-by: Eric Blake > >> >> Signed-off-by: Peter Lieven > >> > > >> > Reviewed-by: Juan Quintela > >> > > >> > Will be on next pull request, thanks. > >> > > >> > >> Have you forgotten to pull this one? It might be too late for 2.1 though. > > > > Juan is away for a couple of weeks. This looks like a good fix to > > pull in for 2.1, though. Peter, do you agree? Can you pick this up > > if so? > > What's the bug it's fixing? I had a look at the commit message, > but that suggests it's just tightening up sanity checking, not > fixing an actual issue... Maybe you can clarify. Right, it improves correctness: after this patch, we ensure a rogue or corrupt migration stream cannot cause problems on the dest. Amit