I'm trying to get the following working:
Serial port (/dev/ttyS0) passthrough to a PV or HVM domain, together with
xenfb and usb passthrough.
passthrough of the serial port works fine in a PV without xenfb (and so
without qemu) by using the following lines in the config:
irq = 
ioports = ["3f8-3ff"]
vfb = [ 'vnc=1,vnclisten=0.0.0.0,vncunused=1' ]
it will use qemu, so the lines above don't work anymore.
Now it uses qemu which is the same for HVM and PVM
using serial='/dev/ttyS0' in the config files doesn't work, although it
should according to
the qemu manpages.
echo "test" > /dev/ttyS0
on the host,and
on the guest, to test it, it shows nothing on the guest
when using serial=pty in the config file, and using
echo "test" > /dev/pts/0
on the host,and
on the guest, to test it, it shows the test string on the guest
socat /dev/ttyS0 /dev/pts/0 works passing through the hardware serial port
to the guest, but it's not very elegant since the pts/0 could change.
- Shouldn't the serial='/dev/ttyS0' config option work in the first place
for the qemu domains (PV or HVM) ?
- is xenfb and thus x11 support indeed only available on PV's using qemu ?
- is there any other way to get sdl/vnc graphics in a domU together with
serial port passthrough, without using external tools as socat ?
- wouldn't it be nice to have some sort of standardization in all the
available passthrough options, or at least an overview in Dom0 of what is
passthrouged to what in the different guest domains.
There are quite a few variables at the moment:
-xend-PV or qemu-PV/HVM.
-PCI or USB or serial or parport passthrough.
-with or without VT-D/iommu support.
And it is difficult to find out the status (working/partially/not-working)
of all these options it leads to. It also means there is not much
I hope anyone can help ...
Xen-devel mailing list