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

Re: [PATCH 0/4] libxl TPM emulator support



Hi Jason,

> This patch series adds support to libxl for QEMU to emulate a TPM with
> swtpm as a backend.
> 
> It reworks some ARM TPM support from Stefano to use the auto-started
> swtpm.
> 
> Since ARM uses the TIS interface, I expanded x86 to use either TIS or
> CRB for TPM 2.0.
> 
> On Ubuntu 22.04 (and probably others), swtpm has an AppArmor policy that
> restricts access to specific paths.  Those don't include /var/run/xen.
> I disabled AppArmor with `sudo aa-complain swtpm`.

`swtpm` have options to pass all files as file descriptor, maybe that's
an option to use? Or it's possible that's not going to work on Ubuntu
22.04 since you said the option to pass a file for the statefile appear
only in 0.7.0 (that version of ubuntu seems to have 0.6.3).

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.