mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
testdriver: Add some <console> devices
This commit is contained in:
parent
8e460dce1d
commit
a3493c8a50
@ -226,15 +226,18 @@
|
||||
</hostdev>
|
||||
|
||||
|
||||
<!-- serial/parallel devices -->
|
||||
<!-- serial devices -->
|
||||
<serial type='null'/>
|
||||
<parallel type='file'>
|
||||
<source path='/tmp/foo.log'/>
|
||||
</parallel>
|
||||
<serial type='tcp'>
|
||||
<source mode='bind' host='my.source.host' service='1234'/>
|
||||
<protocol type='telnet'/>
|
||||
</serial>
|
||||
|
||||
|
||||
<!-- parallel devices -->
|
||||
<parallel type='file'>
|
||||
<source path='/tmp/foo.log'/>
|
||||
</parallel>
|
||||
<parallel type='unix'>
|
||||
<source mode='bind' path='/tmp/foobar'/>
|
||||
</parallel>
|
||||
@ -244,6 +247,29 @@
|
||||
</parallel>
|
||||
|
||||
|
||||
<!-- console devices -->
|
||||
<console type='pty'>
|
||||
<target type='virtio'/>
|
||||
</console>
|
||||
<console type='pty'>
|
||||
<target type='uml'/>
|
||||
</console>
|
||||
|
||||
|
||||
<!-- channel devices -->
|
||||
<channel type='pipe'>
|
||||
<source path='/tmp/guestfwd'/>
|
||||
<target type='guestfwd' address='10.0.2.1' port='4600'/>
|
||||
</channel>
|
||||
<channel type='spicevmc'>
|
||||
<target type='virtio' name='com.redhat.spice.0'/>
|
||||
<address type='virtio-serial' controller='1' bus='0' port='3'/>
|
||||
</channel>
|
||||
<channel type='pty'>
|
||||
<target type='virtio' name='org.linux-kvm.port.0'/>
|
||||
</channel>
|
||||
|
||||
|
||||
<!-- watchdog devices -->
|
||||
<watchdog model='ib700' action='poweroff'/>
|
||||
|
||||
@ -264,20 +290,6 @@
|
||||
</smartcard>
|
||||
|
||||
|
||||
<!-- channel devices -->
|
||||
<channel type='pipe'>
|
||||
<source path='/tmp/guestfwd'/>
|
||||
<target type='guestfwd' address='10.0.2.1' port='4600'/>
|
||||
</channel>
|
||||
<channel type='spicevmc'>
|
||||
<target type='virtio' name='com.redhat.spice.0'/>
|
||||
<address type='virtio-serial' controller='1' bus='0' port='3'/>
|
||||
</channel>
|
||||
<channel type='pty'>
|
||||
<target type='virtio' name='org.linux-kvm.port.0'/>
|
||||
</channel>
|
||||
|
||||
|
||||
<!-- redir devices -->
|
||||
<redirdev bus='usb' type='tcp'>
|
||||
<source mode='connect' host='localhost' service='4000'/>
|
||||
|
Loading…
Reference in New Issue
Block a user