« Previous | Next » 

Revision edff5db1


Added by Stefan Hajnoczi over 10 years ago

qemu-io: Add discard command

discard [-Cq] off len -- discards a number of bytes at a specified

discards a range of bytes from the given offset
'discard 512 1k' - discards 1 kilobyte from 512 bytes into the file
Discards a segment of the currently open file.
C, - report statistics in a machine parsable format
q, - quite mode, do not show I/O statistics

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences