7.3. I/O Mode
I/O mode options can be configured with virt-manager during guest installation, or on an existing guest virtual machine by editing the guest XML configuration.
IO Mode Option | Description |
---|---|
IO=native | The default for Red Hat Virtualization (RHV) environments. This mode refers to kernel asynchronous I/O with direct I/O options. |
IO=threads | The default are host user-mode based threads. |
IO=default | The default in Red Hat Enterprise Linux 7 is threads mode. |
In virt-manager, the I/O mode can be specified under Virtual Disk. For information on using virt-manager to change the I/O mode, see Section 3.3, “Virtual Disk Performance Options”
To configure the I/O mode in the guest XML, edit the
io
setting inside the driver
tag, specifying native
, threads
, or default
. For example, to set the I/O mode to threads
:
<disk type='file' device='disk'> <driver name='qemu' type='raw' io='threads'/>