From 6da461333694958d11ec529486307522633ce289 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 9 Apr 2007 13:39:35 -0600 Subject: [IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF Temporary patch until we support the the balloon driver on HVM domains. Signed-off-by: Tsunehisa Doi --- unmodified_drivers/linux-2.6/platform-pci/xen_support.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'unmodified_drivers') diff --git a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c index bb0bdc0722..09eb11e5c2 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c +++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c @@ -51,6 +51,19 @@ int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count) return xencomm_mini_hypercall_grant_table_op(cmd, uop, count); } EXPORT_SYMBOL(HYPERVISOR_grant_table_op); + +/* without using balloon driver on PV-on-HVM for ia64 */ +void balloon_update_driver_allowance(long delta) +{ + /* nothing */ +} +EXPORT_SYMBOL_GPL(balloon_update_driver_allowance); + +void balloon_release_driver_page(struct page *page) +{ + /* nothing */ +} +EXPORT_SYMBOL_GPL(balloon_release_driver_page); #endif /* __ia64__ */ void xen_machphys_update(unsigned long mfn, unsigned long pfn) -- cgit v1.2.3