virt: Add gracefunlly or kill_vm_before_test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #927 from liyangfnst/kill_vm

virt: Add timeout and gracefunlly or kill_vm_before_test