virt: Add gracefunlly or kill_vm_before_test

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