[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 08/15] xen: arm: stub out steal_page.
Callers handle the failure gracefully, can be called by GNTTABOP_transfer, XENMEM_exchange or tmem. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/dummy.S | 3 --- xen/arch/arm/mm.c | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/dummy.S b/xen/arch/arm/dummy.S index 87159da..f5b0db7 100644 --- a/xen/arch/arm/dummy.S +++ b/xen/arch/arm/dummy.S @@ -6,9 +6,6 @@ x: .word 0xe7f000f0 /* Undefined instruction */ .globl x; \ x: mov pc, lr -/* Grant Tables */ -DUMMY(steal_page); - /* Page Offlining */ DUMMY(page_is_ram_type); diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 855f83d..687eb55 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -435,6 +435,12 @@ int donate_page(struct domain *d, struct page_info *page, unsigned int memflags) return -ENOSYS; } +int steal_page( + struct domain *d, struct page_info *page, unsigned int memflags) +{ + return -1; +} + void share_xen_page_with_guest(struct page_info *page, struct domain *d, int readonly) { -- 1.7.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |