qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Amos Kong <akong@redhat.com>
To: qemu-devel <qemu-devel@nongnu.org>, pbonzini@redhat.com
Cc: owasserm@redhat.com, aliguori@us.ibm.com, mst@redhat.com,
	juzhang@redhat.com, quintela@redhat.com
Subject: Re: [Qemu-devel] migrate cancel bug in latest qemu upstream
Date: Tue, 19 Mar 2013 12:49:15 +0800	[thread overview]
Message-ID: <20130319044915.GA1888@t430s.nay.redhat.com> (raw)
In-Reply-To: <20130318132003.GA4153@t430s.nay.redhat.com>

On Mon, Mar 18, 2013 at 09:20:03PM +0800, Amos Kong wrote:
> On Tue, Mar 12, 2013 at 10:58:54AM +0800, Amos Kong wrote:
> > Hi quintela, I found a migrate bug in Autotest result, not sure if
> > it's already known.
> > 
> > | commit fa3889162ff724d09eb6b6bd06ba54769100a77f
> > | Merge: 6e72a00 a4960ef
> > | Author: Anthony Liguori <aliguori@us.ibm.com>
> > | Date:   Sun Mar 10 20:39:17 2013 -0500
> > 
> 
> Bug was introduced between v1.1.0..v1.2.0
> 
> ----
> 
> This bug could not be reproduced in current latest qemu.git
> 
> | commit 225dc991b03f0f034aa348f5cf499de9d0979107
> | Author: Cornelia Huck <cornelia.huck@de.ibm.com>
> | Date:   Fri Mar 15 10:57:40 2013 +0100
> | 
> |     s390: Fix cpu refactoring fallout.
> | 


This bug was already fixed by this patch:

commit dba433c03a0f5dc22a459435dd89557886298921
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Fri Feb 22 17:36:17 2013 +0100

    migration: simplify error handling
    
    Always use qemu_file_get_error to detect errors, since that is how
    QEMUFile itself drops I/O after an error occurs.  There is no need
    to propagate and check return values all the time.
    
    Also remove the "complete" member, since we know that it is set (via
    migrate_fd_cleanup) only when the state changes.
    
    Reviewed-by: Orit Wasserman <owasserm@redhat.com>
    Reviewed-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Juan Quintela <quintela@redhat.com>

  reply	other threads:[~2013-03-19  4:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  2:58 [Qemu-devel] migrate cancel bug in latest qemu upstream Amos Kong
2013-03-18 13:20 ` Amos Kong
2013-03-19  4:49   ` Amos Kong [this message]
2013-03-19  9:39     ` Paolo Bonzini

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=20130319044915.GA1888@t430s.nay.redhat.com \
    --to=akong@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=juzhang@redhat.com \
    --cc=mst@redhat.com \
    --cc=owasserm@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).