Where are the QEMU VM configuration files stored when using VMM

Hi,

I have several machines running under EMU and VMM (ver 2.2.1). I have been looking for the machine definition files and found them as .xml files in:

/etc/libvirt/qemu

However the header in the files say:

<!--*WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE*
*OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:*
*  virsh edit 9d73cecc-e132-4983-a16e-54b72b349982*
*or other application using the libvirt API.*
*-->*

Which suggests the definitive machine definition is stored elsewhere and I presume it is because I am using VMM to manage the VMs. Any clues as to where this is?

No. It just suggests that this file was generated by libvirt. You should avoid manual modification because it can conflict with internal libvirt logic. Otherwise this is the location of VM definitions.

So “*CHANGES TO IT ARE LIKELY TO BE *OVERWRITTEN AND LOST” should really be “YOU STAND A GOOD CHANCE OF BREAKING IT” :rolleyes:

Many thanks.

Well, if someone is currently in the middle of editing definition using libvirt frontend and at the same time you change this file directly there are good chances that your changes will be overwritten when libvirt frontend saves its modifications.