Displaying 1 result from an estimated 1 matches for "msg04562".
Did you mean:
msg00562
2010 Sep 22
1
Question on CPU pinning in Python
Looking at the python API, once I have a domain object I can call domain.pinVcpu to pin a specific vcpu to a physical CPU. I found http://www.mail-archive.com/libvir-list at redhat.com/msg04562.html which mentioned some changes to the C API in the Python implementation, and was wondering if my understanding is correct.
Say that I have a host system with 16 logical CPU's, 0-15. If I wanted to pin vcpu1 of a domain to CPUs 2 and 4, I would pass:
domain.pinVcpu(1, (False, False, True,...