virtio-net VMState conversion and new VMSTATE macros
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | migration: Add VMSTATE_UNUSED_VARRAY_UINT32include/ | +11 | 1 reply | |
| 2/4 | migration: Add VMSTATE_WITH_TMPinclude/ migration/ | +59 | 1 reply | |
| 3/4 | tests/migration: Add test for VMSTATE_WITH_TMPtests/ | +92 | 1 reply | |
| 4/4 | virtio/migration: Migrate virtio-net to VMStatehw/ include/ | +213 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | David Gibson | Michael S. Tsirkin | Juan Quintela | Alex Bennée |
|---|---|---|---|---|
| Series | R-b | |||
| 1/4 | R-b | |||
| 2/4 | R-b | R-b | ||
| 3/4 | R-b | |||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [Qemu-devel] [PATCH 0/4] virtio-net VMState conversion and new VMSTATE macros
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This set converts the virtio-net device to VMState;
it uses a couple of new VMSTATE macros I've added, of which the VMSTATE_WITH_TMP is a bit unusual, but is intended for dealing with migration data that doesn't quite look like the data structure we have in memory.
Dave
Dr. David Alan Gilbert (4):
migration: Add VMSTATE_UNUSED_VARRAY_UINT32
migration: Add VMSTATE_WITH_TMP
tests/migration: Add test for VMSTATE_WITH_TMP
virtio/migration: Migrate virtio-net to VMState
hw/net/virtio-net.c | 316 +++++++++++++++++++++++++++-------------- include/hw/virtio/virtio-net.h | 4 +- include/migration/vmstate.h | 30 ++++ migration/vmstate.c | 40 ++++++ tests/test-vmstate.c | 98 ++++++++++++- 5 files changed, 375 insertions(+), 113 deletions(-)
Signature · 1 line
2.9.3