aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-12-03 15:31:25 +0100
committerKevin Wolf <kwolf@redhat.com>2014-01-24 17:40:02 +0100
commit793ed47a7a2b09b67cb2a8863dff531436532b5c (patch)
tree3a5d1e5b7a0a0ef74e1b12af6f7c8eafe3d92579 /include
parent6601553e27091ffe240bea69227adce941fe12e8 (diff)
downloadqemu-793ed47a7a2b09b67cb2a8863dff531436532b5c.zip
qemu-793ed47a7a2b09b67cb2a8863dff531436532b5c.tar.gz
qemu-793ed47a7a2b09b67cb2a8863dff531436532b5c.tar.bz2
block: Switch BdrvTrackedRequest to byte granularity
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 5f9cecd..bcdd98c 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -57,8 +57,8 @@
typedef struct BdrvTrackedRequest {
BlockDriverState *bs;
- int64_t sector_num;
- int nb_sectors;
+ int64_t offset;
+ unsigned int bytes;
bool is_write;
QLIST_ENTRY(BdrvTrackedRequest) list;
Coroutine *co; /* owner, used for deadlock detection */