[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vms
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate |
Date: |
Wed, 22 Jun 2016 10:50:18 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
* Gerd Hoffmann (address@hidden) wrote:
> Hi,
>
> > I think the first two patches are the most controversial;
> > they remove migration support for old version of virtio-net and
> > virtio-serial;
> > (for virtio-net versions prior to 0.11 and for virtio-serial prior to 0.13).
> > I'm working on the basis that migration has bit rotted enough so
> > that the streams aren't migration compatible for that long back
> > on upstream - but if anyone knows otherwise please shout.
>
> We've gone great lengths to avoid new versions by using subsections
> instead for *years*. So if we are going to cut live migration support
> from ancient versions now: Can we possibly remove the versioning
> altogether?
Short answer: no
Longer answer: I'm saying we can remove some compatibility from very
old versions, especially if we probably lost the compatibility anyway,
but we should stick to trying to maintain compatibility where possible.
I've just tested an upstream 0.12.5 migration and it doesn't work;
/opt/qemu-0.12/bin/qemu-system-x86_64 -cpu core2duo -M pc-0.12 --enable-kvm -m
1G /home/vms/f20-raw.raw -nographic
migrating to:
1.1.2, 1.2.2, 2.5.1
all fail with:
qemu: warning: error while loading state for instance 0x0 of device 'ram'
and I've not dug into why.
(Migration to 1.0.1 hangs instead).
Given that, there doesn't seem to be any point in trying to maintain
compatibility for loading a stream produced by 0.11 for example.
As you know, we do jump through hoops downstream to have one
very specific 0.12 derivative migrate to our current releases,
and yes this patch set means I'm going to have to do a bit more
work to make that keep happening in one corner of it.
Although if I'm lucky by then if I can get the rest of this
code to be using VMState then it'll be much easier to do
the 0.12 compatibility code.
Dave
> cheers,
> Gerd
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- [Qemu-devel] [PATCH 11/13] virtio-input: Wrap in vmstate, (continued)
- [Qemu-devel] [PATCH 12/13] virtio-gpu: Wrap in vmstate, Dr. David Alan Gilbert (git), 2016/06/21
- [Qemu-devel] [PATCH 13/13] virtio: Update migration docs, Dr. David Alan Gilbert (git), 2016/06/21
- Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate, Gerd Hoffmann, 2016/06/22
- Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate,
Dr. David Alan Gilbert <=
- Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate, Cornelia Huck, 2016/06/22
- Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate, Michael S. Tsirkin, 2016/06/24
- Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate, Amit Shah, 2016/06/27