Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626008 - app-emulation/xen-tools patch to build sys-apps/pciutils if pcipassthru is enabled
Summary: app-emulation/xen-tools patch to build sys-apps/pciutils if pcipassthru is en...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 17:33 UTC by Richard Ostrow
Modified: 2017-10-17 07:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xen-tools ebuild patch (xen-tools-pcipassthru.patch,3.74 KB, patch)
2017-07-23 17:34 UTC, Richard Ostrow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Ostrow 2017-07-23 17:33:29 UTC
The current ebuild(s) as written do not pull in required libraries for pci passthrough for xen. This does not trigger a compile error, and xen-tools will be installed without support for PCI passthrough. The attached patch modifies all current ebuilds to pull in sys-apps/pciutils (as a DEPEND) if the pcipassthru USE flag is enabled.

Reproducible: Always

Steps to Reproduce:
1. emerge xen-tools
2. configure xen to pass a PCI device to a DOM-U guest
3. start the DOM-U, and wait for it to timeout



Took me a full day to realize that xen-tools didn't support PCI passthrough... see the see also link.
Comment 1 Richard Ostrow 2017-07-23 17:34:56 UTC
Created attachment 486624 [details, diff]
xen-tools ebuild patch

Updates all current ebuilds to support a pcipassthru USE flag, causing xen-tools to DEPEND on sys-apps/pciutils, allowing pci passthrough to function under xen.
Comment 2 Richard Ostrow 2017-07-23 17:39:14 UTC
Discovered solution here: https://lists.xenproject.org/archives/html/xen-devel/2009-11/msg00364.html
Comment 3 Tomáš Mózes 2017-10-16 12:34:52 UTC
https://github.com/gentoo/gentoo/pull/5962
Comment 5 Tomáš Mózes 2017-10-17 07:32:59 UTC
Thanks for reporting Richard.