]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix autodestroy of QEMU guests
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 27 Feb 2013 16:23:16 +0000 (16:23 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 27 Feb 2013 22:51:24 +0000 (22:51 +0000)
commitb4a124efc328ac221ff4e8a6fde3a1a0c0202d68
tree353247ed90aea1dbd582fbeb9b4c76d2590d12e2
parent25dc8ba08b32c7430d81228718c90d277f902f18
Fix autodestroy of QEMU guests

The virQEMUCloseCallbacksRunOne method was passing a uuid string
to virDomainObjListFindByUUID, when it actually expected to get
a raw uuid buffer. This was not caught by the compiler because
the method was using a 'void *uuid' instead of first casting
it to the expected type.

This regression was accidentally caused by refactoring in

  commit 568a6cda277f04ab9baaeb97490e548b7b608aa6
  Author: Jiri Denemark <jdenemar@redhat.com>
  Date:   Fri Feb 15 15:11:47 2013 +0100

    qemu: Avoid deadlock in autodestroy

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