Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Sander Eikelenboom <linux <at> eikelenboom.it>
Subject: xen-unstable pci passthrough: bug in accounting assigned pci devices when assignment has failed
Newsgroups: gmane.comp.emulators.xen.devel
Date: Friday 21st February 2014 14:34:00 UTC (over 4 years ago)
Hi Ian,

It was decided that the bug that domain creation does not fail on non
assignable pci devices was deferred to 4.5.
(and it wouldn't prevent this bug anyhow when doing pci hotplug with xl
pci-attach)

But there seems to be a bug in the error path:

[email protected]:~# xl pci-assignable-list
0000:02:00.0

Now when i boot a VM with  pci=['00:19.0'] in it's config file ... which is
not assignable:

[email protected]:~# xl create /etc/xen/domU/router.hvm
Parsing config from /etc/xen/domU/router.hvm
libxl: error: libxl_pci.c:1060:libxl__device_pci_add: PCI device 0:0:19.0
is not assignable

That looks ok ... and the pci device is not visible / accessible in the
guest ...  but it seems the entry is still in xenstore nevertheless:

[email protected]:~# xl pci-list router
Vdev Device
00.0 0000:00:19.0

--
Sander
 
CD: 4ms