Do you still have this problem. Which release are you on?
I don't know of a virsh option other than '--xml' which isn't quite what you want. But you can edit the configuration after the fact with 'virsh edit <domainname>'. So you could do 'virsh dumpxml domainname > domainname.saved.xml', do the restore, and then 'virsh edit domainname" and copy the portions you want back in from the file domainname.saved.xml.
@BenLake
Do you still have this problem. Which release are you on?
I don't know of a virsh option other than '--xml' which isn't quite what you want. But you can edit the configuration after the fact with 'virsh edit <domainname>'. So you could do 'virsh dumpxml domainname > domainname. saved.xml' , do the restore, and then 'virsh edit domainname" and copy the portions you want back in from the file domainname. saved.xml.
Hope that made sense.