[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v15 07/19] pvh: Disable unneeded features of HVM containers



>>> On 11.11.13 at 15:57, George Dunlap <george.dunlap@xxxxxxxxxxxxx> wrote:
> @@ -1414,6 +1442,7 @@ int hvm_hap_nested_page_fault(paddr_t gpa,
>      /* For the benefit of 32-bit WinXP (& older Windows) on AMD CPUs,
>       * a fast path for LAPIC accesses, skipping the p2m lookup. */
>      if ( !nestedhvm_vcpu_in_guestmode(v)
> +         && is_hvm_vcpu(v)

This change looks unnecessary - nestedhvm_vcpu_enter_guestmode()
(the only way by which nestedhvm_vcpu_in_guestmode() could return
other than zero) must obviously never be used on a PVH guest.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.