Revision eab5fd59 qapi-schema-guest.json

b/qapi-schema-guest.json
351 351
  'returns': 'int' }
352 352

  
353 353
##
354
# @guest-fstrim:
355
#
356
# Discard (or "trim") blocks which are not in use by the filesystem.
357
#
358
# @minimum:
359
#       Minimum contiguous free range to discard, in bytes. Free ranges
360
#       smaller than this may be ignored (this is a hint and the guest
361
#       may not respect it).  By increasing this value, the fstrim
362
#       operation will complete more quickly for filesystems with badly
363
#       fragmented free space, although not all blocks will be discarded.
364
#       The default value is zero, meaning "discard every free block".
365
#
366
# Returns: Nothing.
367
#
368
# Since: 1.2
369
##
370
{ 'command': 'guest-fstrim',
371
  'data': { '*minimum': 'int' } }
372

  
373
##
354 374
# @guest-suspend-disk
355 375
#
356 376
# Suspend guest to disk.

Also available in: Unified diff