diff mbox

make migration work again

Message ID 1242138843-12653-1-git-send-email-glommer@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Glauber Costa May 12, 2009, 2:34 p.m. UTC
Due to a small messup in version checking, migration was not working.
fix it.

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

Patch

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;