From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH RFC] xen/libxl/libxl: RIP PV superpage. Date: Mon, 1 Feb 2016 10:37:52 +0000 Message-ID: <20160201103752.GO25660@citrix.com> References: <1454081446-9753-1-git-send-email-konrad.wilk@oracle.com> <1454081446-9753-2-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1454081446-9753-2-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Keir Fraser List-Id: xen-devel@lists.xenproject.org You have two "libxl" in subject line. On Fri, Jan 29, 2016 at 10:30:46AM -0500, Konrad Rzeszutek Wilk wrote: > The last bastion of users is moving away from needing > this. > > Please note that there was an partial removal by > c/s 9b3c6b13e0c085ceb53210f8e682a073096b94fa > "libxc: remove superpages option for pv domains" so an user > could not even run PV guests with superpage. > > HVM guests are not affected - they have been able to use > superpages (called hugepages) if the CPU supports 2MB or 1GB > since Xen 3.3. > > This is reported in the ring buffer: > (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB > > AMD CPUs that support 2MB require NPT aka Rapid Virtualization > Indexing. This was introduced in third generation Opteron - > Barcelona. > > Intel CPUs that support 2MB require EPT aka Extended Page Tables. > This was introduced in Westmere microarchitecture. > > Signed-off-by: Konrad Rzeszutek Wilk > --- > docs/misc/xen-command-line.markdown | 7 -- > tools/libxc/include/xenguest.h | 3 +- > tools/libxc/xc_nomigrate.c | 2 +- > tools/libxc/xc_sr_restore.c | 6 +- > tools/libxl/libxl_internal.h | 2 +- > tools/libxl/libxl_save_callout.c | 4 +- > tools/libxl/libxl_save_helper.c | 3 +- > tools/libxl/libxl_stream_read.c | 2 +- Changes to toolstack code are done only to internal functions and only delete the extra argument for superpage flag. They look sensible. Wei.