[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 6/6] x86/p2m: set_shared_p2m_entry() is MEM_SHARING-only
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -1476,6 +1476,8 @@ int clear_identity_p2m_entry(struct doma return ret; } +#ifdef CONFIG_MEM_SHARING + /* Returns: 0 for success, -errno for failure */ int set_shared_p2m_entry(struct domain *d, unsigned long gfn_l, mfn_t mfn) { @@ -1514,7 +1516,10 @@ int set_shared_p2m_entry(struct domain * return rc; } +#endif /* CONFIG_MEM_SHARING */ + #ifdef CONFIG_HVM + static struct p2m_domain * p2m_getlru_nestedp2m(struct domain *d, struct p2m_domain *p2m) {
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |