All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Teddy Song <gtg464i@hotmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Split Device Driver for video card?
Date: Wed, 9 Jan 2008 15:46:24 +0000	[thread overview]
Message-ID: <20080109154624.GE8732@redhat.com> (raw)
In-Reply-To: <BAY106-W424C16C9DE71E0338D87E0E4490@phx.gbl>

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.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2008-01-09 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 15:37 Split Device Driver for video card? Teddy Song
2008-01-09 15:46 ` Daniel P. Berrange [this message]
2008-01-09 17:27   ` Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2008-01-09 15:29 Teddy Song

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=20080109154624.GE8732@redhat.com \
    --to=berrange@redhat.com \
    --cc=gtg464i@hotmail.com \
    --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.