Skip to contentSkip to conversation

make migration work again

PATCH New Glauber Costa 1 participant 1 message May 12, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make migration work again

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

---
 target-i386/machine.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
target-i386/machine.c +0 -3
index 7f75d31..730f364 100644
@@ -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;
Signature · 1 line
1.6.0.6