qemu: Pass file descriptor when using TPM passthrough
qemu: Pass file descriptor when using TPM passthrough

Pass the TPM file descriptor to QEMU via command line.
Instead of passing /dev/tpm0 we now pass /dev/fdset/10 and the additional
parameters -add-fd set=10,fd=20.

This addresses the use case when QEMU is started with non-root privileges
and QEMU cannot open /dev/tpm0 for example.

Signed-off-by: Stefan Berger <5c96973112e540fb909b13997fcd087e5bfbee96@linux.vnet.ibm.com>


taget/libvirt,taget/libvirt,nertpinx/libvirt,rlaager/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,datto/libvirt,taget/libvirt,jardasgit/libvirt,eskultety/libvirt,agx/libvirt,jardasgit/libvirt,crobinso/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,olafhering/libvirt,fabianfreyer/libvirt,eskultety/libvirt,zippy2/libvirt,agx/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,crobinso/libvirt,eskultety/libvirt,datto/libvirt,taget/libvirt,nertpinx/libvirt,andreabolognani/libvirt,agx/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,rlaager/libvirt,libvirt/libvirt,jfehlig/libvirt,jfehlig/libvirt,olafhering/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,rlaager/libvirt,zippy2/libvirt,nertpinx/libvirt,shugaoye/libvirt,libvirt/libvirt,shugaoye/libvirt,datto/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,taget/libvirt,libvirt/libvirt,datto/libvirt,agx/libvirt,agx/libvirt,andreabolognani/libvirt,olafhering/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,rlaager/libvirt,crobinso/libvirt,eskultety/libvirt,datto/libvirt,zippy2/libvirt,VenkatDatta/libvirt,rlaager/libvirt,olafhering/libvirt,jardasgit/libvirt,shugaoye/libvirt,VenkatDatta/libvirt