WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: [PATCH][1/10] Device model cleanup.

To: "Arun Sharma" <arun.sharma@xxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH][1/10] Device model cleanup.
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 30 Jun 2005 20:28:40 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 30 Jun 2005 19:27:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcV9o3o+rrr8rh8lSOitXUry+7cczQABFiPg
Thread-topic: [PATCH][1/10] Device model cleanup.
 
> > * I presume that the vncviewer is being forked from xm, but 
> that the 
> > vncconect is being issued from xend, which is why it needs 
> the $DISPLAY
> > ?    
> 
> 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?

In (b), what is actually forking the vncviewer, and when does it know
that the libvncserver is up and running?

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'd rather still ensure that support was always built into the qemu-dm
binary by ensuring the header files are present.

Best,
Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel