[libvirt-users] Configure QCow2 L2 Cache through virt domain XML

Stefano Bonicatti smjert at gmail.com
Sun Feb 14 18:55:04 UTC 2016


Hello, i was wondering if it is possible to configure the l2 cache of a
qcow2 image through the domain xml.
I cannot find any documentation about it... the only thing i've found is
that i can pass custom options to qemu command line through the
<qemu:commandline> tag, but, to my understanding, that would mean entirely
remove the <disk> tag for the image and rewrite it as a list of args for
the command line.
Isn't there an easier way?

An example of what i'm speaking about
is: file=hd.qcow2,l2-cache-size=4194304,refcount-cache-size=262144
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160214/bfe1784d/attachment.htm>


More information about the libvirt-users mailing list