>>> On 18.04.18 at 10:30, <jgr...@suse.com> wrote:
> --- a/xen/arch/x86/mm/shadow/multi.c
> +++ b/xen/arch/x86/mm/shadow/multi.c
> @@ -967,7 +967,7 @@ static int shadow_set_l4e(struct domain *d,
>          sh_put_ref(d, osl3mfn, paddr);
>      }
>  
> -    if ( !cpu_has_no_xpti )
> +    if ( is_pv_domain(d) && d->arch.pv_domain.xpti )
>          /*
>           * Lazy flushing is enough: either we do a TLB flush right afterwards
>           * which will pick up the new root page table on all affected cpus

How come the is_pv_domain() is appearing only here?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to