Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427980 - app-emulation/virtinst - cpuset auto pinning fails
Summary: app-emulation/virtinst - cpuset auto pinning fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 02:47 UTC by Jared B.
Modified: 2012-10-04 16:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2012-07-25 02:47:19 UTC
In virtinst 0.600.2 (most recent version), passing --cpuset=auto to auto assign the guest to a specific set of CPUs silently fails (as in it'll continue creating the domain without informing you of the problem) with this error in the virt-install.log file:

DEBUG (cli:835) Not setting cpuset: unsupported operand type(s) for *: 'NoneType' and 'int'

This was fixed right after the 0.600.2 release by upstream.  The attached patch contins the fix.

Additionally, could you please add epatch_user to src_prepare() so that it'd be easier to patch problems like this in the future through /etc/portage/patches?

Thanks.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-10-04 16:42:33 UTC
Fixed in 0.600.3 and I've actually removed 0.600.2 from the tree.