[libvirt-users] which is the config file for a vm ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Wed Mar 2 13:52:44 UTC 2016


----- On Mar 1, 2016, at 5:27 PM, Michal Privoznik mprivozn at redhat.com wrote:

> On 01.03.2016 14:57, Lentes, Bernd wrote:
>> Hi,
>> 

>> Pictures you find here: https://hmgubox.helmholtz-muenchen.de:8001/d/51feb02c02/
>> I thought the xml-file in /etc/libvirt/qemu ist the only responsable one. It is
>> that one which is configured when i issue a 'edit domain' in virsh. Or ?
> 
> Yes, it's the only location where libvirt keeps inactive domain
> configurations. However, in some cases domain configuration can be fed
> in from a different source, e.g. when restoring from a file. Moreover,
> if the file is managed by libvirt (so called managed save), doing 'virsh
> start' will run domain from there rather than from a fresh config kept
> under /etc/libvirt/qemu. You can check whether domain has a managed save
> by inspecting 'virsh dominfo' output.
> Or if you restore a domain from previously saved state use 'virsh
> save-image-edit' to check MAC address.
> 
>> Where does the VMM stores the configuration of the domains ?
> 

Hi,thanks for the information. I have some other questions:
what is the right way to copy (clone) a vm ? I have one vm which i want to use a second time, on the same host, just with another MAC-Address.

And how can i copy a vm to a plain partition (without fs) ? I read this is faster than having an image file on a file system.

Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Alfons Enhsen, Renate Schlusen (komm.)
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671




More information about the libvirt-users mailing list