Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408355 - app-emulation/libvirt-0.9.10-r4: cannot pin VM to CPU number greater than seven on a 16core machine
Summary: app-emulation/libvirt-0.9.10-r4: cannot pin VM to CPU number greater than sev...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL: https://www.redhat.com/archives/libvi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-15 13:45 UTC by Milan Beneš
Modified: 2012-07-14 19:03 UTC (History)
1 user (show)

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 Milan Beneš 2012-03-15 13:45:28 UTC
I no longer can change CPU pinning as described in the summary in the app-emulation/libvirt-0.9.10-r4. app-emulation/libvirt-0.9.8 is OK. 

Reproducible: Always

Steps to Reproduce:
1. Upgrade libvirt to latest stable version
2. Try to change CPU pinning as described
3. Obviously your machine has to have at least 9 cores :-)
Actual Results:  

Chyba při změně konfigurace VM:(Error reconfiguring VM:) cpuset's pCPU numbers must be less than pCPUs.

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 2427, in _change_config_helper
    func(*args)
  File "/usr/share/virt-manager/virtManager/domain.py", line 445, in define_cpuset
    return self._redefine_guest(change)
  File "/usr/share/virt-manager/virtManager/domain.py", line 312, in _redefine_guest
    return cb(guest)
  File "/usr/share/virt-manager/virtManager/domain.py", line 444, in change
    guest.cpuset = cpuset
  File "/usr/lib64/python2.7/site-packages/virtinst/XMLBuilderDomain.py", line 309, in new_setter
    fset(self, val, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/virtinst/Guest.py", line 412, in set_cpuset
    DomainNumatune.validate_cpuset(self.conn, val)
  File "/usr/lib64/python2.7/site-packages/virtinst/DomainNumatune.py", line 64, in validate_cpuset
    raise ValueError(_("cpuset's pCPU numbers must be less "
ValueError: cpuset's pCPU numbers must be less than pCPUs.

Expected Results:  
No error whatsoever, same behavior as app-emulation/libvirt-0.9.8.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-03-26 04:54:10 UTC
Ok. Finally got around to upgrading my 64 core machine so I can test this.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-03-26 18:54:06 UTC
Found the issue you had and I've attached a link to the mailing list where the maintainer can reproduce the issue. Can you follow similar steps he's performed and confirm that you have the same topology configuration that he does which is resulting in this failure?
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 19:03:59 UTC
Please retest with libvirt-0.9.13.