virt-manager/virtinst
Daniel P. Berrangé eb58c09f48 virtinst/guest: enable a TPM by default if UEFI is present
The bare metal world is moving to a situation where UEFI is going to be
the only supported firmware and there will be a strong expectation for
TPM and SecureBoot support.

With this in mind, if we're enabling UEFI on a VM, it makes sense to
also provide a TPM alongside it.

Since this requires swtpm to be installed we can't do this
unconditionally. The forthcoming libvirt release expands the domain
capabilities to report whether TPMs are supported, so we check that.

The user can disable the default TPM by requesting --tpm none

https://github.com/virt-manager/virt-manager/issues/310
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-01-21 17:49:15 -05:00
..
devices devices: interface: Add support for testing different mac addresses 2021-10-12 15:14:06 -04:00
domain virtinst: allow to force create topology from scratch 2022-01-20 14:16:39 -05:00
install installerinject: Add error detection for initrd injection 2022-01-04 09:39:21 +00:00
__init__.py i18n: globally install also the ngettext function 2020-07-14 11:24:14 -04:00
_progresspriv.py tests: Add full test coverage for progress text output 2021-06-09 16:52:12 -04:00
buildconfig.py Prep for release 3.2.0 2020-11-14 16:15:22 -05:00
capabilities.py i18n: fix string puzzles in capabilities lookup error msgs 2020-09-17 15:38:42 -04:00
cli.py virtinst/guest: enable a TPM by default if UEFI is present 2022-01-21 17:49:15 -05:00
cloner.py cloner: mark transient_shareBacking disk as shareable 2021-06-22 12:47:28 -04:00
connection.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
diskbackend.py diskbackend: Restrict format->driver_type even more 2022-01-19 14:21:48 -05:00
domcapabilities.py virtinst/guest: enable a TPM by default if UEFI is present 2022-01-21 17:49:15 -05:00
generatename.py generatename: Move libvirt collision handling to callers 2019-06-11 17:54:45 -04:00
guest.py virtinst/guest: enable a TPM by default if UEFI is present 2022-01-21 17:49:15 -05:00
logger.py tests: abide logging options for clitests 2019-12-11 17:57:28 -05:00
network.py hostnets: Remove SR-IOV info listing 2019-06-16 23:48:51 -04:00
nodedev.py nodedev: Move the CLI string format lookup to cli.py 2022-01-21 13:20:46 -05:00
osdict.py osdict: Remove outdated 'no cover' annotation 2022-01-19 13:45:46 -05:00
pollhelpers.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
progress.py progress: Drop tqdm and revert back to local urlgrabber copy 2021-06-09 16:52:11 -04:00
snapshot.py virtinst: move UI only functions into virtManager 2019-06-09 18:33:45 -04:00
storage.py pylint: Fix some deprecation warnings and minor bits 2022-01-11 12:32:23 -05:00
support.py object: nodedev: support isActive state 2022-01-17 14:37:06 -05:00
uri.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00
virtclone.py Remove shebangs from library paths 2021-06-22 19:54:37 -04:00
virtinstall.py virtinst: refactor setting of default vcpus count 2022-01-20 14:16:39 -05:00
virtxml.py virt-xml: Don't regenerate defaults if both hotplugging and defining 2021-10-12 15:15:08 -04:00
xmlapi.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
xmlbuilder.py xmlbuilder: Make embedded device XML print correctly 2021-10-12 15:10:39 -04:00
xmlutil.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00