]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Start domain on a node without cpu affinity
authorRoman Bolshakov <r.bolshakov@yadro.com>
Thu, 23 Aug 2018 08:49:48 +0000 (11:49 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Aug 2018 08:42:38 +0000 (10:42 +0200)
commit171aa72baaee3bf3d827a9e7ed98ac7d184e4cfb
tree66582ba1addaf4f13a6ed626763957aca4ded6fe
parent0041eda1e498976bcbde26de6df7366d26862162
qemu: Start domain on a node without cpu affinity

qemuProcessInitCpuAffinity prevents a VM from getting started on a
platform that uses cpu affinity wrapper stubs e.g. macOS.

The patch adds qemuProcessInitCpuAffinity stub on all platforms without
HAVE_SCHED_GETAFFINITY or HAVE_BSD_CPU_AFFINITY.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c