[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/3] Add bitmap for received pages in postcopy mi
From: |
Alexey Perevalov |
Subject: |
[Qemu-devel] [PATCH v3 0/3] Add bitmap for received pages in postcopy migration |
Date: |
Fri, 16 Jun 2017 22:08:37 +0300 |
This is third version of
[PATCH v1 0/2] Add bitmap for copied pages in postcopy migration
cover message from there
This is a separate patch set, it derived from
https://www.mail-archive.com/address@hidden/msg456004.html
There are several possible use cases:
1. solve issue with postcopy live migration and shared memory.
OVS-VSWITCH requires information about copied pages, to fallocate
newly allocated pages.
2. calculation vCPU blocktime
for more details see
https://www.mail-archive.com/address@hidden/msg456004.html
3. Recovery after fail in the middle of postcopy migration
Declaration is placed in two places include/migration/migration.h and into
migration/postcopy-ram.h, because some functions are required in virtio.
----------------------------------------------------------------
V2 > V3
- ramblock_recv_map_init call is placed into migration_incoming_get_current,
looks like it's general place for both precopy and postcopy case.
- received bitmap memory releasing is placed into ram_load_cleanup,
unfortunatelly, it calls only in case of precopy.
- precopy case and discard ram block case
- function renaming, and another minor cleanups
V1 -> V2
- change in terminology s/copied/received/g
- granularity became TARGET_PAGE_SIZE, but not actual page size of the
ramblock
- movecopiedmap & get_copiedmap_size were removed, until patch set where
it will be necessary
- releasing memory of receivedmap was added into ram_load_cleanup
- new patch "migration: introduce qemu_ufd_copy_ioctl helper"
Patchset is based on Juan's patchset:
[PATCH v2 0/5] Create setup/cleanup methods for migration incoming side
Alexey Perevalov (3):
migration: postcopy_place_page factoring out
migration: introduce qemu_ufd_copy_ioctl helper
migration: add bitmap for received page
include/exec/ram_addr.h | 3 +++
migration/migration.c | 1 +
migration/postcopy-ram.c | 53 +++++++++++++++++++++++-------------
migration/postcopy-ram.h | 4 +--
migration/ram.c | 70 ++++++++++++++++++++++++++++++++++++++++++++----
migration/ram.h | 6 +++++
6 files changed, 111 insertions(+), 26 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v3 0/3] Add bitmap for received pages in postcopy migration,
Alexey Perevalov <=
- Message not available
- Message not available
- [Qemu-devel] [PATCH v3 3/3] migration: add bitmap for received page, Alexey Perevalov, 2017/06/16
- Re: [Qemu-devel] [PATCH v3 3/3] migration: add bitmap for received page, Dr. David Alan Gilbert, 2017/06/23
- Re: [Qemu-devel] [PATCH v3 3/3] migration: add bitmap for received page, Perevalov Alexey, 2017/06/23
- Re: [Qemu-devel] [PATCH v3 3/3] migration: add bitmap for received page, Dr. David Alan Gilbert, 2017/06/23
- Re: [Qemu-devel] [PATCH v3 3/3] migration: add bitmap for received page, Perevalov Alexey, 2017/06/24
Message not available