]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuPrepareNVRAM: Save domain conf only if domain's persistent
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 12 Nov 2014 17:09:46 +0000 (18:09 +0100)
committerCole Robinson <crobinso@redhat.com>
Sat, 15 Nov 2014 21:02:09 +0000 (16:02 -0500)
commitc9ab47ad4475d84c5269ff32b2404e1b20cdda5f
tree07a2c118969065b5dd61dfaf131a4f192ab6c516
parent40f8708e9a917b41f8668147b685918ae3765dd8
qemuPrepareNVRAM: Save domain conf only if domain's persistent

In one of my previous patches (3a3c3780b) I've tried to fix the
problem of nvram path disappearing on a domain that's been
started and shut down again. I fixed this by explicitly saving
domain's config file.  However, I did a bit of clumsy without
realizing we have a transient domains for which we don't save the
config file. Hence, any domain using UEFI became persistent.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit 54ddc08ddb3d86e90b48b655a51577761e20ac34)
src/qemu/qemu_process.c