« Previous | Next » 

Revision b4657855

IDb46578555c4bce64e3daba4591334aba2d12c156

Added by Stefan Hajnoczi over 12 years ago

qemu-io: delete bs instead of leaking it

Using bdrv_close() is not enough to free a BlockDriverState. Since we
explicitly create it with bdrv_new(), use bdrv_delete() to close and
delete it.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences