mirror of
https://github.com/virt-manager/virt-manager.git
synced 2026-08-09 12:38:05 -05:00
addhardware: tpm: select version 2.0 by default
The full default selection of CRB + version 1.2 is explicitly rejected by libvirt. Select version 2.0 by default so it has a chance of working
This commit is contained in:
@@ -631,7 +631,8 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
values = []
|
||||
for t in DeviceTpm.VERSIONS:
|
||||
values.append([t, t])
|
||||
_build_combo(self.widget("tpm-version"), values)
|
||||
_build_combo(self.widget("tpm-version"), values,
|
||||
default_value=DeviceTpm.VERSION_2_0)
|
||||
|
||||
@staticmethod
|
||||
def _get_tpm_model_list(vm, tpmversion):
|
||||
|
||||
Reference in New Issue
Block a user