diff options
| author | Peter Xu | 2018-07-10 11:44:24 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-07-10 16:23:23 +0200 |
| commit | 858b6d62249a9a9510fae6c808a3d2de80e689b5 (patch) | |
| tree | ab32f5e5fa3d0c47774bd13502c1ab7855905490 | |
| parent | tests: hide stderr for postcopy recovery test (diff) | |
| download | qemu-858b6d62249a9a9510fae6c808a3d2de80e689b5.tar.gz qemu-858b6d62249a9a9510fae6c808a3d2de80e689b5.tar.xz qemu-858b6d62249a9a9510fae6c808a3d2de80e689b5.zip | |
migration: reorder MIG_CMD_POSTCOPY_RESUME
It was accidently added before MIG_CMD_PACKAGED so it might break
command compatibility when we run postcopy migration between old/new
QEMUs. Fix that up quickly before the QEMU 3.0 release.
Reported-by: Lukáš Doktor <ldoktor@redhat.com>
Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180710094424.30754-1-peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
| -rw-r--r-- | migration/savevm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/savevm.c b/migration/savevm.c index efcc795071..7f92567a10 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -81,8 +81,8 @@ enum qemu_vm_cmd { MIG_CMD_POSTCOPY_RAM_DISCARD, /* A list of pages to discard that were previously sent during precopy but are dirty. */ - MIG_CMD_POSTCOPY_RESUME, /* resume postcopy on dest */ MIG_CMD_PACKAGED, /* Send a wrapped stream within this stream */ + MIG_CMD_POSTCOPY_RESUME, /* resume postcopy on dest */ MIG_CMD_RECV_BITMAP, /* Request for recved bitmap on dst */ MIG_CMD_MAX }; |
