[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/mem_access: move p2m_mem_access_sanity_check() from header
On 11/21/18 12:00 PM, Jan Beulich wrote: >>>> On 20.11.18 at 19:05, <rcojocaru@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |