From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrOuF-0001Tl-Qj for qemu-devel@nongnu.org; Wed, 28 Oct 2015 07:28:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrOuC-00055N-IE for qemu-devel@nongnu.org; Wed, 28 Oct 2015 07:28:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrOuC-00055J-DM for qemu-devel@nongnu.org; Wed, 28 Oct 2015 07:28:36 -0400 From: Juan Quintela In-Reply-To: <1443515898-3594-48-git-send-email-dgilbert@redhat.com> (David Alan Gilbert's message of "Tue, 29 Sep 2015 09:38:11 +0100") References: <1443515898-3594-1-git-send-email-dgilbert@redhat.com> <1443515898-3594-48-git-send-email-dgilbert@redhat.com> Date: Wed, 28 Oct 2015 12:28:34 +0100 Message-ID: <87oafj8c65.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v8 47/54] Round up RAMBlock sizes to host page sizes Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: aarcange@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, luis@cs.umu.se, bharata@linux.vnet.ibm.com, amit.shah@redhat.com, pbonzini@redhat.com "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > RAMBlocks that are not a multiple of host pages in length > cause problems for postcopy (I've seen an ACPI table on aarch64 > be 5k in length - i.e. 5x target-page), so round RAMBlock sizes > up to a host-page. > > This potentially breaks migration compatibility due to changes > in RAMBlock sizes; however: > 1) x86 and s390 I think always have host=target page size > 2) When I've tried on Power the block sizes already seem aligned. > 3) I don't think there's anything else that maintains per-version > machine-types for compatibility. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela We had this problem on the past when we moved the machines to be Megabyte rounded size, some machines where not. But in this particular case, I will clame that having a size that is _not_ of the size of the host pages is just asking for trouble.