« Previous | Next » 

Revision e1b5c52e

IDe1b5c52e04d04bb93546c6e37e8884889d047cb1

Added by Stefan Hajnoczi over 10 years ago

block: ensure bdrv_drain_all() works during bdrv_delete()

In bdrv_delete() make sure to call bdrv_make_anon() after bdrv_close()
so that the device is still seen by bdrv_drain_all() when iterating
bdrv_states.

Cc:
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences