summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorRoman Kagan2015-04-28 09:46:36 +0200
committerStefan Hajnoczi2015-05-22 10:37:31 +0200
commit2944256997dd8b080f8b0cc062e4b663cb2ec09c (patch)
treedc88cca0cd662712285d44f068687b72c880e075 /include/exec/exec-all.h
parentblock/parallels: rename parallels_header to ParallelsHeader (diff)
downloadqemu-2944256997dd8b080f8b0cc062e4b663cb2ec09c.tar.gz
qemu-2944256997dd8b080f8b0cc062e4b663cb2ec09c.tar.xz
qemu-2944256997dd8b080f8b0cc062e4b663cb2ec09c.zip
block/parallels: switch to bdrv_read
Switch the .bdrv_read method implementation from using bdrv_pread() to bdrv_read() on the underlying file, since the latter is subject to i/o throttling while the former is not. Besides, since bdrv_read() operates in sectors rather than bytes, adjust the helper functions to do so too. Signed-off-by: Roman Kagan <rkagan@parallels.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Denis V. Lunev <den@openvz.org> Message-id: 1430207220-24458-4-git-send-email-den@openvz.org CC: Kevin Wolf <kwolf@redhat.com> CC: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions