virsh edit vs virsh dumpxml

Latest response

Tried to do a virsh edit to modify an interface and discovered the xml in the edit does not match the running xml.
Doing virsh dumpxml shows the correct information.

It appears edit is pulling from /etc/libvirt/qemu/ while dumpxml pulls from var/run/libvirt/qemu.

The question is why the discrepancy and what is the proper way to ensure edit and dumpxml are in synch?

Responses