]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refresh state before starting the VCPUs
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Mon, 4 Feb 2019 12:36:24 +0000 (13:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Feb 2019 14:51:48 +0000 (15:51 +0100)
commit41d37d31b3ea7105bb3a4cc064032a7fe6142f04
tree7f31e4119ad54bc41d091b74414ff7cc184713c3
parent86caae39537969ff87ce18d3e6bc1bb18181f61b
qemu: Refresh state before starting the VCPUs

For normal starts (no incoming migration) the refresh of the QEMU
state must be done before the VCPUs getting started since otherwise
there might be a race condition between a possible shutdown of the
guest OS and the QEMU monitor queries.

This fixes "qemu: migration: Refresh device information after
transferring state" (93db7eea1b864).

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_process.c