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-users

Re: Spam:*, [Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS

To: Sebastian Roesner <xen@xxxxxxxxxxxxxxxxx>
Subject: Re: Spam:*, [Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS
From: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 00:04:01 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Aug 2005 14:03:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0508100123520.9186@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.61.0508100123520.9186@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)
Hi Sebastion,

Sebastian Roesner wrote:

> Hello,
>
> I have a problem using CONFIG_XEN_PHYSDEV_ACCESS. I want to access a
> network adapter directly from a Domain != 0 (Router domain). So I enabled
> CONFIG_XEN_PHYSDEV_ACCESS and PCI support in the kernel. But then I
> can't start the domain anymore, even if I don't select any hardware
> driver in the kernel config.
>
> My .config-File for the Domain can be found at
> http://sr.dyndns.org/~sroesner/config-physdev

you need all the following options set to y for your router domain

# CONFIG_XEN_PRIVILEGED_GUEST is not set
CONFIG_XEN_PHYSDEV_ACCESS=y
# CONFIG_XEN_BLKDEV_BACKEND is not set
# CONFIG_XEN_NETDEV_BACKEND is not set

> -- xen config file --
> kernel = "/boot/vmlinuz-2.6.11-xenU-router"
> memory = 64
> name = "Router"
> nics=0
> disk = [ 'file:/vm/router,sda1,w' ]
> root = "/dev/sda1 ro"
> -- /xen config file --

you need a pci statement in there describing your network card, like:
pci = ['x,y,z']

where you have a matching stanza on your kernel line
in grub/menu.lst to hide the device from dom0
physdev_dom0_hide=(x:y.z)

Marcus.

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

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