]> git.ipfire.org Git - thirdparty/libvirt.git/commit
BSD: implement virProcess{Get,Set}Affinity
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 25 Jan 2014 16:11:01 +0000 (20:11 +0400)
committerEric Blake <eblake@redhat.com>
Mon, 27 Jan 2014 16:51:55 +0000 (09:51 -0700)
commitc022fbc9bb61c404ef51c54967cad16c4a997fdb
treeaa8fa8460102fcba8370bc9da1bab50c9e977a3f
parentc6320d34637a9883e31c4081d418fc33a4277cf2
BSD: implement virProcess{Get,Set}Affinity

Implement virProcess{Get,Set}Affinity() using cpuset_getaffinity()
and cpuset_setaffinity() calls. Quick search showed that they are
only available on FreeBSD, so placed it inside existing #ifdef
blocks for FreeBSD instead of adding configure checks.
src/util/virprocess.c