Signed-off-by: Wei Liu <wei.l...@citrix.com> --- xen/include/asm-x86/shadow.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h index b3ebe56..7d88637 100644 --- a/xen/include/asm-x86/shadow.h +++ b/xen/include/asm-x86/shadow.h @@ -163,6 +163,8 @@ static inline bool is_l1tf_safe_maddr(intpte_t pte) return maddr == 0 || maddr >= l1tf_safe_maddr; } +#ifdef CONFIG_PV + static inline bool pv_l1tf_check_pte(struct domain *d, unsigned int level, intpte_t pte) { @@ -241,6 +243,8 @@ static inline void pv_l1tf_domain_destroy(struct domain *d) #endif } +#endif /* CONFIG_PV */ + /* Remove all shadows of the guest mfn. */ static inline void shadow_remove_all_shadows(struct domain *d, mfn_t gmfn) { -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel