summaryrefslogtreecommitdiffstats
path: root/kvm-all.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-09-04 19:00:23 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-09-06 15:25:08 +0200
commit617ccb466e1937a5c99332ce77a47ebd29861ae4 (patch)
tree13686ac810955b6dcc9c1f155129f216d5d50904 /kvm-all.c
parentbdad13b9deec47d5d9eaf7f43867d19a79471244 (diff)
downloadhqemu-617ccb466e1937a5c99332ce77a47ebd29861ae4.zip
hqemu-617ccb466e1937a5c99332ce77a47ebd29861ae4.tar.gz
block: do not use ->total_sectors in bdrv_co_is_allocated
This is more robust when the device has removable media. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud