]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't overwrite error message during VM cleanup
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Nov 2011 16:27:41 +0000 (16:27 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Nov 2011 18:40:37 +0000 (18:40 +0000)
commit9d201a5c22d50adeefe785cd0abe7ea9e04950f7
treeb1b66ecb5cb3fb6fe1421497d736e8b4593d699a
parent26798492e390981df03f505c59d902657f017c52
Don't overwrite error message during VM cleanup

If an LXC VM fails to start, quite a few cleanup paths will
result in the original error message being overwritten. Some
other cleanup paths also forgot to actually terminate the VM.

* src/lxc/lxc_driver.c: Ensure VM is terminated on startup
  failure and preserve original error
src/lxc/lxc_driver.c