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

Re: [Xen-devel] Split Device Driver for video card?

To: xen-devel@xxxxxxxxxxxxxxxxxxx, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] Split Device Driver for video card?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 9 Jan 2008 17:27:53 +0000
Cc: Teddy Song <gtg464i@xxxxxxxxxxx>
Delivery-date: Wed, 09 Jan 2008 09:28:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080109154624.GE8732@xxxxxxxxxx>
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>
References: <BAY106-W424C16C9DE71E0338D87E0E4490@xxxxxxx> <20080109154624.GE8732@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
Teddy, are you running an HVM domain?  If so, you won't see many device nodes 
in Xenstore since HVM domains don't use split device drivers for most things.

Cheers,
Mark

On Wednesday 09 January 2008, Daniel P. Berrange wrote:
> On Wed, Jan 09, 2008 at 10:37:12AM -0500, Teddy Song wrote:
> > Hi, all.
> >
> > I am trying to figure out how split device drivers work in Xen. However,
> > when I start a guest domain, I only see the following fields showing up
> > in Xenstore:
> >
> > /local/domain/1/device/console/ .....
> > /local/domain/1/device/vbd/769/ .....
> >
> > I didn't see other /local/domain/1/device fields. Does it mean not all
> > device drivers in Xen follow the split device driver model? (in other
> > words, not all device drivers in Xen have a frontend and a backend) If
> > that's true, does video card device driver follow the split device driver
> > model?
>
> The console node you see  is actually the text mode console - this does
> not follow XEn's usual mode for split device drivers. The video card does
> follow the usual architecture - look for  'vfb' and 'vkbd' (keyboard/mouse)
> backend nodes in /local/domain/0/backend/{vfb,vkbd} and frontend nods in
> /local/domain/[guest id]/device/{vfb,vkbd}.  The only slightly unusual
> thing about the video driver is that the backend is a 100% pure userspace
> driver, whereas disk & network have their backends in kernel-space.
>
> Dan.



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>