|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH][1/10] Device model cleanup.
Ian Pratt wrote:
Rolf applied a patch sometime back that has two separate ways
of connect a vncviewer to device models:
a) vncviewer -listen (port communicated to xend and then to
qemu via -vncconnect). This is forked from xm.
b) libvncserver within qemu-dm (-vncport). This is forked from xend.
And then
c) the user may choose vnc=0 sdl=1.
Just to check I understand:
In (a), xm forks off vncviewer, qemu-dm runs libvncserver and then
connects back to the viewer. I presume we can still fix the local port
with -vncport?
-vncport is for (b). For (a) the user doesn't get to specify the local
port - an unused local port is auto picked.
In (b), what is actually forking the vncviewer, and when does it know
that the libvncserver is up and running?
For (b) the user manually starts the vncviewer, possibly from a
different machine.
For (c), we just pop up an Xwindow on the Display.
* we still need some tests when building to ensure libvncserver and
libsvg are installed. As the current behaviour when they're not is
confusing -- I think its better to refuse to build ioemu if they're
not installed.
Not all distributions are shipping libvncserver (for eg: FC4 didn't).
Once we resolve that I think it's a reasonable thing to do.
Can we fail to support vnc gracefully at run time if the library isn't
present?
I think so. This is how VMX on FC4 works. We'll verify and send patches
if anything is broken..
-Arun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|