]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
lxc: Don't accidentaly reset autostart flag in virLXCProcessCleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Jul 2015 16:25:59 +0000 (18:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 28 Jul 2015 16:55:39 +0000 (18:55 +0200)
commitdbb0baa5a74cecdac332f3d9d82f33cf517af8dd
tree2b125639232c728a4ae5d9fd4fbe70fe3aade3de
parentafe69e6582645a61e4fa335b1625f749f168df8e
lxc: Don't accidentaly reset autostart flag in virLXCProcessCleanup

virDomainDeleteConfig is meant to delete the persistent config and thus
it resets vm->autostart. Copy parts of qemuProcessRemoveDomainStatus to
a new helper to avoid using the incorrect function.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1230071
src/lxc/lxc_process.c