OS Manuals

/usr/bin/qemu-io

QEMU utils (FIPS)

From qemu-fips-utils 11.1.3-r0 (enterprise-packages), captured 2026-11-08 by running qemu-io --help (exit 0). permalink

Usage: qemu-io [OPTIONS]... [-c STRING]... [file]
QEMU Disk exerciser

  --object OBJECTDEF   define an object such as 'secret' for
                       passwords and/or encryption keys
  --image-opts         treat file as option string
  -c, --cmd STRING     execute command with its arguments
                       from the given string
  -f, --format FMT     specifies the block driver to use
  -r, --read-only      export read-only
  -s, --snapshot       use snapshot file
  -n, --nocache        disable host cache, short for -t none
  -C, --copy-on-read   enable copy-on-read
  -m, --misalign       misalign allocations for O_DIRECT
  -k, --native-aio     use kernel AIO implementation
                       (Linux only, prefer use of -i)
  -i, --aio=MODE       use AIO mode (threads, native or io_uring)
  -t, --cache=MODE     use the given cache mode for the image
  -d, --discard=MODE   use the given discard mode for the image
  -T, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]
                       specify tracing options
                       see qemu-img(1) man page for full description
  -U, --force-share    force shared permissions
  -h, --help           display this help and exit
  -V, --version        output version information and exit

See 'qemu-io -c help' for information on available commands.

See <https://qemu.org/contribute/report-a-bug> for how to report bugs.
More information on the QEMU project at <https://qemu.org>.
Options (17)
OptionDescriptionSource
--object OBJECTDEFdefine an object such as 'secret' for passwords and/or encryption keyshelp
--image-optstreat file as option stringhelp
-c, --cmd STRINGexecute command with its arguments from the given stringhelp
-f, --format FMTspecifies the block driver to usehelp
-r, --read-onlyexport read-onlyhelp
-s, --snapshotuse snapshot filehelp
-n, --nocachedisable host cache, short for -t nonehelp
-C, --copy-on-readenable copy-on-readhelp
-m, --misalignmisalign allocations for O_DIRECThelp
-k, --native-aiouse kernel AIO implementation (Linux only, prefer use of -i)help
-i, --aio MODEuse AIO mode (threads, native or io_uring)help
-t, --cache MODEuse the given cache mode for the imagehelp
-d, --discard MODEuse the given discard mode for the imagehelp
-T, --trace enable=]<patternspecify tracing options see qemu-img(1) man page for full descriptionhelp
-U, --force-shareforce shared permissionshelp
-h, --helpdisplay this help and exithelp
-V, --versionoutput version information and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.