On 11/21/18 12:00 PM, Jan Beulich wrote: >>>> On 20.11.18 at 19:05, <rcojoc...@bitdefender.com> wrote: >> --- a/xen/arch/x86/mm/mem_access.c >> +++ b/xen/arch/x86/mm/mem_access.c >> @@ -541,6 +541,11 @@ void arch_p2m_set_access_required(struct domain *d, >> bool access_required) >> #endif >> } >> >> +bool p2m_mem_access_sanity_check(struct domain *d) >> +{ >> + return is_hvm_domain(d) && cpu_has_vmx && hap_enabled(d); >> +} > > With Tamas's ack I've committed this as is, but for the future may > I ask that you take the opportunity and do trivial improvements in > such cases (here: add const)?
Of course, I'll send a new patch as soon as possible. Thanks, Razvan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel