[libvirt] Xen + libvirt + TPM

Jim Fehlig jfehlig at suse.com
Tue Jan 7 02:26:59 UTC 2020

You posted the same message on the libvirt-user list, which would have been 
sufficient for this query. For the record, it was answered there



On 12/30/19 8:30 AM, Arthur Borsboom wrote:
> Hello,
> I am trying to get TPM 2.0 pass through to work with Xen and libvirt, but I 
> can't get it to work.
> According to the following sites both Xen and libirt have TPM 2.0 support.
> https://wiki.xen.org/wiki/Virtual_Trusted_Platform_Module_(vTPM)
> https://libvirt.org/formatdomain.html#elementsTpm
> However, when I add a TPM device to a VM (by virt-manager), the VM guest XML 
> does contain the TPM configuration, but the VM guest (linux) does not show any 
> TPM device.
> Also, when looking in /var/log/libvirt/libxl/vmguest.log there is no mention of 
> tpm in the (converted libvirt XML to libxl) vm structure.
> Is this because libvirt only supports TPM with QEMU?
> If so, are there any development plans for TPM support with XEN?
> Is there a workaround for the time being?
> Best regards,
> Arthur Borsboom.
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

More information about the libvir-list mailing list