From 457a10d91d7158edd99253eaedc5220a28134341 Mon Sep 17 00:00:00 2001
From: Matthew Booth
A character device provides a way to interact with the virtual machine.
- Paravirtualized consoles, serial ports and parallel ports are all
- classed as character devices and so represented using the same syntax.
+ Paravirtualized consoles, serial ports, parallel ports and channels are
+ all classed as character devices and so represented using the same syntax.
Consoles, serial & parallel devices
+ Consoles, serial, parallel & channel devices
@@ -786,6 +786,10 @@ qemu-kvm -net nic,model=? /dev/null
<source path='/dev/pts/4'/>
<target port='0'/>
</console>
+ <channel type='unix'>
+ <source mode='bind' path='/tmp/guestfwd'/>
+ <target type='guestfwd' address='10.0.2.1' port='4600'/>
+ </channel>
</devices>
</domain>
@@ -862,6 +866,36 @@ qemu-kvm -net nic,model=? /dev/null
only 1 console.
+ This represents a private communication channel between the host and the + guest. +
+ ++ ... + <channel type='unix'> + <source mode='bind' path='/tmp/guestfwd'/> + <target type='guestfwd' address='10.0.2.1' port='4600'/> + </channel> + ...+ +
+ This can be implemented in a variety of ways. The specific type of
+ channel is given in the type
attribute of the
+ target
element. Different channel types have different
+ target
attributes.
+
guestfwd
target
+ element must have address
and port
attributes.
+ Since 0.7.3-- 2.39.5