]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix some api cannot work when disable cpuset in conf
authorLuyao Huang <lhuang@redhat.com>
Mon, 20 Jul 2015 09:18:37 +0000 (17:18 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 3 Aug 2015 11:08:00 +0000 (13:08 +0200)
commit1439eb32afc9f97378d1d121c0b5c80d2f84896c
tree96ea91af55ae7fc230df991aac34129613a0ff3c
parentb1632f8f40bbe5c02ed6cddd1b7b290aa832b4c2
qemu: fix some api cannot work when disable cpuset in conf

If cpuset is disabled or not available, it libvirt must not use it.
Mainly for actions that do not need it and can use sched_setaffinity()
or numa_membind() instead, because they will fail without good reason.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1244664

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c