diff options
author | Cole Robinson <crobinso@redhat.com> | 2021-01-24 18:53:22 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2021-01-24 18:54:54 -0500 |
commit | 56cb813d42af8250b20d6d5516faa026e2fb7c76 (patch) | |
tree | 6b80ff42bdb9feab9f4b30636efa8bf395370451 /virtinst/devices | |
parent | 2862f1be98a1fae26ea3a48797a33de76354636f (diff) | |
download | virt-manager-56cb813d42af8250b20d6d5516faa026e2fb7c76.tar.gz |
cli: Add --tpm persistent_state=
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst/devices')
-rw-r--r-- | virtinst/devices/tpm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/virtinst/devices/tpm.py b/virtinst/devices/tpm.py index 03907e2b..2130f1b0 100644 --- a/virtinst/devices/tpm.py +++ b/virtinst/devices/tpm.py @@ -30,6 +30,8 @@ class DeviceTpm(Device): model = XMLProperty("./@model") device_path = XMLProperty("./backend/device/@path") encryption_secret = XMLProperty("./backend/encryption/@secret") + persistent_state = XMLProperty( + "./backend/@persistent_state", is_yesno=True) ################## |