[libvirt] virsh create and virsh dumpxml certain code location