mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-03 01:18:00 +03:00
cli: Add --serial source.tls=on|off
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
137cfdc347
commit
7ae10b5566
@ -602,7 +602,7 @@
|
||||
<certificate>/path/to/fake/cert2</certificate>
|
||||
</smartcard>
|
||||
<serial type="tcp">
|
||||
<source mode="bind" host="127.0.0.1" service="2222"/>
|
||||
<source mode="bind" host="127.0.0.1" service="2222" tls="yes"/>
|
||||
<protocol type="telnet"/>
|
||||
<log file="/tmp/foo.log" append="on"/>
|
||||
<target>
|
||||
|
@ -661,7 +661,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
|
||||
--input mouse,model=FOOBAR,xpath0.set=./@bus=usb,xpath2.set=./address/@type=usb,xpath6.set=./willbeoverwritten=foo,xpath6.create=./randomelement,xpath7.create=./deleteme,xpath8.delete=./deleteme,xpath9.set=./@model=,xpath10.set=./@type,xpath10.value=keyboard
|
||||
|
||||
|
||||
--serial char_type=tcp,host=:2222,mode=bind,protocol=telnet,log.file=/tmp/foo.log,log.append=yes,,target.model.name=pci-serial
|
||||
--serial char_type=tcp,host=:2222,mode=bind,protocol=telnet,log.file=/tmp/foo.log,log.append=yes,,target.model.name=pci-serial,source.tls=on
|
||||
--serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2,alias.name=testalias7
|
||||
--serial spiceport,source.channel=org.qemu.console.serial.0
|
||||
|
||||
@ -742,7 +742,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
|
||||
|
||||
|
||||
--rng /dev/random
|
||||
--rng device=/dev/urandom,backend.protocol.type=,backend.log.file=,backend.log.append=,backend.source.clipboard.copypaste=,backend.source.mouse.mode=,backend.source.channel=
|
||||
--rng device=/dev/urandom,backend.protocol.type=,backend.log.file=,backend.log.append=,backend.source.clipboard.copypaste=,backend.source.mouse.mode=,backend.source.channel=,backend.source.tls=
|
||||
--rng type=egd,backend.type=nmdm,backend.source.master=/dev/foo1,backend.source.slave=/dev/foo2
|
||||
--rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=udp,backend_mode=bind,backend_connect_host=foo,backend_connect_service=708,rate.bytes=1234,rate.period=1000,model=virtio
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
||||
##################
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user