[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [Patch] Modify PV-on-HVM VNIF without using balloon on IPF



Hi all,

  In current latest chageset (xen-ia64-unstable.hg cs:14762), PV-on-HVM
VNIF driver was broken by balloon driver introduced.

  So, I'll submit temporary patch to resolve this issue, until we'll be
able to support balloon driver on HVM domain for IPF.

  * vnif-wo-balloon.patch
    - add dummy functions of balloon driver.
    - Actually, current VNIF doesn't use balloon driver for PV-on-HVM,
      but it calls balloon in the codes for flipping-receiver mode.

  In our simple test, VNIF works in correct.

Thanks,
- Tsunehisa Doi
# HG changeset patch
# User Doi.Tsunehisa@xxxxxxxxxxxxxx
# Date 1176091105 -32400
# Node ID e9ef197506a9b01300a76d1ee3d9f209a97d1c05
# Parent  5d9ab2d06709823714682be14a6b8719bffdcd18
Modify PV-on-HVM VNIF without using balloon on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>

diff -r 5d9ab2d06709 -r e9ef197506a9 
unmodified_drivers/linux-2.6/platform-pci/xen_support.c
--- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Thu Apr 05 
09:30:26 2007 -0600
+++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Mon Apr 09 
12:58:25 2007 +0900
@@ -51,6 +51,19 @@ int HYPERVISOR_grant_table_op(unsigned i
        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)
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.