Subject: Re: Exporting PCI devices to unpriviledged domains.
To: Juan RP <juan@xtrarom.org>
From: Ceri Storey <cez@necrofish.org.uk>
List: port-xen
Date: 08/14/2005 23:38:48
On Mon, Aug 15, 2005 at 12:19:56AM +0200, Juan RP wrote:
> On Sun, 14 Aug 2005 22:16:20 +0100
> Ceri Storey <cez@necrofish.org.uk> 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.  So, what I've done is built a XenU kernel with
> > DOM0OPS defined, and adding appropriate attachments for pci busses,
> > and the card itself.

> You shouldn't use DOM0OPS in unpriviligied domains, that's what are you
> using?

Indeed--that's what I thought. However, I found this line in
/usr/src/sys/arch/xen/conf/files.xen.

file    arch/xen/xen/pci_machdep.c      hypervisor & dom0ops

> Have you tried just booting the XenU kernel?
> 

Yeah, that boots fine. However, it doesn't have pci support.

-- 
Ceri Storey <cez@necrofish.org.uk>
'What I really want is "apt-get smite"' 
    --Rob Partington <http://rjp.frottage.org>