1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="ts_ide-sata-flush">
|
---|
4 | <title>Responding to Guest IDE/SATA Flush Requests</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p> If required, the virtual disk images can be flushed when the guest issues the IDE FLUSH
|
---|
8 | CACHE command. Normally these requests are ignored for improved performance. The parameters
|
---|
9 | below are only accepted for disk drives. They must not be set for DVD drives. </p>
|
---|
10 | <p>
|
---|
11 | To enable flushing for IDE disks, issue the following command:
|
---|
12 | </p>
|
---|
13 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/piix3ide/0/LUN#[<varname>x</varname>]/Config/IgnoreFlush" 0</pre>
|
---|
14 | <p><codeph>[<varname>x</varname>]</codeph> specifies the
|
---|
15 | disk. Enter <codeph>0</codeph> for device 0 on the primary
|
---|
16 | channel, <codeph>1</codeph> for device 1 on the primary
|
---|
17 | channel, <codeph>2</codeph> for device 0 on the secondary
|
---|
18 | channel, or <codeph>3</codeph> for device 1 on the secondary
|
---|
19 | channel.
|
---|
20 | </p>
|
---|
21 | <p>
|
---|
22 | To enable flushing for SATA disks, issue the following command:
|
---|
23 | </p>
|
---|
24 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush" 0</pre>
|
---|
25 | <p>
|
---|
26 | The value [x] that selects the disk can be a value between 0 and
|
---|
27 | 29.
|
---|
28 | </p>
|
---|
29 | <p>
|
---|
30 | Note that this does not affect the flushes performed according
|
---|
31 | to the configuration described in
|
---|
32 | <xref href="ts_config-periodic-flush.dita#ts_config-periodic-flush"/>. Restoring the
|
---|
33 | default of ignoring flush commands is possible by setting the
|
---|
34 | value to 1 or by removing the key.
|
---|
35 | </p>
|
---|
36 | </body>
|
---|
37 |
|
---|
38 | </topic>
|
---|