Re: how to add LD_PRELOAD in the xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/26/22 3:44 PM, Marc wrote:

How should I add LD_PRELOAD to domain xml. I guess within:

<qemu:commandline>
     <qemu:arg value='env=LD_PRELOAD=/usr/lib64/libtcmalloc.so'/>
</qemu:commandline>

but this is generating syntax errors.

https://libvirt.org/kbase/qemu-passthrough-security.html

Note the bit in the example that shows:

    <qemu:env name='ID' value='wibble'/>

So try:

    <qemu:env name="LD_PRELOAD" value="/usr/lib64/libtcmalloc.so"/>




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux