diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-06-20 18:06:40 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-06-20 18:06:40 -0400 |
commit | 7ae10b5566ac4d8c7afd94499a9733ed42cf3d07 (patch) | |
tree | e1309539ca4644c5c2f0923c860c4c241a07afe3 /virtinst | |
parent | 137cfdc3471387256eef5a9065cc26cfdf91736b (diff) | |
download | virt-manager-7ae10b5566ac4d8c7afd94499a9733ed42cf3d07.tar.gz |
cli: Add --serial source.tls=on|off
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/cli.py | 1 | ||||
-rw-r--r-- | virtinst/devices/char.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/virtinst/cli.py b/virtinst/cli.py index 1c90f45e..91e55e8b 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -3408,6 +3408,7 @@ def _add_char_source_args(cls, prefix=""): _add_arg("source.clipboard.copypaste", "source.clipboard_copypaste", is_onoff=True) _add_arg("source.mouse.mode", "source.mouse_mode") _add_arg("source.channel", "source.channel") + _add_arg("source.tls", "source.tls", is_onoff=True) ################## diff --git a/virtinst/devices/char.py b/virtinst/devices/char.py index 01fc634b..eb6310df 100644 --- a/virtinst/devices/char.py +++ b/virtinst/devices/char.py @@ -44,6 +44,7 @@ class CharSource(XMLBuilder): master = XMLProperty("./@master") slave = XMLProperty("./@slave") mode = XMLProperty("./@mode") + tls = XMLProperty("./@tls", is_yesno=True) # for qemu-vdagent channel clipboard_copypaste = XMLProperty("./clipboard/@copypaste", is_yesno=True) |