]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Make sure qemuProcessStart is run within a job
authorJiri Denemark <jdenemar@redhat.com>
Thu, 28 Feb 2013 11:48:01 +0000 (12:48 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 1 Mar 2013 07:32:08 +0000 (08:32 +0100)
commite4e28220b572cf4c71d07740c24150411f0704a6
tree9887071ee1bd95e88d411bf4b48445d7c2a8f840
parent438a3850db819fad8a30a06736533010677cd0e7
qemu: Make sure qemuProcessStart is run within a job

qemuProcessStart expects to be run with a job already set and every
caller except for qemuMigrationPrepareAny use it correctly. This bug can
be observed in libvirtd logs during incoming migration as

    warning : qemuDomainObjEnterMonitorInternal:979 : This thread seems
    to be the async job owner; entering monitor without asking for a
    nested job is dangerous
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c