qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/21] Migration  pull request
@ 2017-10-23 16:07 Juan Quintela
  2017-10-23 16:07 ` [Qemu-devel] [PULL 01/21] migration: Fix migrate_test_apply for multifd parameters Juan Quintela
                   ` (21 more replies)
  0 siblings, 22 replies; 28+ messages in thread
From: Juan Quintela @ 2017-10-23 16:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx

Hi

This includes:

- Postocpy bitmap on destination (alexey)
- pre-switchover patches (dave)
- ram_state cleanup (peter)
- reviewed part of set_migrate_state (me)
- grammar fix from eric
- patch reviewed from multifd

Please, Apply.

The following changes since commit e822e81e350825dd94f41ee2538ff1432b812eb9:

  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-10-20 15:04:00 +0100)

are available in the git repository at:

  git://github.com/juanquintela/qemu.git tags/migration/20171023

for you to fetch changes up to 87db1a7d89677e3dbc8b3763e417b9376009bdbb:

  migration: Improve migration thread error handling (2017-10-23 18:03:43 +0200)

----------------------------------------------------------------
migration/next for 20171023

----------------------------------------------------------------
Alexey Perevalov (3):
      migration: postcopy_place_page factoring out
      migration: introduce qemu_ufd_copy_ioctl helper
      migration: add bitmap for received page

Dr. David Alan Gilbert (7):
      migration: Add 'pause-before-switchover' capability
      migration: Add 'pre-switchover' and 'device' statuses
      migration: Wait for semaphore before completing migration
      migration: migrate-continue
      migrate: HMP migate_continue
      migration: allow cancel to unpause
      migration: pause-before-switchover for postcopy

Juan Quintela (7):
      migration: Fix migrate_test_apply for multifd parameters
      migratiom: Remove max_item_age parameter
      migration: Make cache size elements use the right types
      migration: Move xbzrle cache resize error handling to xbzrle_cache_resize
      migration: Make cache_init() take an error parameter
      qapi: Fix grammar in x-multifd-page-count descriptions
      migration: Improve migration thread error handling

Peter Xu (4):
      migration: provide ram_state_init()
      migration: provide ram_state_cleanup
      migration: clean up xbzrle cache init/destroy
      migration: new ram_init_bitmaps()

 hmp-commands.hx          |  12 +++
 hmp.c                    |  13 +++
 hmp.h                    |   1 +
 include/exec/ram_addr.h  |  10 ++
 migration/migration.c    | 131 +++++++++++++++++++----
 migration/migration.h    |  11 +-
 migration/page_cache.c   |  25 +++--
 migration/page_cache.h   |   7 +-
 migration/postcopy-ram.c |  54 ++++++----
 migration/postcopy-ram.h |   4 +-
 migration/ram.c          | 267 +++++++++++++++++++++++++++++++++--------------
 migration/ram.h          |   7 +-
 migration/tls.c          |   1 -
 qapi/migration.json      |  36 ++++++-
 14 files changed, 436 insertions(+), 143 deletions(-)

^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Qemu-devel] [PULL 00/21] Migration pull request
@ 2019-07-15 13:51 Juan Quintela
  2019-07-15 15:11 ` Peter Maydell
  0 siblings, 1 reply; 28+ messages in thread
From: Juan Quintela @ 2019-07-15 13:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Thomas Huth, kvm, Juan Quintela,
	Dr. David Alan Gilbert, Paolo Bonzini, Richard Henderson

The following changes since commit b9404bf592e7ba74180e1a54ed7a266ec6ee67f2:

  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20190715' into staging (2019-07-15 12:22:07 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 40c4d4a835453452a262f32450a0449886aa19ce:

  migration: always initial RAMBlock.bmap to 1 for new migration (2019-07-15 15:47:47 +0200)

----------------------------------------------------------------
Pull request:
- update last pull requset
- drop multifd test: For some reason, 32bit and a packed struct are
  giving me too much trouble.  Still investigating.
- New fixes from upstream.

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

Ivan Ren (1):
  migration: always initial RAMBlock.bmap to 1 for new migration

Juan Quintela (2):
  migration: fix multifd_recv event typo
  migration-test: rename parameter to parameter_int

Peng Tao (1):
  migration: allow private destination ram with x-ignore-shared

Peter Xu (10):
  migration: No need to take rcu during sync_dirty_bitmap
  memory: Don't set migration bitmap when without migration
  bitmap: Add bitmap_copy_with_{src|dst}_offset()
  memory: Pass mr into snapshot_and_clear_dirty
  memory: Introduce memory listener hook log_clear()
  kvm: Update comments for sync_dirty_bitmap
  kvm: Persistent per kvmslot dirty bitmap
  kvm: Introduce slots lock for memory listener
  kvm: Support KVM_CLEAR_DIRTY_LOG
  migration: Split log_clear() into smaller chunks

Wei Yang (7):
  migration/multifd: call multifd_send_sync_main when sending
    RAM_SAVE_FLAG_EOS
  migration/xbzrle: update cache and current_data in one place
  cutils: remove one unnecessary pointer operation
  migration/multifd: sync packet_num after all thread are done
  migration/ram.c: reset complete_round when we gets a queued page
  migration/postcopy: fix document of postcopy_send_discard_bm_ram()
  migration/postcopy: remove redundant cpu_synchronize_all_post_init

 accel/kvm/kvm-all.c      | 260 ++++++++++++++++++++++++++++++++++++---
 accel/kvm/trace-events   |   1 +
 exec.c                   |  15 ++-
 include/exec/memory.h    |  19 +++
 include/exec/ram_addr.h  |  92 +++++++++++++-
 include/qemu/bitmap.h    |   9 ++
 include/sysemu/kvm_int.h |   4 +
 memory.c                 |  56 ++++++++-
 migration/migration.c    |   4 +
 migration/migration.h    |  27 ++++
 migration/ram.c          | 113 ++++++++++++-----
 migration/savevm.c       |   1 -
 migration/trace-events   |   3 +-
 tests/Makefile.include   |   2 +
 tests/migration-test.c   |  55 +++++----
 tests/test-bitmap.c      |  72 +++++++++++
 util/bitmap.c            |  85 +++++++++++++
 util/cutils.c            |   8 +-
 18 files changed, 732 insertions(+), 94 deletions(-)
 create mode 100644 tests/test-bitmap.c

-- 
2.21.0



^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Qemu-devel] [PULL 00/21] Migration pull request
@ 2015-06-03 12:05 Juan Quintela
  2015-06-04 11:48 ` Peter Maydell
  0 siblings, 1 reply; 28+ messages in thread
From: Juan Quintela @ 2015-06-03 12:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah

Hi

Here are the pull request, it includes:
- generic patches form postcopy that are reviewed (dave)
- generic patches form RDMA fixes that are reviewed (dave)
- patches form optional section reviewed (me)
- patches for migration events reviewed (me)
- fix RDMA and ipv6 (Padmanabh)
- Remove extra variable (zhanghailiang)

Please, apply.

Later, Juan.


The following changes since commit 42d58e7c6760cb9c55627c28ae538e27dcf2f144:

  Merge remote-tracking branch 'remotes/sstabellini/tags/xen-15-06-02-tag' into staging (2015-06-02 16:47:31 +0100)

are available in the git repository at:

  git://github.com/juanquintela/qemu.git tags/migration/20150603-1

for you to fetch changes up to 6aafed47e8b7eefb0f06b2c3d05d12a1065d2a7d:

  Remove unneeded memset (2015-06-03 13:58:51 +0200)

----------------------------------------------------------------
migration/next for 20150603

----------------------------------------------------------------
Dr. David Alan Gilbert (12):
      Add qemu_get_counted_string to read a string prefixed by a count byte
      Split header writing out of qemu_savevm_state_begin
      qemu_ram_foreach_block: pass up error value, and down the ramblock name
      Create MigrationIncomingState
      Move copy out of qemu_peek_buffer
      Move loadvm_handlers into MigrationIncomingState
      Merge section header writing
      Disable section footers on older machine types
      Add a protective section footer
      Teach analyze-migration.py about section footers
      Rename RDMA structures to make destination clear
      Remove unneeded memset

Juan Quintela (7):
      migration: move ram stuff to migration/ram
      migration: move savevm.c inside migration/
      migration: Add myself to the copyright list of both files
      migration: reduce include files
      migration: Remove duplicated assignment of SETUP status
      migration: create savevm_state
      migration: Use normal VMStateDescriptions for Subsections

Padmanabh Ratnakar (1):
      rdma: Fix qemu crash when IPv6 address is used for migration

zhanghailiang (1):
      arch_init: Clean up the duplicate variable 'len' defining in ram_load()

 MAINTAINERS                    |    2 -
 Makefile.target                |    3 +-
 arch_init.c                    | 1653 ---------------------------------------
 cpus.c                         |   11 +-
 docs/migration.txt             |   11 +-
 exec.c                         |   21 +-
 hw/acpi/ich9.c                 |   10 +-
 hw/acpi/piix4.c                |   10 +-
 hw/block/fdc.c                 |   37 +-
 hw/char/serial.c               |   41 +-
 hw/display/qxl.c               |   11 +-
 hw/display/vga.c               |   11 +-
 hw/i386/pc_piix.c              |    2 +
 hw/i386/pc_q35.c               |    2 +
 hw/ide/core.c                  |   32 +-
 hw/ide/pci.c                   |   16 +-
 hw/input/pckbd.c               |   22 +-
 hw/input/ps2.c                 |   11 +-
 hw/intc/apic_common.c          |   10 +-
 hw/isa/lpc_ich9.c              |   10 +-
 hw/net/e1000.c                 |   11 +-
 hw/net/rtl8139.c               |   11 +-
 hw/net/vmxnet3.c               |   12 +-
 hw/pci-host/piix.c             |   10 +-
 hw/scsi/scsi-bus.c             |   11 +-
 hw/timer/hpet.c                |   11 +-
 hw/timer/mc146818rtc.c         |   23 +-
 hw/usb/hcd-ohci.c              |   11 +-
 hw/usb/redirect.c              |   34 +-
 hw/virtio/virtio.c             |   16 +-
 include/exec/cpu-common.h      |    4 +-
 include/migration/migration.h  |   17 +
 include/migration/qemu-file.h  |    5 +-
 include/migration/vmstate.h    |   10 +-
 include/qemu/typedefs.h        |    2 +
 include/sysemu/arch_init.h     |    1 -
 include/sysemu/sysemu.h        |    1 +
 migration/migration.c          |   34 +-
 migration/qemu-file.c          |   29 +-
 migration/ram.c                | 1670 ++++++++++++++++++++++++++++++++++++++++
 migration/rdma.c               |   78 +-
 savevm.c => migration/savevm.c |  257 ++++---
 migration/vmstate.c            |   21 +-
 scripts/analyze-migration.py   |    5 +
 target-arm/machine.c           |   26 +-
 target-i386/machine.c          |   81 +-
 target-ppc/machine.c           |   62 +-
 target-s390x/machine.c         |   28 +-
 trace-events                   |    5 +-
 49 files changed, 2230 insertions(+), 2182 deletions(-)
 create mode 100644 migration/ram.c
 rename savevm.c => migration/savevm.c (88%)

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2019-07-15 15:11 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-23 16:07 [Qemu-devel] [PULL 00/21] Migration pull request Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 01/21] migration: Fix migrate_test_apply for multifd parameters Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 02/21] migratiom: Remove max_item_age parameter Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 03/21] migration: Make cache size elements use the right types Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 04/21] migration: Move xbzrle cache resize error handling to xbzrle_cache_resize Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 05/21] migration: Make cache_init() take an error parameter Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 06/21] migration: Add 'pause-before-switchover' capability Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 07/21] migration: Add 'pre-switchover' and 'device' statuses Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 08/21] migration: Wait for semaphore before completing migration Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 09/21] migration: migrate-continue Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 10/21] migrate: HMP migate_continue Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 11/21] migration: allow cancel to unpause Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 12/21] migration: pause-before-switchover for postcopy Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 13/21] migration: provide ram_state_init() Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 14/21] migration: provide ram_state_cleanup Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 15/21] migration: clean up xbzrle cache init/destroy Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 16/21] migration: new ram_init_bitmaps() Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 17/21] migration: postcopy_place_page factoring out Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 18/21] migration: introduce qemu_ufd_copy_ioctl helper Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 19/21] migration: add bitmap for received page Juan Quintela
2017-10-23 16:07 ` [Qemu-devel] [PULL 20/21] qapi: Fix grammar in x-multifd-page-count descriptions Juan Quintela
2017-10-23 16:08 ` [Qemu-devel] [PULL 21/21] migration: Improve migration thread error handling Juan Quintela
2017-10-25 15:38 ` [Qemu-devel] [PULL 00/21] Migration pull request Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2019-07-15 13:51 Juan Quintela
2019-07-15 15:11 ` Peter Maydell
2015-06-03 12:05 Juan Quintela
2015-06-04 11:48 ` Peter Maydell
2015-06-04 13:01   ` Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).