virt: Add timeout and gracefunlly or kill_vm_before_test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>