aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-26 09:41:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-05-28 14:04:14 +0200
commitc7b4a95202032bf1a9e13dd9695389c0ed246eec (patch)
tree7e2034ac2c28b5557fee29e675aab4ab90239237 /block
parentc9b9f6824fd82058f6918b64d8fd9b1578fac353 (diff)
downloadqemu-c7b4a95202032bf1a9e13dd9695389c0ed246eec.zip
qemu-c7b4a95202032bf1a9e13dd9695389c0ed246eec.tar.gz
qemu-c7b4a95202032bf1a9e13dd9695389c0ed246eec.tar.bz2
ISCSI: change num_blocks to 64-bit
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c
index db41bb7..9cd258f 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -38,7 +38,7 @@ typedef struct IscsiLun {
struct iscsi_context *iscsi;
int lun;
int block_size;
- unsigned long num_blocks;
+ uint64_t num_blocks;
int events;
} IscsiLun;