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] [xen-unstable] blktap: Extend userland busid to 32 bits

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap: Extend userland busid to 32 bits
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Jun 2008 16:00:36 -0700
Delivery-date: Sat, 28 Jun 2008 16:01:38 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1214579336 -3600
# Node ID 10e79ad54c91d2b93bffe7e8b16b6f358d89e61f
# Parent  3edc443ae8ce80742db2e2a90a260ffac1a7377e
blktap: Extend userland busid to 32 bits

Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
---
 tools/blktap/drivers/blktapctrl.c |    2 +-
 tools/blktap/lib/blktaplib.h      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 3edc443ae8ce -r 10e79ad54c91 tools/blktap/drivers/blktapctrl.c
--- a/tools/blktap/drivers/blktapctrl.c Fri Jun 27 14:43:29 2008 +0100
+++ b/tools/blktap/drivers/blktapctrl.c Fri Jun 27 16:08:56 2008 +0100
@@ -127,7 +127,7 @@ static int get_new_dev(int *major, int *
        char *devname;
        
        tr.domid = blkif->domid;
-        tr.busid = (unsigned short)blkif->be_id;
+        tr.busid = blkif->be_id;
        ret = ioctl(ctlfd, BLKTAP_IOCTL_NEWINTF, tr );
        
        if ( (ret <= 0)||(ret > MAX_TAP_DEV) ) {
diff -r 3edc443ae8ce -r 10e79ad54c91 tools/blktap/lib/blktaplib.h
--- a/tools/blktap/lib/blktaplib.h      Fri Jun 27 14:43:29 2008 +0100
+++ b/tools/blktap/lib/blktaplib.h      Fri Jun 27 16:08:56 2008 +0100
@@ -161,7 +161,7 @@ typedef struct tapdev_info {
 
 typedef struct domid_translate {
        unsigned short domid;
-       unsigned short busid;
+       uint32_t busid;
 } domid_translate_t ;
 
 typedef struct image {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] blktap: Extend userland busid to 32 bits, Xen patchbot-unstable <=