[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] libxl: error: ... PCI Device is not assignable
On Fri, 2012-02-17 at 22:56 +0000, Matthew Hook wrote: > I think this is a bug in the xl toolchain. I agree. Which version of Xen are you running? There have been various fixes to the stuff in xen-unstable but from your error message (which doesn't appear in the unstable code base AFAICT) I guess you are running 4.1. Are you able to try unstable? > lspci -s 0000:12:0.* > 12:00.0 Display controller: ATI Technologies Inc Device 671d > 12:00.1 Audio device: ATI Technologies Inc Device aa80 > > sudo xm pci-list-assignable-devices NB: it is not recommended to mix and match xm and xl. > 0000:13:00.0 > 0000:13:00.1 > 0000:12:00.0 > 0000:12:00.1 > > So there is a multi-function device (actually one ASIC of a AMD Radeon > 6990 card). > It has two function addresses 0 = Display controller, 1 = Audio Device. > > However when running xl create where the line for pci is of the form > pci=['12:00.*'] > Where * means pass through all devices, you get an error as below. > > Parsing config file xenwin7-1.cfg > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->0000000000179830 > TOTAL: 0000000000000000->000000007f800000 > ENTRY ADDRESS: 0000000000100000 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000003fb > 1GB PAGES: 0x0000000000000000 > libxl: error: libxl_pci.c:790:libxl__device_pci_add PCI device > 0:12:0.70 is not assignable > > There is no function 70 on that device. The * turns into a "LIBXL_PCI_FUNC_ALL (~0U)" in the internal represenation, I bet this is some sort unhelpful and confusing of formatting snafu related to that. > In relation to that, the BDF documentation > (http://wiki.xensource.com/xenwiki/BDFNotation) seems to imply that > you can specify > the extended BDF notation on your kernel boot line in grub. i.e. > xen-pciback.hide=(0000:12:00.*) does not work. You'll get an error in > the kernel log. That is the old wiki, the new page seems to be http://wiki.xen.org/wiki/Bus:Device.Function_(BDF)_Notation -- does this still give you that impression? Please feel free to update to clarify. > Actually, if you look at the code for pci_stub.c in the linux kernel > (at least for Jeremy branch 2.6.32.48), extended BDF is not supported. Right, I think that wiki page is trying to refer only to the notation used by the toolstack. I imagine that could be clearer. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |