« Previous | Next » 

Revision 5ea929e3

ID5ea929e3d13622e5d06ca8795819f1590644cda2

Added by Kevin Wolf about 13 years ago

qcow2: Add bdrv_discard support

This adds a bdrv_discard function to qcow2 that frees the discarded clusters.
It does not yet pass the discard on to the underlying file system driver, but
the space can be reused by future writes to the image.

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences