virttest.qemu_vm : add function to get vhost threads

This patch add a function to get vhost threads

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>