]> xenbits.xensource.com Git - xen.git/commitdiff
[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF
authorAlex Williamson <alex.williamson@hp.com>
Mon, 9 Apr 2007 19:39:35 +0000 (13:39 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 9 Apr 2007 19:39:35 +0000 (13:39 -0600)
Temporary patch until we support the the balloon driver on HVM domains.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
unmodified_drivers/linux-2.6/platform-pci/xen_support.c

index bb0bdc07220c009c6cb6a1ff4b5b72d1bffdb99d..09eb11e5c28f250fc12f47df44a8670279acfa5c 100644 (file)
@@ -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)