All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>
To: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com,
	samuel.thibault@ens-lyon.org, jan.kiszka@siemens.com
Cc: duanj@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH 0/8] VMSTATE_WITH_TMP and it's use in SLIRP
Date: Thu, 27 Oct 2016 16:32:09 +0100	[thread overview]
Message-ID: <20161027153217.16984-1-dgilbert@redhat.com> (raw)

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

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

-- 
2.9.3

             reply	other threads:[~2016-10-27 15:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27 15:32 Dr. David Alan Gilbert (git) [this message]
2016-10-27 15:32 ` [Qemu-devel] [PATCH 1/8] migration: extend VMStateInfo Dr. David Alan Gilbert (git)
2017-02-13 12:02   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 2/8] add QEMU_BUILD_BUG_EXPR Dr. David Alan Gilbert (git)
2017-02-13 12:02   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 3/8] migration: Add VMSTATE_WITH_TMP Dr. David Alan Gilbert (git)
2017-02-13 12:04   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 4/8] tests/migration: Add test for VMSTATE_WITH_TMP Dr. David Alan Gilbert (git)
2017-02-13 12:06   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 5/8] slirp: VMState conversion; tcpcb Dr. David Alan Gilbert (git)
2017-02-13 12:06   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 6/8] slirp: VMStatify sbuf Dr. David Alan Gilbert (git)
2016-10-30 14:40   ` Samuel Thibault
2017-02-13 12:07   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 7/8] slirp: VMStatify socket level Dr. David Alan Gilbert (git)
2016-10-30 14:47   ` Samuel Thibault
2016-11-07 19:55     ` Dr. David Alan Gilbert
2017-02-13 12:13   ` Juan Quintela
2016-10-27 15:32 ` [Qemu-devel] [PATCH 8/8] slirp: VMStatify remaining except for loop Dr. David Alan Gilbert (git)
2016-10-30 14:51   ` Samuel Thibault
2016-11-07 19:30     ` Dr. David Alan Gilbert
2017-02-13 12:09   ` Juan Quintela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161027153217.16984-1-dgilbert@redhat.com \
    --to=dgilbert@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=duanj@linux.vnet.ibm.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=samuel.thibault@ens-lyon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.