public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Glauber Costa <glommer@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] make migration work again
Date: Sun, 10 May 2009 15:51:53 +0300	[thread overview]
Message-ID: <4A06CDE9.5080800@redhat.com> (raw)
In-Reply-To: <1241813218-28435-1-git-send-email-glommer@redhat.com>

Glauber Costa wrote:
> Due to a small messup in version checking, migration was not working.
> fix it.
>
> Signed-off-by: Glauber Costa <glommer@redhat.com>
> ---
>  migration-tcp.c       |    1 +
>  savevm.c              |    1 +
>  target-i386/helper.c  |    1 +
>  target-i386/machine.c |    8 ++++----
>  4 files changed, 7 insertions(+), 4 deletions(-)
>
>   

Strange diffstat.

> diff --git a/target-i386/machine.c b/target-i386/machine.c
> index 7f75d31..c1e05c5 100644
> --- a/target-i386/machine.c
> +++ b/target-i386/machine.c
> @@ -194,11 +194,11 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
>      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)
> +        && version_id != 6 && version_id != 7 && version_id != 8
> +        /* KVM cannot accept migrations from QEMU today */
> +        && version_id != 9)
>          return -EINVAL;
>   

I think you want to remove the first line as well?  Only accept 
version_id == 9?  And keep the comment.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-05-10 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 20:06 [PATCH] make migration work again Glauber Costa
2009-05-10 12:51 ` Avi Kivity [this message]
2009-05-11  8:31   ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2009-05-12 14:34 Glauber Costa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A06CDE9.5080800@redhat.com \
    --to=avi@redhat.com \
    --cc=glommer@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox