[libvirt] [RFC] add option to configure qcow2 cache sizes in domain xml

Peter Krempa pkrempa at redhat.com
Wed Apr 11 11:41:45 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180411/f38afe37/attachment-0001.sig>


More information about the libvir-list mailing list