diff options
author | Thomas Huth <thuth@redhat.com> | 2016-03-31 16:48:41 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-01 00:05:06 +0200 |
commit | eaf136f9a21e02a2f55346e44d2d88df37b2cde3 (patch) | |
tree | 0d867a2d94010750fd3744b41c9a6f0ba169f0d7 /qemu-io.c | |
parent | 57528a3fef2fd65661320723ad8c3c781f4fd49f (diff) |
slirp: Fix migration from older versions of QEMU to the current one
While adding the IPv6 support, the commit eae303ff23f51259eddc8856c71453d8
("slirp: Make Socket structure IPv6 compatible") changed the format of
the migration stream, without taking into account that we might still
receive an old migration stream layout when upgrading from QEMU version
2.5 (or older) to QEMU 2.6. Currently, QEMU bails out when doing a
migration from QEMU 2.5 to the recent master version when it has
been started with a "-net user,guestfwd=..." network. So let's fix
this by checking the version ID of the migration stream and by using
the old behavior if we've detected version 3 or less.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions