get rid of a guest,
virsh undefine virtinstall rm -f /data/kvm/virtinstall.qcow2
to rename a guest,
virsh domrename ... ...
but you might also want to rename the vdisk and change the pointer to it in the same run,
virsh shutdown guest virsh dumpxml guest > lala virsh undefine guest vi lala virsh define lala rm lala
shutdown works only when the guest system is truly up and running. When it’s stuck somewhere or at boot-loader time, you won’t be able to turn it off that way.