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
parentISCSI: redo how we set up the events (diff)
downloadqemu-kvm-c7b4a95202032bf1a9e13dd9695389c0ed246eec.tar.gz
qemu-kvm-c7b4a95202032bf1a9e13dd9695389c0ed246eec.tar.bz2
qemu-kvm-c7b4a95202032bf1a9e13dd9695389c0ed246eec.zip
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 db41bb758..9cd258ff6 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;