From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: qemu-devel@nongnu.org, mst@redhat.com, amit.shah@redhat.com,
quintela@redhat.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate
Date: Wed, 22 Jun 2016 11:54:21 +0100 [thread overview]
Message-ID: <20160622105420.GD2274@work-vm> (raw)
In-Reply-To: <20160622103909.01e6fc77.cornelia.huck@de.ibm.com>
* Cornelia Huck (cornelia.huck@de.ibm.com) wrote:
> On Tue, 21 Jun 2016 20:13:54 +0100
> "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com> wrote:
>
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > Hi,
> > This series converts the outer most layer of virtio to
> > use VMState macros; this is the easy bit, but I'm hoping that
> > having done that, the next trick is to nibble away at the virtio_save/load
> > functions and all of the zillions of device/bus helpers.
> >
> > 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).
>
> These seem rather ancient and we would not care from a s390x
> perspective. Others may think differently, though...
>
> > 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.
> >
> > The reason for doing those is that the virtio structure makes
> > it a bit tricky to pass the outer device version number down
> > through VMState to the device specific code (I can do it
> > as a hack if necessary using a dummy is_needed function);
> > and with -net and -serial compatibility sorted I think
> > every other device just supports a single version.
> >
> > My main reason for doing this is to get rid of the
> > calls to register_savevm ('going to disappear as soon..' since 2010)
>
> Real Soon Now :) Thank you for tackling virtio!
More tickling rather than tackling; plenty of scary bits left.
> >
> > It's lightly tested using the magic line:
> > ./x86_64-softmmu/qemu-system-x86_64 -nographic -machine pc-i440fx-2.6,accel=kvm -cpu qemu64 -m 2048M -drive file=/home/vmimages/f20.img,if=none,id=drivea -device virtio-scsi,id=scsi -device scsi-hd,drive=drivea -device virtio-rng -device virtio-serial -chardev file,id=test,path=/tmp/testfile -device virtconsole,chardev=test,name=foo -virtfs local,path=/home,security_model=passthrough,mount_tag=host_share -device virtio-gpu -drive file=/home/vmimages/jeos-19-64.qcow2,id=jeos,if=none -device virtio-blk,drive=jeos -device virtio-balloon
> >
> > Thoughts?
>
> Do you have a git tree to test somewhere? I'll take a look at the
> patches later, but it would be good if we could give it a quick test on
> s390x as well.
I've just pushed it to:
https://github.com/dagrh/qemu.git
on the virtio-mig branch, tag dag-virtio-mig-20160622
Thanks.
Dave
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-06-22 10:54 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 19:13 [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate Dr. David Alan Gilbert (git)
2016-06-21 19:13 ` [Qemu-devel] [PATCH 01/13] virtio-net: Remove old migration version support Dr. David Alan Gilbert (git)
2016-06-27 6:46 ` Amit Shah
2016-06-21 19:13 ` [Qemu-devel] [PATCH 02/13] virtio-serial: " Dr. David Alan Gilbert (git)
2016-06-27 6:45 ` Amit Shah
2016-06-21 19:13 ` [Qemu-devel] [PATCH 03/13] virtio: Migration helper function and macro Dr. David Alan Gilbert (git)
2016-06-22 17:39 ` Cornelia Huck
2016-06-21 19:13 ` [Qemu-devel] [PATCH 04/13] virtio-scsi: Wrap in vmstate Dr. David Alan Gilbert (git)
2016-06-22 17:40 ` Cornelia Huck
2016-06-21 19:13 ` [Qemu-devel] [PATCH 05/13] virtio-blk: " Dr. David Alan Gilbert (git)
2016-06-22 17:42 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 06/13] virtio-rng: " Dr. David Alan Gilbert (git)
2016-06-22 17:44 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 07/13] virtio-balloon: " Dr. David Alan Gilbert (git)
2016-06-22 17:46 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 08/13] virtio-net: " Dr. David Alan Gilbert (git)
2016-06-23 7:39 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 09/13] virtio-serial: " Dr. David Alan Gilbert (git)
2016-06-23 7:55 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 10/13] 9pfs: " Dr. David Alan Gilbert (git)
2016-06-23 8:01 ` Cornelia Huck
2016-06-30 7:02 ` Greg Kurz
2016-06-21 19:14 ` [Qemu-devel] [PATCH 11/13] virtio-input: " Dr. David Alan Gilbert (git)
2016-06-22 6:48 ` Gerd Hoffmann
2016-06-22 9:54 ` Dr. David Alan Gilbert
2016-06-22 10:29 ` Gerd Hoffmann
2016-06-23 8:07 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 12/13] virtio-gpu: " Dr. David Alan Gilbert (git)
2016-06-23 8:19 ` Cornelia Huck
2016-06-21 19:14 ` [Qemu-devel] [PATCH 13/13] virtio: Update migration docs Dr. David Alan Gilbert (git)
2016-06-23 8:23 ` Cornelia Huck
2016-06-22 6:53 ` [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate Gerd Hoffmann
2016-06-22 9:50 ` Dr. David Alan Gilbert
2016-06-22 8:39 ` Cornelia Huck
2016-06-22 10:54 ` Dr. David Alan Gilbert [this message]
2016-06-22 17:36 ` Cornelia Huck
2016-06-24 5:49 ` Michael S. Tsirkin
2016-06-24 8:02 ` Dr. David Alan Gilbert
2016-06-27 6:50 ` Amit Shah
2016-06-27 7:53 ` Dr. David Alan Gilbert
2016-06-28 9:04 ` Amit Shah
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=20160622105420.GD2274@work-vm \
--to=dgilbert@redhat.com \
--cc=amit.shah@redhat.com \
--cc=cornelia.huck@de.ibm.com \
--cc=kraxel@redhat.com \
--cc=mst@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.