[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V0 PATCH 4/6] AMD-PVH: Do not get/set vlapic TPR
>>> On 16.08.14 at 03:53, <mukesh.rathor@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/hvm/svm/svm.c > +++ b/xen/arch/x86/hvm/svm/svm.c > @@ -1052,7 +1052,7 @@ static void noreturn svm_do_resume(struct vcpu *v) > hvm_asid_flush_vcpu(v); > } > > - if ( !vcpu_guestmode ) > + if ( !vcpu_guestmode && vcpu_vlapic(v)->regs ) I may have said this in reply to another of your patches already, but in the case I don't recall correctly: Please make this !is_pvh_vcpu() or introduce a proper is_...() accessor so whoever is going to do the future conversion to a more fine grained model will have a way to actually spot these. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |