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

RE: [Xen-devel] xen 3.3.0 pv pci passthrough co-assigned problem

To: "'stefan-neuwirth@xxxxxxxxxxx'" <stefan-neuwirth@xxxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xen 3.3.0 pv pci passthrough co-assigned problem
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 16 Oct 2008 17:53:17 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Thu, 16 Oct 2008 02:55:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1KqN9U-1RSwYi0@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1KqN9U-1RSwYi0@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckvX8T3AWR/Ua4eQuaEkw7KHWgfzwAEsxgA
Thread-topic: [Xen-devel] xen 3.3.0 pv pci passthrough co-assigned problem
Hi Stefan,
I think you mean you don't specify the "iommu" parameter at all in Xen grub 
entry (so VT-d is not turned on by default) and then you try to create a PV 
guest with "pci=['xx:xx.x']" specified in the PV guest config file and you meet 
with the "co-assignment issue". Correct?

I didn't test the traditional PV-only PCI passthrough.
We only specify a string "pci=['xx:xx.x']" in pv guest config file. How can 
Xend tell whether we're using the traditional PCI passthrough or the VT-d 
passthrough? Judging by the "iommu=pv or no-pv" xen parameter? I'm not sure 
about that for now...

Thanks,
-- Dexuan
________________________________

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
stefan-neuwirth@xxxxxxxxxxx
Sent: 2008年10月16日 15:20
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen 3.3.0 pv pci passthrough co-assigned problem


After upgrading from xen 3.2.x to xen 3.3.0 I get an error message
when using pci passthrough with pv guests (my system is not vt-d
enabled):

xm create -c /etc/xen/domU/myguest
Using config file "/etc/xen/domU/myguest".
Error: pci: 0000:0e:05.0 must be co-assigned to the same guest with 0000:0f:0a.0

Sharing diffrent pci devices behind a pci bridge used to work in older
xen versions for pv guests. It seems the restriction for the vt-d
passthrough is also applied to the pv passthrough - any reason for
this? For me this is a real big regression.

  Stefan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>