qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: qemu-devel@nongnu.org, quintela@redhat.com
Subject: [Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate
Date: Tue, 14 Dec 2010 06:43:43 +0200	[thread overview]
Message-ID: <20101214044342.GE9554@redhat.com> (raw)
In-Reply-To: <1292267708.2857.123.camel@x201>

On Mon, Dec 13, 2010 at 12:15:08PM -0700, Alex Williamson wrote:
> On Mon, 2010-12-13 at 21:06 +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 11:59:16AM -0700, Alex Williamson wrote:
> > > On Mon, 2010-12-13 at 20:54 +0200, Michael S. Tsirkin wrote:
> > > > On Mon, Dec 13, 2010 at 11:00:44AM -0700, Alex Williamson wrote:
> > > > > On Mon, 2010-12-13 at 19:50 +0200, Michael S. Tsirkin wrote:
> > > > > > On Mon, Dec 13, 2010 at 10:43:22AM -0700, Alex Williamson wrote:
> > > > > > > So, unfortunately, I stand by my original patch.
> > > > > > 
> > > > > > What about the one that put -1 in saved index for a hotplugged device?
> > > > > 
> > > > > There are still examples that don't work even without hotplug (example 2
> > > > > and example 3 after the reboot).  That hack limits the damage, but still
> > > > > leaves a latent bug for reboot and doesn't address the non-hotplug
> > > > > scenarios.  So, I don't think it's worthwhile to pursue, and we
> > > > > shouldn't pretend we can use it to avoid bumping the version_id.
> > > > > Thanks,
> > > > > 
> > > > > Alex
> > > > 
> > > > I guess when we bump it we tell users: migration is completely
> > > > borken to the old version, don't even try it.
> > > > 
> > > > Is there a way for libvirt to discover such incompatibilities
> > > > and avoid the migration?
> > > 
> > > I don't know if libvirt has a way to query this in advance.  If a
> > > migration is attempted, the target will report:
> > > 
> > > savevm: unsupported version 5 for '0000:00:03.0/rtl8139' v4
> > > 
> > > And the source will continue running.  We waste plenty of bits getting
> > > to that point,
> > 
> > Yes, this happens after all of memory has been migrated.
> 
> Better late than never :^\

One other question: can we do the same by creating a new (empty)
section? As was discussed in the past this is easier for
downstreams to cherry-pick.

-- 
MST

  reply	other threads:[~2010-12-14  4:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 19:16 [Qemu-devel] [PATCH] rtl8139: IO memory is not part of vmstate Alex Williamson
2010-12-09 21:49 ` [Qemu-devel] " Juan Quintela
2010-12-09 22:14   ` Alex Williamson
2010-12-12 10:28     ` Michael S. Tsirkin
2010-12-12 11:53       ` Juan Quintela
2010-12-12 12:01         ` Michael S. Tsirkin
2010-12-12 14:37           ` Juan Quintela
2010-12-12 16:29             ` Alex Williamson
2010-12-12 16:41               ` Michael S. Tsirkin
2010-12-12 21:25               ` Juan Quintela
2010-12-13 17:43                 ` Alex Williamson
2010-12-13 17:50                   ` Michael S. Tsirkin
2010-12-13 18:00                     ` Alex Williamson
2010-12-13 18:54                       ` Michael S. Tsirkin
2010-12-13 18:59                         ` Alex Williamson
2010-12-13 19:06                           ` Michael S. Tsirkin
2010-12-13 19:15                             ` Alex Williamson
2010-12-14  4:43                               ` Michael S. Tsirkin [this message]
2010-12-14  5:00                                 ` Alex Williamson
2010-12-14 12:32                                   ` Michael S. Tsirkin
2010-12-14 15:41                                     ` Alex Williamson
2010-12-14 15:59                                       ` Paolo Bonzini
2010-12-15 10:00                                         ` Michael S. Tsirkin
2010-12-15 17:12                                           ` Paolo Bonzini
2010-12-15 19:04                                             ` Michael S. Tsirkin
2010-12-16 12:45                                               ` Paolo Bonzini
2010-12-15 10:07                                       ` Michael S. Tsirkin
2010-12-15 16:05                                         ` Alex Williamson

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=20101214044342.GE9554@redhat.com \
    --to=mst@redhat.com \
    --cc=alex.williamson@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).