From: "Jan Beulich" Subject: Re: Xen HVM regression on certain Intel CPUs Date: Wed, 03 Apr 2013 13:43:54 +0100 Message-ID: <515C402A02000078000CA55C@nat28.tlf.novell.com> References: <51530F9F.10805@canonical.com> <515315EC.4030803@canonical.com> <20130327160427.GB6688@phenom.dumpdata.com> <5153222B.3030605@canonical.com> <515323D4.2030806@zytor.com> <5153299A.7070108@canonical.com> <51532B2F.60506@zytor.com> <515454E002000078000C947C@nat28.tlf.novell.com> <51545B7C.4060106@canonical.com> <5154722E.7080605@canonical.com> <515C18F7.9000305@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <515C18F7.9000305@canonical.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefan Bader Cc: "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk , Eddie Dong , wei.y.yang@intel.com, haitao.shan@intel.com, Dongxiao Xu , xin.li@intel.com, Jun Nakajima , "H. Peter Anvin" , xiantao.zhang@intel.com List-Id: xen-devel@lists.xenproject.org >>> On 03.04.13 at 13:56, Stefan Bader wrote: > I added some more debugging output to the hypervisor to verify the state of HAP. > This showed that while HAP is available on the system, it is not used for the > HVM guests. It looks like this would require some flags to be set when creating > the guest domains and I assume this is not happening because I have to stay with > the xm stack for the libvirt setup for now (requires some repackaging which hasn't been done, yet). > > So the guest isn't using HAP but does seem to use some form of paging even if > the guest VCPU is not using paging. So I changed the vmx_update_guest_cr() > function in that way and that seems to prevent the hangs. Does this look like a > reasonable upstream Xen change? Yes, it looks appropriate. But I'd like this to be confirmed by the authors of the original change and/or the VMX maintainers (added to Cc). Nevertheless it's very odd to not use HAP on a machine capable of it... Jan