]> xenbits.xensource.com Git - libvirt.git/commit
Fix scheduler support check
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 18 Nov 2016 07:12:12 +0000 (08:12 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 18 Nov 2016 15:08:52 +0000 (16:08 +0100)
commitf2bf5fbb04494a0635cbc690c083b844876aa4a6
treeb2f4cb4c07eb452b0b533971c13ca977badcd670
parent135e77d32fe9e7299f5c82757563e5a6d28e2f3c
Fix scheduler support check

Commit 94cc577807ba tried fixing build on systems that did not have
SCHED_BATCH or SCHED_IDLE defined.  But instead of changing it to
conditional support, it rather completely disabled the support for
setting any scheduler.  Since then, such old systems are not
supported, but rather than reverting that commit, let's change that to
the conditional support.  That way any addition to the list of
schedulers can follow the same style so that we're consistent in the
future.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virprocess.c