From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brip5-0005Ka-3p for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:49:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brip1-0002iL-06 for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:49:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brip0-0002i9-QC for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:49:06 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 474E16A6D8 for ; Wed, 5 Oct 2016 09:49:06 +0000 (UTC) From: Juan Quintela In-Reply-To: <1472058946-22176-1-git-send-email-dgilbert@redhat.com> (David Alan Gilbert's message of "Wed, 24 Aug 2016 18:15:46 +0100") References: <1472058946-22176-1-git-send-email-dgilbert@redhat.com> Reply-To: quintela@redhat.com Date: Wed, 05 Oct 2016 11:49:01 +0200 Message-ID: <87wphnqg6q.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Postcopy vs xbzrle: Don't send xbzrle pages once in postcopy [for 2.8] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, amit.shah@redhat.com, mzamazal@redhat.com "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > xbzrle relies on reading pages that have already been sent > to the destination and then applying the modifications; we can't > do that in postcopy because the destination may well have > modified the page already or the page has been discarded. > > I already didn't allow reception of xbzrle pages, but I > forgot to add the test to stop them being sent. > > Enabling both xbzrle and postcopy can make some sense; > if you think that your migration might finish if you > have xbzrle, then when it doesn't complete you flick > over to postcopy and stop xbzrle'ing. > > This corresponds to RH bug: > https://bugzilla.redhat.com/show_bug.cgi?id=1368422 > > Symptom is: > > Unknown combination of migration flags: 0x60 (postcopy mode) > (either 0x60 or 0x40) > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela applied, thanks