Skip to content

VMSTATE_WITH_TMP and it's use in SLIRP

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8migration: extend VMStateInfohw/display/virtio-gpu.c hw/intc/s390_flic_kvm.c hw/net/vmxnet3.c +19 more+198 -1041 reply
2/8add QEMU_BUILD_BUG_EXPRinclude/qemu/compiler.h+5 -01 reply
3/8migration: Add VMSTATE_WITH_TMPinclude/migration/vmstate.h migration/vmstate.c+57 -01 reply
4/8tests/migration: Add test for VMSTATE_WITH_TMPtests/test-vmstate.c+93 -41 reply
5/8slirp: VMState conversion; tcpcbslirp/slirp.c slirp/tcp_var.h+57 -981 reply
6/8slirp: VMStatify sbufslirp/sbuf.h slirp/slirp.c+78 -422 replies
7/8slirp: VMStatify socket levelslirp/slirp.c slirp/socket.h+74 -823 replies
8/8slirp: VMStatify remaining except for loopslirp/slirp.c+20 -293 replies

Reviews trailers per patch

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

PatchDavid GibsonSamuel ThibaultJuan Quintela
1/8R-b
2/8R-b
3/8R-b R-b
4/8R-b
5/8R-b R-b
6/8R-b A-b R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] VMSTATE_WITH_TMP and it's use in SLIRP

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

Hi,
This set adds the VMSTATE_WITH_TMP macro to allow the allocation
of temporary space during migration for cases where the data to be migrated must be derived from the data that's actually in use.

The first use of it is in the VMStatification of slirp's sbuf,
so I've included my current set of slirp patches; this just leaves the top level loop to be converted.

This set depends on the first of Jianjun's VMStateInfo changes,
which I've included but it would be best just to pull that set first.

Dave

Dr. David Alan Gilbert (7):
add QEMU_BUILD_BUG_EXPR
migration: Add VMSTATE_WITH_TMP
tests/migration: Add test for VMSTATE_WITH_TMP
slirp: VMState conversion; tcpcb
slirp: VMStatify sbuf
slirp: VMStatify socket level
slirp: VMStatify remaining except for loop

Jianjun Duan (1):
migration: extend VMStateInfo

 hw/display/virtio-gpu.c     |   6 +-
 hw/intc/s390_flic_kvm.c     |   6 +-
 hw/net/vmxnet3.c            |  18 +-
 hw/nvram/eeprom93xx.c       |   6 +-
 hw/nvram/fw_cfg.c           |   6 +-
 hw/pci/msix.c               |   6 +-
 hw/pci/pci.c                |  12 +-
 hw/pci/shpc.c               |   5 +-
 hw/scsi/scsi-bus.c          |   6 +-
 hw/timer/twl92230.c         |   6 +-
 hw/usb/redirect.c           |  18 +-
 hw/virtio/virtio-pci.c      |   6 +-
 hw/virtio/virtio.c          |  12 +-
 include/migration/vmstate.h |  34 +++-
 include/qemu/compiler.h     |   5 +
 migration/savevm.c          |   5 +-
 migration/vmstate.c         | 144 +++++++++++----
 slirp/sbuf.h                |   4 +-
 slirp/slirp.c               | 432 +++++++++++++++++++++-----------------------
 slirp/socket.h              |   6 +-
 slirp/tcp_var.h             |   6 +-
 target-alpha/machine.c      |   5 +-
 target-arm/machine.c        |  12 +-
 target-i386/machine.c       |  21 ++-
 target-mips/machine.c       |  10 +-
 target-ppc/machine.c        |  10 +-
 target-sparc/machine.c      |   5 +-
 tests/test-vmstate.c        |  97 +++++++++-
 28 files changed, 566 insertions(+), 343 deletions(-)
Signature · 1 line
2.9.3