[PULL 00/29] Migration pull patches

Juan Quintela posted 29 patches 4 years, 3 months ago
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200120103340.25118-1-quintela@redhat.com
Maintainers: David Gibson <david@gibson.dropbear.id.au>, "Daniel P. Berrangé" <berrange@redhat.com>, Jason Wang <jasowang@redhat.com>, Andrzej Zaborowski <balrogg@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Juan Quintela <quintela@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <rth@twiddle.net>, Paolo Bonzini <pbonzini@redhat.com>, Corey Minyard <cminyard@mvista.com>, Laurent Vivier <lvivier@redhat.com>, Stefan Weil <sw@weilnetz.de>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Stefan Berger <stefanb@linux.ibm.com>
backends/dbus-vmstate.c      |   3 +-
exec.c                       |   4 +-
hw/arm/stellaris.c           |   2 +-
hw/core/qdev.c               |   3 +-
hw/display/ads7846.c         |   2 +-
hw/i2c/core.c                |   2 +-
hw/input/stellaris_input.c   |   3 +-
hw/intc/apic_common.c        |   7 +-
hw/misc/max111x.c            |   3 +-
hw/net/eepro100.c            |   3 +-
hw/pci/pci.c                 |   2 +-
hw/ppc/spapr.c               |   2 +-
hw/timer/arm_timer.c         |   2 +-
hw/tpm/tpm_emulator.c        |   3 +-
include/migration/register.h |   2 +-
include/migration/vmstate.h  |  25 ++++-
include/qemu/queue.h         |  39 +++++++
migration/migration.c        |  72 ++++++-------
migration/migration.h        |   1 +
migration/ram.c              | 196 +++++++++++++++++++++++++----------
migration/savevm.c           |  61 ++++++++---
migration/trace-events       |   9 +-
migration/vmstate-types.c    |  70 +++++++++++++
stubs/vmstate.c              |   2 +-
tests/qtest/migration-test.c |  93 +++++++++++++++++
tests/test-vmstate.c         | 170 ++++++++++++++++++++++++++++++
vl.c                         |  10 +-
27 files changed, 659 insertions(+), 132 deletions(-)
[PULL 00/29] Migration pull patches
Posted by Juan Quintela 4 years, 3 months ago
The following changes since commit 7fb38daf256bd1bcbcb5ea556422283d0d55a1b1:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200117-1' into staging (2020-01-17 17:27:20 +0000)

are available in the Git repository at:

  https://github.com/juanquintela/qemu.git tags/migration-pull-pull-request

for you to fetch changes up to ddac5cb2d95774cd019bfaf93c54ffd921095fea:

  multifd: Be consistent about using uint64_t (2020-01-20 09:17:07 +0100)

----------------------------------------------------------------
Migration pull request (take 5)

Making history short:

* having your machine named x32 to really be a 32bit guest helps for
  testing 32bits
* disabling CONFIG_XEN on i686 makes rdma_addr_t be a 32bit value

After this, and patch sent on Friday, I got this pull request to:
* compile on x86_64
* pass tests on x86_64
* compile on i686
* pass tests on i686 (with rdma_dma_t 32 bits)
* cross-compile for windows 32bits
* cross-compile for windows 64bits

Please apply, Juan.

----------------------------------------------------------------

Alexey Romko (1):
  Bug #1829242 correction.

Daniel Henrique Barboza (1):
  ram.c: remove unneeded labels

Dr. David Alan Gilbert (1):
  migration: Rate limit inside host pages

Eric Auger (1):
  migration: Support QLIST migration

Fangrui Song (1):
  migration: Fix incorrect integer->float conversion caught by clang

Jiahui Cen (2):
  migration/multifd: fix nullptr access in terminating multifd threads
  migration/multifd: fix destroyed mutex access in terminating multifd
    threads

Juan Quintela (5):
  multifd: Initialize local variable
  migration-test: Add migration multifd test
  migration: Make sure that we don't call write() in case of error
  migration-test: introduce functions to handle string parameters
  multifd: Be consistent about using uint64_t

Laurent Vivier (1):
  runstate: ignore finishmigrate -> prelaunch transition

Marc-André Lureau (1):
  misc: use QEMU_IS_ALIGNED

Peter Xu (3):
  migration: Define VMSTATE_INSTANCE_ID_ANY
  migration: Change SaveStateEntry.instance_id into uint32_t
  apic: Use 32bit APIC ID for migration instance ID

Scott Cheloha (2):
  migration: add savevm_state_handler_remove()
  migration: savevm_state_handler_insert: constant-time element
    insertion

Wei Yang (8):
  migration/postcopy: reduce memset when it is zero page and
    matches_target_page_size
  migration/postcopy: wait for decompress thread in precopy
  migration/postcopy: count target page number to decide the
    place_needed
  migration/postcopy: set all_zero to true on the first target page
  migration/postcopy: enable random order target page arrival
  migration/postcopy: enable compress during postcopy
  migration/multifd: clean pages after filling packet
  migration/multifd: not use multifd during postcopy

Yury Kotov (2):
  migration: Fix the re-run check of the migrate-incoming command
  migration/ram: Yield periodically to the main loop

 backends/dbus-vmstate.c      |   3 +-
 exec.c                       |   4 +-
 hw/arm/stellaris.c           |   2 +-
 hw/core/qdev.c               |   3 +-
 hw/display/ads7846.c         |   2 +-
 hw/i2c/core.c                |   2 +-
 hw/input/stellaris_input.c   |   3 +-
 hw/intc/apic_common.c        |   7 +-
 hw/misc/max111x.c            |   3 +-
 hw/net/eepro100.c            |   3 +-
 hw/pci/pci.c                 |   2 +-
 hw/ppc/spapr.c               |   2 +-
 hw/timer/arm_timer.c         |   2 +-
 hw/tpm/tpm_emulator.c        |   3 +-
 include/migration/register.h |   2 +-
 include/migration/vmstate.h  |  25 ++++-
 include/qemu/queue.h         |  39 +++++++
 migration/migration.c        |  72 ++++++-------
 migration/migration.h        |   1 +
 migration/ram.c              | 196 +++++++++++++++++++++++++----------
 migration/savevm.c           |  61 ++++++++---
 migration/trace-events       |   9 +-
 migration/vmstate-types.c    |  70 +++++++++++++
 stubs/vmstate.c              |   2 +-
 tests/qtest/migration-test.c |  93 +++++++++++++++++
 tests/test-vmstate.c         | 170 ++++++++++++++++++++++++++++++
 vl.c                         |  10 +-
 27 files changed, 659 insertions(+), 132 deletions(-)

-- 
2.24.1


Re: [PULL 00/29] Migration pull patches
Posted by Peter Maydell 4 years, 3 months ago
On Mon, 20 Jan 2020 at 10:33, Juan Quintela <quintela@redhat.com> wrote:
>
> The following changes since commit 7fb38daf256bd1bcbcb5ea556422283d0d55a1b1:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200117-1' into staging (2020-01-17 17:27:20 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/juanquintela/qemu.git tags/migration-pull-pull-request
>
> for you to fetch changes up to ddac5cb2d95774cd019bfaf93c54ffd921095fea:
>
>   multifd: Be consistent about using uint64_t (2020-01-20 09:17:07 +0100)
>
> ----------------------------------------------------------------
> Migration pull request (take 5)
>
> Making history short:
>
> * having your machine named x32 to really be a 32bit guest helps for
>   testing 32bits
> * disabling CONFIG_XEN on i686 makes rdma_addr_t be a 32bit value
>
> After this, and patch sent on Friday, I got this pull request to:
> * compile on x86_64
> * pass tests on x86_64
> * compile on i686
> * pass tests on i686 (with rdma_dma_t 32 bits)
> * cross-compile for windows 32bits
> * cross-compile for windows 64bits
>
> Please apply, Juan.
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM