[PATCH] make migration work again

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

 



Due to a small messup in version checking, migration was not working.
fix it.

Signed-off-by: Glauber Costa <glommer@xxxxxxxxxx>
---
 target-i386/machine.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/target-i386/machine.c b/target-i386/machine.c
index 7f75d31..730f364 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -193,9 +193,6 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
     uint16_t fpus, fpuc, fptag, fpregs_format;
     int32_t a20_mask;
 
-    if (version_id != 3 && version_id != 4 && version_id != 5
-        && version_id != 6 && version_id != 7 && version_id != 8)
-        return -EINVAL;
     /* KVM cannot accept migrations from QEMU today */
     if (version_id != 9)
         return -EINVAL;
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux