[libvirt] [PATCH] Fix crashing upgrading from older libvirts with running guests

Eric Blake eblake at redhat.com
Fri Aug 2 13:13:36 UTC 2013


On 08/02/2013 05:51 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 at redhat.com>
> ---
>  src/lxc/lxc_process.c  | 8 ++++++--
>  src/qemu/qemu_cgroup.c | 4 +++-
>  2 files changed, 9 insertions(+), 3 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130802/46cecf8f/attachment-0001.sig>


More information about the libvir-list mailing list