On Thu, Feb 01, 2018 at 15:18:59 +0100, Peter Krempa wrote: > In my first approach in 4b480d10768c I overlooked the comment in > qemuMigrationRunIncoming stating that during actual migration the > qemuMigrationRunIncoming does not wait until the migration is complete > but rather offloads that to the Finish phase of migration. > > This means that during actual migration qemuProcessRefreshState was > called prior to qemu actually transferring the full state and thus the > queries did not get the correct information. The approach worked only > for restore, where we wait for the migration to finish during qemu > startup. > > Fix the issue by calling qemuProcessRefreshState both from > qemuProcessStart if there's no incomming migration and from > qemuMigrationFinish so that the code actually works as expected. > --- > src/qemu/qemu_migration.c | 9 +++++++++ > src/qemu/qemu_process.c | 17 ++++++++++------- > src/qemu/qemu_process.h | 4 ++++ > 3 files changed, 23 insertions(+), 7 deletions(-) ACK Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list