blktap: Extend userland busid to 32 bits

Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
Keir Fraser committed 2008-06-27 16:08:56 +01:00
1 parent da43e50cb3
commit 4fe815abd1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ static int get_new_dev(int *major, int *minor, blkif_t *blkif)
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) ) {
+1 -1
View File
@@ -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 {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.