Refactor process affinity setting into function
authorHrvoje Ribicic <riba@google.com>
Tue, 17 Jun 2014 10:30:45 +0000 (10:30 +0000)
committerHrvoje Ribicic <riba@google.com>
Wed, 18 Jun 2014 12:02:13 +0000 (12:02 +0000)
commitb04158d00d599f91c100b9134ac24c07a7d2d90a
tree0b20915d58bcb05c53a1f3eaf0bf3f70ceb8e21b
parenta48a18b94ce3a034220ee2dae8578391d7b24f82
Refactor process affinity setting into function

This patch modifies the KVM code to move duplicated functionality into
a new function, easing later changes.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/hypervisor/hv_kvm/__init__.py