Edit VM's XML
You can directly edit an imported VM's XML without needing to export then import. The idea is quite simple.
Determine the VM's Name
Determine the VM's Name
First, determine the VM name. It is the one that you input.
Edit the VM
Edit the VM
Next step is to edit the VM's XML. Upon first time, virsh will ask you to choose your editor. I prefer vim-tiny (but it's up to your choice). The command is:
$ virsh edit <VM_NAME>
e.g.
$ virsh edit win7
Once done, you'll be presented with the VM's XML. Proceed to edit it, save it, and quit. The changes will carry out upon the next Guest shutdown.
That's all about Editing VM's XML using virsh.