On Wed, Apr 11, 2018 at 14:12:39 +0300, Nikolay Shirokovskiy wrote:
Hi, all.
I want to add option to configure qcow2 cache size in domain xml. Looks like
this should be a driver option. As driver already has a lot of attributes and
even qcow2 has more then one cache I suggest something like this:
<driver type="qemu" type="qcow2">
<cache name="l2" size="1024" unit="KiB"/>
<cache name="refcount" size="256" unit="KiB"/>
</driver>
Last time the discussion ended on the fact that this isn't something a
normal user or a higher level management app would know how to setup
properly.
The sizes are usually too arcane to configure for users and even worse
if you want to expose it as a higher level setting.
This was the last attempt:
https://www.redhat.com/archives/libvir-list/2017-September/msg00553.html