Skip to content

migration: Fix early failure crash

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: Fix early failure cleanupmigration/ram.c+7 -50 replies
2/2tests/migration: Add test for migration to bad destinationtests/migration-test.c+50 -152 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Xu
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] migration: Fix early failure crash

From: "Dr. David Alan Gilbert" <[email protected]>

This fixes a crash for the case where a migration exits with an error very early, this is probably due to my recent error handling change.

I also add a test to make sure this doesn't fail again, the test does output one line of junk, suggestions for how to clean it up are welcome:

[dgilbert@dgilbert-t530 try]$ tests/migration-test /x86_64/migration/deprecated: OK
/x86_64/migration/bad_dest: qemu-system-x86_64: Failed to connect socket: Connection refused OK
/x86_64/migration/postcopy/unix: OK

Dave

Dr. David Alan Gilbert (2):
migration: Fix early failure cleanup tests/migration: Add test for migration to bad destination

 migration/ram.c        | 12 ++++++----
 tests/migration-test.c | 65 ++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 57 insertions(+), 20 deletions(-)
Signature · 1 line
2.14.3