Skip to contentSkip to conversation

Disable PCI passthrough FLR as an option?

DISCUSSION Pasi Kärkkäinen 3 participants 4 messages Dec 14, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Pasi K?rkk?inen
Sent: 2009年12月14日 20:27
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 3 lines · Dexuan

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

Quoted 38 lines

Thanks,
-- Dexuan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pasi K?rkk?inen
Sent: 2009???12???14??? 20:27
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 9 lines · Pasi Kärkkäinen
Quoted 5 lines · Dexuan

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