All of lore.kernel.org
 help / color / mirror / Atom feed
* libxl: error: ... PCI Device is not assignable
@ 2012-02-17 22:56 Matthew Hook
  2012-02-20 16:45 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Hook @ 2012-02-17 22:56 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-20 19:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 22:56 libxl: error: ... PCI Device is not assignable Matthew Hook
2012-02-20 16:45 ` Ian Campbell
2012-02-20 18:45   ` Matthew Hook
2012-02-20 19:48     ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.