search for: xc_assign_device

Displaying 10 results from an estimated 10 matches for "xc_assign_device".

2013 Feb 09
7
Latest AMD, IOMMU Security Change causing CPU0 Panic and general Problems with AMD+IOMMU changes
Hi, unfortunatly your latest change "AMD,IOMMU: Clean up old entries in remapping tables when creating new one" (Changeset 26517 in xen-unstable and 25975 in xen-4.2-testing) is causing a CPU0 Panic at boot for me. When i tried to boot latest versions of xen unstable or xen-testing, my dom0 gives me the message: (XEN) ************************************* (XEN) Panic on CPU 0: (XEN)
2007 Dec 10
19
[VTD][PATCH] Change xc_assign_device()
...evice doesn''t work in Dom0; 2) device is assigned one by one, if assign multiple devices, some devices may have been assigned when problem happens, it results in assigned devices don''t work in Dom0. I think Xend is not a good place to assign devices. This patch adds a parameter to xc_assign_device(), let it just do check in Xend whether the devices can be assigned or not, and move real device assignment to qemu. Signed-off-by: Weidong Han <weidong.han@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensour...
2016 May 12
2
PCI Passthrough not working
...is xl pci-assignable-list I have pci=['00:1a.0'] on the DomU config file I have added this iommu=soft and swiotlb=force both together and separately to the kernel command line in the DomU (running Debian 8), but I get the same error each time. libxl: error: libxl_pci.c:999:do_pci_add: xc_assign_device failed: Operation not permitted libxl: error: libxl_create.c:1424:domcreate_attach_pci: libxl_device_pci_add failed: -3 Can anyone suggest a cure for this? Many thanks Francis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/piperm...
2012 Jul 21
2
Xen PCI/VGA passthrough failing on Ubuntu 12.04 (64-bit)
...00000000100000->000000000017c510 TOTAL: 0000000000000000->00000000ff800000 ENTRY ADDRESS: 00000000001015a0 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000005fb 1GB PAGES: 0x0000000000000001 libxl: error: libxl_pci.c:712:do_pci_add xc_assign_device failed Daemon running with PID 11389 Leading up to this error, I have done the following to put the device into what is supposedly an assignable state: # stop lightdm # echo 0000:00:01.0 > /sys/bus/pci/drivers/radeon/unbind # modprobe xen-pciback # echo 0000:00:01.0 > /sys/bus/pci/drivers/p...
2016 May 16
0
PCI Passthrough not working
...; > I have pci=['00:1a.0'] on the DomU config file > I have added this iommu=soft and swiotlb=force both together and separately > to the kernel command line > in the DomU (running Debian 8), but I get the same error each time. > > libxl: error: libxl_pci.c:999:do_pci_add: xc_assign_device failed: Operation > not permitted > libxl: error: libxl_create.c:1424:domcreate_attach_pci: libxl_device_pci_add > failed: -3 Can you please attach the following: 1. The complete domU config file 2. A complete log of the command and all the output 3. The full output of "xl dmesg&quot...
2016 May 16
2
PCI Passthrough not working
...; I have pci=['00:1a.0'] on the DomU config file > I have added this iommu=soft and swiotlb=force both together and separately > to the kernel command line > in the DomU (running Debian 8), but I get the same error each time. > > libxl: error: libxl_pci.c:999:do_pci_add: xc_assign_device failed: Operation > not permitted > libxl: error: libxl_create.c:1424:domcreate_attach_pci: libxl_device_pci_add > failed: -3 Can you please attach the following: 1. The complete domU config file 2. A complete log of the command and all the output 3. The full output of "xl dme...
2011 Dec 08
5
VGA Passthrough crashes machine
...00000000100000->00000000001795d0 TOTAL: 0000000000000000->000000003e000000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000001ef 1GB PAGES: 0x0000000000000000 libxl: error: libxl_pci.c:712:do_pci_add xc_assign_device failed Daemon running with PID 2050
2010 Sep 09
2
[PATCH]: add libxl python binding
...pci *pcidev, unsigned int domain, unsigned int bus, unsigned int dev, unsigned int func, unsigned int vdevfn) @@ -699,7 +708,7 @@ static int do_pci_add(libxl__gc *gc, uin } out: if (!libxl_is_stubdom(ctx, domid, NULL)) { - rc = xc_assign_device(ctx->xch, domid, pcidev->value); + rc = xc_assign_device(ctx->xch, domid, pcidev_value(pcidev)); if (rc < 0 && (hvm || errno != ENOSYS)) { LIBXL__LOG_ERRNOVAL(ctx, LIBXL__LOG_ERROR, rc, "xc_assign_device failed"); return ERROR_...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...- XL_LOG(ctx, XL_LOG_ERROR, "Error: xc_domain_irq_permission irq=%d: %d\n", irq, rc); + XL_LOG_ERRNOVAL(ctx, XL_LOG_ERROR, rc, "Error: xc_domain_irq_permission irq=%d", irq); } } fclose(f); } out: if ((rc = xc_assign_device(ctx->xch, domid, pcidev->value)) < 0) - XL_LOG(ctx, XL_LOG_ERROR, "Error: xc_assign_device error %d\n", rc); + XL_LOG_ERRNOVAL(ctx, XL_LOG_ERROR, rc, "xc_assign_device failed"); libxl_device_pci_add_xenstore(ctx, domid, pcidev); return 0; @@ -1...
2007 May 30
30
[VTD][patch 0/5] HVM device assignment using vt-d
...construct p2m mapping. - shadow page table fault handler have been modified to allow memory above max_pages to be mapped. - ioport - Xen intercepts guest io port accesses - translates guest io port to machine io port - does machine port access on behalf of guest 5) new hypercalls int xc_assign_device(int xc_handle, uint32_t domain_id, uint32_t machine_bdf); int xc_domain_ioport_mapping(int xc_handle, uint32_t domid, uint32_t first_gport, uint32_t first_mport,...