Subject: Re: Exporting PCI devices to unpriviledged domains.
To: Ceri Storey <>
From: Manuel Bouyer <>
List: port-xen
Date: 08/19/2005 19:21:41
On Tue, Aug 16, 2005 at 11:14:02PM +0100, Ceri Storey wrote:
> On Sun, Aug 14, 2005 at 10:16:20PM +0100, Ceri Storey wrote:
> > Hi.
> > 
> > I'm currently attempting to export my wireless network card (suppoted by 
> > ral(4)) to an unpriviledged Xen domain running under NetBSD, with Linux as 
> > Domain 0. 
> Well, some small amount of hacking later, I've gotten this to work, and
> have been able to successfully use my wireless lan card from a domU.

thanks for the patch. It needed some additonnal changes, but with
the code I commited a current XenU kernel can make use of the
USB controller on my system. The bus_dma(9) code will need more fix
to deal gracefully with fragmented memory though (right now, ahc(4) doens't
initialise properly on my system because of this).

> The isa code could probably do with a simiar refactoring, too, perhaps.

It would be mostly cosmetic, as, as far as I can tell, there's no way
to export ISA devices to domU domains (which prevents using a VGA
adapter in a domU :(

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference