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-devel

[Xen-devel] [PATCH][VT] Grant table setup needs to be overridden on unmo

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][VT] Grant table setup needs to be overridden on unmodified domains
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Fri, 12 Aug 2005 13:11:45 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Aug 2005 20:11:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
Grant table setup needs to be overridden on unmodified domains

We can't use a fixmap on unmodified domains. 

Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

--- a/linux-2.6-xen-sparse/arch/xen/kernel/gnttab.c     Fri Aug 12 17:35:15 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/gnttab.c     Fri Aug 12 13:08:25 2005
@@ -330,6 +330,7 @@
 
 #endif /* CONFIG_PROC_FS */
 
+#ifdef CONFIG_XEN
 int gnttab_resume(void)
 {
     gnttab_setup_table_t setup;
@@ -358,6 +359,7 @@
 
     return 0;
 }
+#endif
 
 static int __init gnttab_init(void)
 {

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][VT] Grant table setup needs to be overridden on unmodified domains, Arun Sharma <=