« Previous | Next » 

Revision 2d246f01

ID2d246f01d374c1a10c48c45aa931aa18f0a56634

Added by Kevin Wolf almost 11 years ago

blockdev: Introduce DriveInfo.enable_auto_del

BlockDriverStates shouldn't be affected by an unplugged guest device,
except if created with the legacy -drive command line option or the
drive_add HMP command.

Make the automatic deletion as well as cancelling of jobs conditional on
an enable_auto_del boolean that is only set in drive_init().

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>
Reviewed-by: Wenchao Xia <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences