]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix crashing upgrading from older libvirts with running guests
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 11:12:30 +0000 (12:12 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 14:32:26 +0000 (15:32 +0100)
commit1166eeba61d57eb093edf26bee6e45b4bec67ffd
tree1798f940064397bd09248564743b1452b31b4b3c
parentb4ca2999020ab4adf7a73ccbff1de2b40a097874
Fix crashing upgrading from older libvirts with running guests

If upgrading from a libvirt that is older than 1.0.5, we can
not assume that vm->def->resource is non-NULL. This bogus
assumption caused libvirtd to crash

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_process.c
src/qemu/qemu_cgroup.c