qemu-server/PVE/QemuServer
Fiona Ebner 87084b18dd drive: tpm: fix default version in schema
Since the check in start_swtpm() only checks for an explicitly
configured v2.0 to opt-in to version 2, the actual default is v1.2
and not v2.0 like the schema stated.

Of course, it would be nicer to have the default be v2.0, but changing
the check to use that default would break any TPM state without an
explicitly configured version.

There doesn't seem to be any code beside start_swtpm() accessing the
version.

Fixes: f9dde219 ("fix #3075: add TPM v1.2 and v2.0 support via swtpm")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-07-01 10:37:48 +02:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Cloudinit.pm fix #4085: properly activate cicustom storage(s) 2024-01-31 12:28:46 +01:00
CPUConfig.pm cpu config: fix get_cpu_bitness always reverting to default cpu type 2024-04-24 11:37:28 +02:00
Drive.pm drive: tpm: fix default version in schema 2024-07-01 10:37:48 +02:00
Helpers.pm vm start: set higher timeout if using PCI passthrough 2023-10-06 18:12:07 +02:00
ImportDisk.pm disk import: warn when fallback is used instead of requested format 2024-03-14 14:01:12 +01:00
Machine.pm api: create vm: fix missing import for serializing machine type 2024-04-20 12:27:30 +02:00
Makefile introduce QMPHelpers module 2023-09-18 17:08:48 +02:00
Memory.pm add memory parser 2023-09-18 17:08:48 +02:00
Monitor.pm monitor: allow passing timeout for a HMP command 2024-06-11 13:56:44 +02:00
OVF.pm parse ovf: untaint path when calling file_size_info 2022-03-11 10:45:59 +01:00
PCI.pm enable cluster mapped PCI devices for guests 2023-06-16 16:24:02 +02:00
QMPHelpers.pm introduce QMPHelpers module 2023-09-18 17:08:48 +02:00
USB.pm enable cluster mapped USB devices for guests 2023-06-16 16:24:02 +02:00