« Previous | Next » 

Revision f9749f28

IDf9749f28b78be36471d3d0f5d4b6eed030f8942e

Added by Paolo Bonzini about 12 years ago

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 <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences