[PATCH 08/14] qemu: Move cpuset preference evaluation into a separate function