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

[Xen-changelog] grant-tables.txt:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] grant-tables.txt:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 20 Apr 2005 18:39:42 +0000
Delivery-date: Wed, 20 Apr 2005 21:02:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1344, 2005/04/20 19:39:42+01:00, cwc22@xxxxxxxxxxxxxxxxxxxxxx

        grant-tables.txt:
          fix to error check condition after map
        blkback.c:
          bug fix to grant table code in block backend
        Kconfig:
          amend config entry for XEN_BLKDEV_GRANT



 docs/misc/grant-tables.txt                            |    2 +-
 linux-2.6.11-xen-sparse/arch/xen/Kconfig              |    2 +-
 linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/docs/misc/grant-tables.txt b/docs/misc/grant-tables.txt
--- a/docs/misc/grant-tables.txt        2005-04-20 17:02:33 -04:00
+++ b/docs/misc/grant-tables.txt        2005-04-20 17:02:33 -04:00
@@ -120,7 +120,7 @@
 
         for ( i = 0; i < BATCH_SIZE; i++ )
         {
-            if ( unlikely(aop[i].u.map_grant_ref.dev_bus_addr == 0) )
+            if ( unlikely(aop[i].u.map_grant_ref.handle < 0) )
             {
                 tidyup_all(aop, i);
                 goto panic;
diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/Kconfig 
b/linux-2.6.11-xen-sparse/arch/xen/Kconfig
--- a/linux-2.6.11-xen-sparse/arch/xen/Kconfig  2005-04-20 17:02:33 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/Kconfig  2005-04-20 17:02:33 -04:00
@@ -62,7 +62,7 @@
           modified to use grant tables.
 
 config XEN_BLKDEV_GRANT
-        bool "Grant table substrate for block drivers (DANGEROUS)"
+        bool "Grant table substrate for block drivers"
         depends on !XEN_BLKDEV_TAP_BE
         default y
         help
diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c 
b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     2005-04-20 
17:02:33 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     2005-04-20 
17:02:33 -04:00
@@ -516,11 +516,11 @@
 
     for ( i = 0; i < nseg; i++ )
     {
+        fas         = req->frame_and_sects[i];
 #ifdef CONFIG_XEN_BLKDEV_GRANT
         seg[i].buf  = (aop[i].u.map_grant_ref.dev_bus_addr << PAGE_SHIFT) |
                       (blkif_first_sect(fas) << 9);
 #else
-        fas          = req->frame_and_sects[i];
         seg[i].buf  = (fas & PAGE_MASK) | (blkif_first_sect(fas) << 9);
         seg[i].nsec = blkif_last_sect(fas) - blkif_first_sect(fas) + 1;
         if ( seg[i].nsec <= 0 )

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] grant-tables.txt:, BitKeeper Bot <=