]> xenbits.xensource.com Git - libvirt.git/commit
Fix crash in QEMU auto-destroy with transient guests
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 28 Feb 2013 12:18:48 +0000 (12:18 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 1 Mar 2013 10:16:29 +0000 (10:16 +0000)
commit7ccad0b16d12d7616c7c21b1359f6a55a9677521
treeb9f74935753a3755c7330c951105887b7c89cd64
parent20fa62414c02fc073ae21d74878adce337ed53e4
Fix crash in QEMU auto-destroy with transient guests

When the auto-destroy callback runs it is supposed to return
NULL if the virDomainObjPtr is no longer valid. It was not
doing this for transient guests, so we tried to virObjectUnlock
a mutex which had been freed. This often led to a crash.

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