Skip to content

virtio vmstatification

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio/migration: Add VMStateDescription to VirtioDeviceClasshw/virtio/virtio.c include/hw/virtio/virtio.h+18 -01 reply
2/2virtio/migration: Migrate balloon to VMStatehw/virtio/virtio-balloon.c+15 -161 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJuan Quintela
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] virtio vmstatification

From: "Dr. David Alan Gilbert" <[email protected]>

Hi,
This contains part of a series I previously posted as an RFC;
it contains just the code to add the vmsd hook to virtio and the simple case for balloon. The networking code will have to wait until my VMSTATE_WITH_TMP macros go in and there's some other stuff I need to figure out for the other devices. However, it seems right to get the hook in for anyone else who wants to do stuff.

Since the RFC I've added an assert to ensure that you can only have either the new vmsd hook or the old ->load/save methods.

Dave

Dr. David Alan Gilbert (2):
virtio/migration: Add VMStateDescription to VirtioDeviceClass virtio/migration: Migrate balloon to VMState

 hw/virtio/virtio-balloon.c | 31 +++++++++++++++----------------
 hw/virtio/virtio.c         | 14 ++++++++++++++
 include/hw/virtio/virtio.h |  4 ++++
 3 files changed, 33 insertions(+), 16 deletions(-)
Signature · 1 line
2.9.3