]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block/get_block_status: avoid redundant callouts on raw devices
authorPeter Lieven <pl@kamp.de>
Tue, 8 Oct 2013 12:43:14 +0000 (14:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:49:59 +0000 (16:49 +0200)
commit92bc50a5ad7fbc9a0bd17240eaea5027a100ca79
tree105ca03529f39cc6d27eb0a89c36e498c61890f2
parent88fb15351284868b70fa1d5b101e809057fcc5aa
block/get_block_status: avoid redundant callouts on raw devices

if a raw device like an iscsi target or host device is used
the current implementation makes a second call out to get
the block status of bs->file.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/raw_bsd.c
include/block/block.h