« Previous | Next » 

Revision 6405875c

ID6405875cdd10e531ad3dedaad86ae1ccc4b14f20

Added by Paolo Bonzini almost 12 years ago

block: move field reset from bdrv_open_common to bdrv_close

bdrv_close should leave fields in the same state as bdrv_new. It is
not up to bdrv_open_common to fix the mess.

Also, backing_format was not being re-initialized.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences