]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Copy complete domain def in qemuDomainDefFormatBuf
authorJiri Denemark <jdenemar@redhat.com>
Fri, 8 Jul 2016 14:44:02 +0000 (16:44 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 18 Jul 2016 07:05:12 +0000 (09:05 +0200)
commitb1305a6b8fcb807296a00458c5495ef321553cd0
tree527c0e4c76025dd4d1cddbb3a79bbaffeaba52a9
parentfe8bad38f58f8b60518947441fb3be8d89d51c58
qemu: Copy complete domain def in qemuDomainDefFormatBuf

Playing directly with our live definition, updating it, and reverting it
back once we are done is very nice and it's quite dangerous too. Let's
just make a copy of the domain definition if needed and do all tricks on
the copy.

https://bugzilla.redhat.com/show_bug.cgi?id=1320470

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/domain_conf.c
src/qemu/qemu_domain.c