> > > > 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"/> Thank you very much Laine!!!