mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
This commit add support for vTPM devices: * TPM devices can be enabled by adding TPM = [ MODEL = "..." attribute to the VM. Only model is supported * vTPM data is saved (and restored) as part of the backup information for the VM. The TPM data is saved as a tarball with the special name disk.tpm.0. This way backup drivers manage this as another disk. When restoring from a backup, the saved TPM state is stored into the new VM template using the attribute "TPM_STATE" (base64 encoded). * A new sudo action has been added to the kvm driver to prepare the tpm folder Note: Packages setup TPM permissions to oneadmin in libvirtd configuration files.