mbox series

[0/4] Fix multifd + cancel + multifd

Message ID 20191218050439.5989-1-quintela@redhat.com (mailing list archive)
Headers show
Series Fix multifd + cancel + multifd | expand

Message

Juan Quintela Dec. 18, 2019, 5:04 a.m. UTC
Hi

This series:
- create a test that does:
  launch multifd on target
  migrate to target
  cancel on source
  create another target
  migrate again

- And fixes the cases that made it fail:
* Make sure that we don't try ever IO after shutdown/error

Please, review.

Juan Quintela (4):
  qemu-file: Don't do IO after shutdown
  multifd: Make sure that we don't do any IO after an error
  migration-test: Make sure that multifd and cancel works
  migration: Make sure that we don't call write() in case of error

 migration/qemu-file.c  |  13 +++++
 migration/ram.c        |  41 ++++++++++++----
 tests/migration-test.c | 108 ++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 152 insertions(+), 10 deletions(-)