aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-08 16:52:00 +0200
committerKevin Wolf <kwolf@redhat.com>2012-06-15 14:03:42 +0200
commitf9749f28b78be36471d3d0f5d4b6eed030f8942e (patch)
tree53479d961347b3e2b3c8aeb83058ee9f9fffca48 /qga
parent5500316ded9db5b10072334cde1e27fb37682240 (diff)
stream: tweak usage of bdrv_co_is_allocated
is_allocated_base has complex semantics that are not really usable outside streaming. Split the check in two parts, where the allocated state for the top bs is moved to the caller. The resulting function is more generally useful. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions