|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 3/4]: Extend blktap userland busid to 32-bits
(please ignore my [PATCH 3/5]; this is the same thing with a proper subject)
This patch just extends the busid in the userland tools to 32-bits to match the
extension we made in the last patch in the kernel.
Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
diff -r dedfadeadf86 tools/blktap/drivers/blktapctrl.c
--- a/tools/blktap/drivers/blktapctrl.c Fri Jun 20 18:42:45 2008 +0100
+++ b/tools/blktap/drivers/blktapctrl.c Mon Jun 23 17:48:13 2008 +0200
@@ -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 dedfadeadf86 tools/blktap/lib/blktaplib.h
--- a/tools/blktap/lib/blktaplib.h Fri Jun 20 18:42:45 2008 +0100
+++ b/tools/blktap/lib/blktaplib.h Mon Jun 23 17:48:13 2008 +0200
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH 3/4]: Extend blktap userland busid to 32-bits,
Chris Lalancette <=
|
|
|
|
|