From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuF8d-0004Jg-Gc for qemu-devel@nongnu.org; Mon, 18 May 2015 03:07:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuF8Z-0007sw-Ge for qemu-devel@nongnu.org; Mon, 18 May 2015 03:06:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuF8Z-0007sK-Bv for qemu-devel@nongnu.org; Mon, 18 May 2015 03:06:55 -0400 Date: Mon, 18 May 2015 12:36:40 +0530 From: Amit Shah Message-ID: <20150518070640.GD15452@grmbl.mre> References: <1429031053-4454-1-git-send-email-dgilbert@redhat.com> <1429031053-4454-7-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429031053-4454-7-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 06/47] Provide runtime Target page information List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com, david@gibson.dropbear.id.au On (Tue) 14 Apr 2015 [18:03:32], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > The migration code generally is built target-independent, however > there are a few places where knowing the target page size would > avoid artificially moving stuff into arch_init. > > Provide 'qemu_target_page_bits()' that returns TARGET_PAGE_BITS > to other bits of code so that they can stay target-independent. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Amit Shah Amit