[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V1 PATCH 1/3] pvh: early return from hvm_hap_nested_page_fault
>>> On 25.02.14 at 02:03, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote: > pvh does not support nested hvm at present. As such, return if pvh. > > Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> > --- > xen/arch/x86/hvm/hvm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c > index 69f7e74..a4a3dcf 100644 > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -1416,6 +1416,9 @@ int hvm_hap_nested_page_fault(paddr_t gpa, > int sharing_enomem = 0; > mem_event_request_t *req_ptr = NULL; > > + if ( is_pvh_vcpu(v) ) > + return 0; > + Afaict the "nested" in the function name means "nested paging", not "nested virtualization", i.e. the function here handles more than just nested HVM cases. With that, the change appears to be wrong. What's the motivation for putting such a check here anyway? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |