mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
util: Add debug print missing from BSD
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
dc3030cc80
commit
593da429ff
@ -453,6 +453,8 @@ int virProcessSetAffinity(pid_t pid,
|
|||||||
size_t i;
|
size_t i;
|
||||||
cpuset_t mask;
|
cpuset_t mask;
|
||||||
|
|
||||||
|
VIR_DEBUG("Set process affinity on %lld", (long long)pid);
|
||||||
|
|
||||||
CPU_ZERO(&mask);
|
CPU_ZERO(&mask);
|
||||||
for (i = 0; i < virBitmapSize(map); i++) {
|
for (i = 0; i < virBitmapSize(map); i++) {
|
||||||
if (virBitmapIsBitSet(map, i))
|
if (virBitmapIsBitSet(map, i))
|
||||||
|
Loading…
Reference in New Issue
Block a user