On Fri, Dec 20, 2024 at 01:48:48 -0500, Pascal Proulx via Users wrote:
> Hello,
>
> How can I override the libvirt-qemu user defined in
> /etc/libvirt/qemu.conf using a per-domain (virtual machine) override
> using the domain XML definitions? I can find qemu arg overrides but not
> this and I may have missed it.
I believe the following XML should do it
<seclabel type='static' model='dac' relabel='yes'>
<label>user:group</label>
<imagelabel>user:group</imagelabel>
</seclabel>
The <imagelabel> element may not be needed depending on who owns the
images and what mode they have.
Jirka