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