]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: pass the asyncJob to qemuProcessStartCPUs
authorJán Tomko <jtomko@redhat.com>
Tue, 24 Nov 2015 12:14:29 +0000 (13:14 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 24 Nov 2015 12:34:56 +0000 (13:34 +0100)
commit668a0fef42e0127a7617d15b75c1693c7c72fcda
tree4afc8d5c604035fc1fb5cfd3efaf820e9de6dee0
parent8e104ef011e25d1d9b5e5d6b0da63e87a1b7c235
qemu: pass the asyncJob to qemuProcessStartCPUs

Now that new domains are started inside a QEMU_ASYNC_JOB_START job,
we need to pass it down to qemuProcessStartCPUs too.

This removes the warning:
qemuDomainObjEnterMonitorInternal:1750 : This thread seems to be the
async job owner; entering monitor without asking for a nested job is
dangerous

Introduced by commit 04c721f, before that this code path was only
executed with QEMU_ASYNC_JOB_NONE.

(This code is not executed on migration, because qemuMigrationPrepareAny
 sets the VIR_QEMU_PROCESS_START_PAUSED flag.)
src/qemu/qemu_process.c