Pasi Kärkkäinen
2009-Dec-14 12:26 UTC
[Xen-devel] Disable PCI passthrough FLR as an option?
Hello, People seem to want to pci-passthrough just a single port from dual-port NICs. It doesn''t seem to work anymore, and Xen complains like this: http://lists.xensource.com/archives/html/xen-users/2009-12/msg00267.html "Error: pci: improper device assignment specified: pci: 0000:04:00.0 must be co-assigned to the same guest with 0000:04:00.1, but it is not owned by pciback." With "disable FLR" patch it works OK: http://lists.xensource.com/archives/html/xen-users/2009-12/msg00338.html That user is using the first port of the NIC in dom0, and passing through the second port to domU. Can we have an option in Xen guest cfgfile to disable flr? -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Cui, Dexuan
2009-Dec-14 13:14 UTC
RE: [Xen-devel] Disable PCI passthrough FLR as an option?
Actually we have such a xend option in the xen-unstable tree: The option is at the end of /etc/xen/xend-config.sxp: (pci-passthrough-strict-check yes). Uncomment it and change it to no and do a "xend restart". Thanks, -- Dexuan -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Pasi K?rkk?inen Sent: 2009年12月14日 20:27 To: xen-devel@lists.xensource.com Subject: [Xen-devel] Disable PCI passthrough FLR as an option? Hello, People seem to want to pci-passthrough just a single port from dual-port NICs. It doesn't seem to work anymore, and Xen complains like this: http://lists.xensource.com/archives/html/xen-users/2009-12/msg00267.html "Error: pci: improper device assignment specified: pci: 0000:04:00.0 must be co-assigned to the same guest with 0000:04:00.1, but it is not owned by pciback." With "disable FLR" patch it works OK: http://lists.xensource.com/archives/html/xen-users/2009-12/msg00338.html That user is using the first port of the NIC in dom0, and passing through the second port to domU. Can we have an option in Xen guest cfgfile to disable flr? -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Dec-14 13:56 UTC
Re: [Xen-devel] Disable PCI passthrough FLR as an option?
On Mon, Dec 14, 2009 at 09:14:35PM +0800, Cui, Dexuan wrote:> Actually we have such a xend option in the xen-unstable tree: > The option is at the end of /etc/xen/xend-config.sxp: (pci-passthrough-strict-check yes). Uncomment it and change it to no and do a "xend restart". >Oh, nice. I didn''t notice that earlier. Hopefully this feature gets backported to xen-3.4-testing aswell. -- Pasi> > Thanks, > -- Dexuan > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Pasi K?rkk?inen > Sent: 2009???12???14??? 20:27 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Disable PCI passthrough FLR as an option? > > Hello, > > People seem to want to pci-passthrough just a single port from dual-port > NICs. > > It doesn''t seem to work anymore, and Xen complains like this: > > http://lists.xensource.com/archives/html/xen-users/2009-12/msg00267.html > > "Error: pci: improper device assignment specified: pci: 0000:04:00.0 > must be co-assigned to the same guest with 0000:04:00.1, but it is not > owned by pciback." > > With "disable FLR" patch it works OK: > http://lists.xensource.com/archives/html/xen-users/2009-12/msg00338.html > > That user is using the first port of the NIC in dom0, and passing > through the second port to domU. > > Can we have an option in Xen guest cfgfile to disable flr? > > -- Pasi > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Dec-14 14:11 UTC
Re: [Xen-devel] Disable PCI passthrough FLR as an option?
On 14/12/2009 13:56, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:> On Mon, Dec 14, 2009 at 09:14:35PM +0800, Cui, Dexuan wrote: >> Actually we have such a xend option in the xen-unstable tree: >> The option is at the end of /etc/xen/xend-config.sxp: >> (pci-passthrough-strict-check yes). Uncomment it and change it to no and do a >> "xend restart". >> > > Oh, nice. I didn''t notice that earlier. > Hopefully this feature gets backported to xen-3.4-testing aswell.I don''t backport tools chanfges very often myself as a rule. If someone else backports and tests then I''ll consider it. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel