mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Add directsync cache mode support for disk driver
Newer QEMU introduced cache=directsync for -drive, this patchset
is to expose it in libvirt layer.
* Introduced a new QEMU capability flag ($prefix_CACHE_DIRECTSYNC),
As even $prefix_CACHE_V2 is set, we can't known if directsync
is supported.
This commit is contained in:
1 parent
ddcd5674aa
commit
6ee52c1b76
10 files changed
+41
-11
No files matched your search
@@ -976,7 +976,9 @@
|
||||
<li>
|
||||
The optional <code>cache</code> attribute controls the
|
||||
cache mechanism, possible values are "default", "none",
|
||||
"writethrough" and "writeback".
|
||||
"writethrough", "writeback", and "directsync". "directsync"
|
||||
is like "writethrough", but it bypasses the host page
|
||||
cache.
|
||||
<span class="since">Since 0.6.0</span>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
@@ -829,6 +829,7 @@
|
||||
<value>none</value>
|
||||
<value>writeback</value>
|
||||
<value>writethrough</value>
|
||||
<value>directsync</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</define>
|
||||
|
||||
Reference in new issue
Block a user