also sprach Michael Tokarev <[email protected]> [2012.05.02.1940 +0200]: > Ping? Any information about this bug?
I am afraid I have moved on and don't have the machine in front of
me anymore. The situation was that a guest needed to provide
a serial port to Windows, but the serial port was on another machine
than the host (using ser2net).
In the end, I was forced to add the following to the libvirt domain
XML:
<qemu:commandline>
<qemu:arg value='-serial'/>
<qemu:arg value='tcp:wall:2000'/>
</qemu:commandline>
because everything else didn't work.
I just tried this all again with Sid's kvm/libvirt and adding
a serial port with a TCP backend does seem to work, so we can close
the bug report…
<serial type='tcp'>
<source mode='connect' host='wall' service='2000'/>
<protocol type='raw'/>
<target port='0'/>
</serial>
<console type='tcp'>
<source mode='connect' host='wall' service='2000'/>
<protocol type='raw'/>
<target type='serial' port='0'/>
</console>
yields:
-chardev socket,id=charserial0,host=wall,port=2000 -device
isa-serial,chardev=charserial0,id=serial0
--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
"you raise the blade, you make the change
you rearrange me till i'm sane.
you lock the door, and throw away the key,
there's someone in my head but it's not me."
-- pink floyd, 1972
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

