autotest/virt-test — pull request #1539 by kongove (2014-03-25 09:14:46+00:00)
Title: pin vhost threads to free cpus on extra node when we don't' have enough cpus on first node for vcpus+vhosts threads

In the past, we only try to pin threads to the cpus in one node.
If there is no enough nodes, we will try to pin a pair of vhost
thread and vcpu thread in same cpu. But if the number of vhost
threads isn't same as the number of vcpu threads, the pinning
isn't balanced.

This patch added support to pin threads to extra node. and started
to pin vhost threads to another node.

Tested in z800 machine.

@wquan