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: [Xen-users] PCI-device passthrough to PV Guest is not working

To: Naveen BS <naveen.bs@xxxxxxxxxxx>
Subject: Re: [Xen-users] PCI-device passthrough to PV Guest is not working
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sun, 8 Nov 2009 20:06:54 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 08 Nov 2009 10:07:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BLU105-W73B7E61995978A96D6304E7AD0@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BLU105-W73B7E61995978A96D6304E7AD0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Sun, Nov 08, 2009 at 10:23:03PM +0530, Naveen BS wrote:
>    Hi,
> 
>    I am running 2.6.18.8-xen kernel as Dom0 with xen 3.3.0. And DomU is PV
>    guest 2.6.31.3 paravirt_ops kernel. PCI-
>    Device passthrough to DomU is not working in this setup.
> 
>    Some messages from Dmesg Output in DomU.
> 
>     PCI: Fatal: No config space access function found
>     PCI: System does not support PCI
>     PCI: System does not support PCI
>     XENBUS: Device with no driver: device/pci/0
>     XENBUS: Device with no driver: device/console/0
> 

upstream Linux kernel with pv_ops doesn't have pcifront support yet.

It was added to Jeremy's git tree a couple of days ago, but it's not
upstream yet. 

http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master

> 
>    Also, I observe that ACPI and APICs are also disabled in DomU. Here are
>    relevant messages.
>     ACPI in unprivileged domain disabled.
>     ACPI: Interpreter disabled.
>     APIC: disable apic facility
> 
>    Running lspci in DomU lists nothing.
> 
>    What could be the problem? Is PCI-device passthrough to PV guest
>    (2.6.31.3) with xen-3.3.0 supported?
>    Do I need to try different version of xen/Kernel? or need to try applying
>    some patches?
> 

linux-2.6.18.8-xen has pcifront support, so you could use that.

Or if you need more recent kernel in the guest, you could try applying
the novell/opensuse forward-ported xenlinux patches to 2.6.31.

Link here:
http://wiki.xensource.com/xenwiki/XenDom0Kernels

(it talks about dom0 kernels but those patches also work for domU).

-- Pasi


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

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