Show Table of Contents
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.
Table 7.2. IO mode options
| 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'/>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.