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(-) -- Greg