All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Mark Williamson <mark.williamson@cl.cam.ac.uk>
Cc: "Retzki, Sascha [Xplain]" <sascha.retzki@xplain.de>,
	xen-devel@lists.xensource.com, Daniel Hulme <dh286@cam.ac.uk>
Subject: Re: virtualGraphicCards
Date: Wed, 07 Sep 2005 14:31:19 -0500	[thread overview]
Message-ID: <431F4007.9040207@us.ibm.com> (raw)
In-Reply-To: <200509071558.56640.mark.williamson@cl.cam.ac.uk>

Mark Williamson wrote:

>The idea is that the graphical console will have "back/front" structure 
>similar to the other devices, with a viewer in dom0 reading screen data from 
>the guest and either displaying it, or exporting it over the network.
>
>The question here is: do we write a kernel framebuffer driver for this (and 
>get the X server to use that) or implement it in the X server directly?  I 
>think the former solution is probably going to have the best cost/benefit.
>  
>
I agreed with Mark up until very recently.  Doing some (unscientific) 
analysis of the cost of framebuffer rendering leads me to belief that 
it's not necessarily worth having a kernel framebuffer for para-virtual 
domains.

IMHO, a better solution would be to use Xvnc and have a terminal => VNC 
server (that could also proxy a VNC session).  Here's how I think it 
would look:

Every domain has a dedicated network interface for VNC.  Domains are 
configured with Xvnc with reverse VNC.  Each domain has a XenVNC 
instance running on dom0, the XenVNC daemon either 1) exposes the 
console via VNC (perhaps with ggiterm) or 2) proxies the domain's Xvnc 
session.

Depending on where the device model ends up, for full virtual domains 
you can just expose the VNC session from the device model directly or 
proxy it in dom0.

The real benefit with this approach is you do the VNC encoding in the X 
server (and can take advantage of all of that information) as opposed to 
rendering to a flat buffer and then trying to expose that buffer 
directly.  In fact, this is the only way to take advantage of the remote 
cursor pseudo-encodings in VNC which IMO has the most dramatic effect on 
VNC usability.

Just a thought.

Regards,

Anthony Liguori

>One thing that's important (IMHO) is not to require networking in order to get 
>the virtual display - makes it easier to install, configure stuff, etc via a 
>graphical interface.
>
>Cheers,
>Mark
>
>  
>
>>Do you mean how the virtual graphics card is "seen" by the dom0? Or/And
>>accessed?
>>
>>Imho, a glue-layer could abstract several approaches, for example 9P
>>(the Plan9-folks love it, I did not have the time to test it and thus I
>>don't have an opinion yet. However, I believe it is good ;-)) and VNC,
>>and the dom0 decides itsself howto access the "data" - this would be
>>pretty good because some OSes (which may be dom0-cabable some day) may
>>find method-N better (are optimized for it) than method-M... and so on
>>;-)
>>
>>
>>
>>_______________________________________________
>>Xen-devel mailing list
>>Xen-devel@lists.xensource.com
>>http://lists.xensource.com/xen-devel
>>    
>>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
>
>  
>

  reply	other threads:[~2005-09-07 19:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07 10:52 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 14:58 ` virtualGraphicCards Mark Williamson
2005-09-07 19:31   ` Anthony Liguori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-07 15:45 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 15:55 ` virtualGraphicCards Mark Williamson
2005-09-07 21:15   ` virtualGraphicCards Anthony Liguori
2005-09-08  0:19     ` virtualGraphicCards Mark Williamson
2005-09-07 15:11 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 15:24 ` virtualGraphicCards Mark Williamson
2005-09-07 15:25 ` virtualGraphicCards Daniel Hulme
2005-09-07  9:59 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 10:07 ` virtualGraphicCards Daniel Hulme

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=431F4007.9040207@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=dh286@cam.ac.uk \
    --cc=mark.williamson@cl.cam.ac.uk \
    --cc=sascha.retzki@xplain.de \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.