WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

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

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [Patch] Modify PV-on-HVM VNIF without using balloon on IPF
From: DOI Tsunehisa <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Date: Mon, 09 Apr 2007 13:34:09 +0900
Delivery-date: Sun, 08 Apr 2007 21:33:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
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
<Prev in Thread] Current Thread [Next in Thread>