Displaying 3 results from an estimated 3 matches for "3f_how_do_i_edit_a_vm".
2015 Apr 14
2
Update on-disk XML after virsh snapshot-create-as
Hello,
I am using "virsh snapshot-create-as" to create external snapshots of running
VMs using libvirt 1.0.2 on Ubuntu 12.04 and libvirt 1.2.2 on Ubuntu 14.04. This
works well for creating the snapshots, but I notice that the on-disk XML file
in /etc/libvirt/qemu is not updated with the new disk image file after the
snapshot is created. This appears to be very similar to
2015 Apr 14
0
Re: Update on-disk XML after virsh snapshot-create-as
...> virsh dumpxml > /etc/libvirt/qemu/<domain>.xml
No. That is not safe.
>
> Is it safe for me to overwrite the contents of /etc/libvirt/qemu/<domain>.xml
> manually while the VM is running?
Not at all.
http://wiki.libvirt.org/page/FAQ#Where_are_VM_config_files_stored.3F_How_do_I_edit_a_VM.27s_XML_config.3F
Instead, if you are still suffering from a build of libvirt that fails
to update the files in /etc when taking a snapshot, do some other action
that DOES update /etc (such as changing the domain description), or at a
bare minimum use 'virsh define' instead of manually wri...
2015 Apr 14
1
Re: Update on-disk XML after virsh snapshot-create-as
...t;.xml
>
> No. That is not safe.
>
> >
> > Is it safe for me to overwrite the contents of
> > /etc/libvirt/qemu/<domain>.xml
> > manually while the VM is running?
>
> Not at all.
> http://wiki.libvirt.org/page/FAQ#Where_are_VM_config_files_stored.3F_How_do_I_edit_a_VM.27s_XML_config.3F
>
> Instead, if you are still suffering from a build of libvirt that fails
> to update the files in /etc when taking a snapshot, do some other action
> that DOES update /etc (such as changing the domain description), or at a
> bare minimum use 'virsh define'...