]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
libxl: copy persistent domain definition while starting a guest
authorPavel Hrdina <phrdina@redhat.com>
Thu, 3 Dec 2015 12:38:56 +0000 (13:38 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 9 Dec 2015 12:00:23 +0000 (13:00 +0100)
commit6aff1e9ca52ba68efa4982910d6e806af1ff7e82
tree0edd70a130d9cf52a56cca15117eaab824516154
parent5cc2d8f6d5a8c4153c6ade94c79f3c986963f3e3
libxl: copy persistent domain definition while starting a guest

We should make a copy of current definition to preserve a persistent
definition, because we later update the definition with live changes.
The live definition is discarded on domain shutdown and replaced by the
copy we make before starting the domain.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/libxl/libxl_domain.c