[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] libxl: error: ... PCI Device is not assignable



I think this is a bug in the xl toolchain.

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

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.

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.

Matt

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.