From: Glauber Costa Subject: [PATCH] make migration work again Date: Tue, 12 May 2009 11:34:03 -0300 Message-ID: <1242138843-12653-1-git-send-email-glommer@redhat.com> Cc: avi@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:41786 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058AbZELO3M (ORCPT ); Tue, 12 May 2009 10:29:12 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4CETE88030615 for ; Tue, 12 May 2009 10:29:14 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Due to a small messup in version checking, migration was not working. fix it. Signed-off-by: Glauber Costa --- 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