Displaying 4 results from an estimated 4 matches for "libxl__device_pci_add".
Did you mean:
libxl_device_pci_add
2011 Aug 09
1
PCI passthrough
...a WindowsXP HVM guest if that matters. I have iommu=1 on
the hypervisor line in grub.cfg as well as xen-pciback.hide=(00:12.2).
In the VMs config file I have the following:
pci= [''00:12.2'']
Whenever the VM is started it gives the following error:
libxl: error: libxl_pci.c:794:libxl__device_pci_add PCI device 0:0:12.2 is not assignable
My CPU(Opteron 6128) is iommu capable. I am using kernel 2.6.32.43 from jeremy''s
source with pciback compiled into the kernel. What am I not doing that sets 00:12.2 as
an assignable device?
_______________________________________________
Xen-users...
2011 Dec 09
2
[PATCH 1 of 2] libxl: fix cold plugged PCI devices with stubdomains
...if "starting == 0".
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
diff -r d8c390192ad1 -r 9c1b223e152e tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c Thu Dec 08 17:43:29 2011 +0000
+++ b/tools/libxl/libxl_pci.c Fri Dec 09 12:01:16 2011 +0000
@@ -819,7 +819,8 @@ int libxl__device_pci_add(libxl__gc *gc,
stubdomid = libxl_get_stubdom_id(ctx, domid);
if (stubdomid != 0) {
libxl_device_pci pcidev_s = *pcidev;
- rc = do_pci_add(gc, stubdomid, &pcidev_s, starting);
+ /* stubdomain is always running by now, even at create time */
+ rc = do_pci_a...
2012 Feb 17
3
libxl: error: ... PCI Device is not assignable
...: 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...
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13):
libxl: fix unsigned less-than-0 comparison in e820_sanitize
libxl: check for xc_domain_setmaxmem failure in libxl__build_pre
libxl: correct file open success check in libxl__device_pci_reset
libxl: don''t leak p in libxl__wait_for_backend
libxl: remove unsigned less-than-0 comparison
libxl: actually abort if initializing a ctx''s lock fails
libxl: