: Extend blktap userland busid to 32-bits
PATCH 3/5 : Extend blktap userland busid to 32-bits
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 <[email protected]>
tools/blktap/drivers/blktapctrl.c +1 -1
@@ -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 ) ) {
tools/blktap/lib/blktaplib.h +1 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel