See Undefine a Guest
Defining a guest allows one to start it from its name, rather than having to find it's XML file and running virsh create name.xml.
This means that guests will also show in virsh list –all when they are shutdown.
virsh define filename.xml