Skip to content

RFC virtio: migrate new properties

Greg Kurz qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest8 patches 12 repliesIn review
  2. v1 RFC8 patches 54 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8virtio: introduce device specific migration callshw/block/virtio-blk.c hw/char/virtio-serial-bus.c hw/net/virtio-net.c +5 more+21 -80 replies
2/8virtio-net: implement per-device migration callshw/net/virtio-net.c+16 -60 replies
3/8virtio-blk: implement per-device migration callshw/block/virtio-blk.c+16 -80 replies
4/8virtio-serial: implement per-device migration callshw/char/virtio-serial-bus.c+19 -130 replies
5/8virtio-balloon: implement per-device migration callshw/virtio/virtio-balloon.c+14 -110 replies
6/8virtio-rng: implement per-device migration callshw/virtio/virtio-rng.c+7 -50 replies
7/8virtio: add subsections to the migration streamhw/virtio/virtio.c+77 -10 replies
8/8virtio: add endian-ambivalent support to VirtIODeviceexec.c hw/virtio/virtio-pci.c hw/virtio/virtio.c +2 more+87 -264 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexander Graf
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH RFC V2 0/8] virtio: migrate new properties

Hi,

This patch set tries to address comments from the initial review. For this round, I have focused on two changes:
- as suggested by Andreas, we now call the device specific code from the generic code to ease the implementation of future devices. This is achieved with the addition of load/save methods to VirtioDeviceClass.
- virtio subsections now implement a "needed" concept with the same semantics as in the VMState code.

I haven't looked at compat mode issues yet, but it is on my TODO list.

Cheers.

---

Greg Kurz (8):
virtio: introduce device specific migration calls
virtio-net: implement per-device migration calls
virtio-blk: implement per-device migration calls
virtio-serial: implement per-device migration calls
virtio-balloon: implement per-device migration calls
virtio-rng: implement per-device migration calls
virtio: add subsections to the migration stream
virtio: add endian-ambivalent support to VirtIODevice

 exec.c                      |    8 --
 hw/block/virtio-blk.c       |   24 ++++--
 hw/char/virtio-serial-bus.c |   32 +++++---
 hw/net/virtio-net.c         |   22 ++++--
 hw/scsi/virtio-scsi.c       |    2 -
 hw/virtio/virtio-balloon.c  |   25 ++++--
 hw/virtio/virtio-pci.c      |   11 +--
 hw/virtio/virtio-rng.c      |   12 ++-
 hw/virtio/virtio.c          |  169 ++++++++++++++++++++++++++++++++++++++++---
 include/exec/cpu-common.h   |    1 
 include/hw/virtio/virtio.h  |   17 ++++
 11 files changed, 251 insertions(+), 72 deletions(-)
Signature · 1 line
Greg