Re: [PATCH 0/3] qemu: Fix race condition between block jobs and the end of migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 20, 2017 at 02:04:26PM +0200, Jiri Denemark wrote:
When migrating both memory and storage, we need to make sure block jobs
are finished after the virtual CPUs get paused at the end of migration
but before QEMU completes the migration otherwise QEMU may die with

   _co_do_pwritev: Assertion `!(bs->open_flags & 0x0800)' failed

This is a libvirt side of the QEMU fix from Dr. David Alan Gilbert:

http://lists.nongnu.org/archive/html/qemu-devel/2017-10/msg04895.html

Applicable on top of my "Preparation for new QEMU migration states"
series I sent yesterday.

Jiri Denemark (3):
 qemu: Add support for migrate-continue QMP command
 qemu: Add pause-before-switchover migration capability
 qemu: Enabled pause-before-switchover migration capability

src/qemu/qemu_domain.c       |  1 +
src/qemu/qemu_domain.h       |  1 +
src/qemu/qemu_migration.c    | 75 +++++++++++++++++++++++++++++++++++++++++++-
src/qemu/qemu_monitor.c      | 18 +++++++++--
src/qemu/qemu_monitor.h      |  6 ++++
src/qemu/qemu_monitor_json.c | 29 +++++++++++++++++
src/qemu/qemu_monitor_json.h |  4 +++
7 files changed, 131 insertions(+), 3 deletions(-)


ACK series

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux