mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-24 21:34:47 +03:00
devices: tpm: Drop unnecessary defaults setting
Libvirt does the same for these two values, so don't bother duplicating
This commit is contained in:
parent
bd6f751657
commit
1bf970627e
@ -69,7 +69,3 @@ class DeviceTpm(Device):
|
||||
self.type = self.TYPE_PASSTHROUGH
|
||||
if not self.model:
|
||||
self.model = self.MODEL_TIS
|
||||
if not self.version and self.supports_property("version"):
|
||||
self.version = self.VERSION_1_2
|
||||
if not self.device_path and self.supports_property("device_path"):
|
||||
self.device_path = "/dev/tpm0"
|
||||
|
Loading…
Reference in New Issue
Block a user