]> xenbits.xensource.com Git - libvirt.git/commit
qemu_migration: Use EnterMonitorAsync in qemuDomainGetMigrationBlockers
authorJiri Denemark <jdenemar@redhat.com>
Thu, 21 Jul 2022 13:00:28 +0000 (15:00 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 21 Jul 2022 15:02:13 +0000 (17:02 +0200)
commit62627524607f214e724a48fcac575737f49a271c
tree2c055befb3902ee4af3245a81703dcb79166dd50
parent356669955a157e22623224d52837cc12db2ad38a
qemu_migration: Use EnterMonitorAsync in qemuDomainGetMigrationBlockers

The code is run with an async job and thus needs to make sure a nested
job is acquired before entering the monitor.

While touching the code in qemuMigrationSrcIsAllowed I also fixed the
grammar which was accidentally broken by v8.5.0-140-g2103807e33.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c