postcopy+vhost-user/shared ram
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest29 patches 0 repliesNew
- v529 patches 5 repliesSuperseded
- v429 patches 38 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 29 patches | 45 replies | Superseded | |
| v2 RFC | 32 patches | 61 replies | Superseded | |
| v1 RFC | 29 patches | 57 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | migrate: Update ram_block_discard_range for sharedexec.c trace-events | +48 | 0 replies | |
| 2/29 | qemu_ram_block_host_offsetexec.c include/ | +11 | 0 replies | |
| 3/29 | postcopy: use UFFDIO_ZEROPAGE only when availableexec.c include/ migration/ | +29 | 0 replies | |
| 4/29 | postcopy: Add notifier chainmigration/ migration/ vl.c | +64 | 0 replies | |
| 5/29 | postcopy: Add vhost-user flag for postcopy and check itcontrib/ docs/ hw/ | +52 | 0 replies | |
| 6/29 | vhost-user: Add 'VHOST_USER_POSTCOPY_ADVISE' messagecontrib/ contrib/ docs/ +3 more | +79 | 0 replies | |
| 7/29 | libvhost-user: Support sending fds back to qemucontrib/ | +29 | 0 replies | |
| 8/29 | libvhost-user: Open userfaultfdcontrib/ contrib/ | +43 | 0 replies | |
| 9/29 | postcopy: Allow registering of fd handlermigration/ migration/ migration/ +2 more | +187 | 0 replies | |
| 10/29 | vhost+postcopy: Register shared ufd with postcopyhw/ | +19 | 0 replies | |
| 11/29 | vhost+postcopy: Transmit 'listen' to slavecontrib/ contrib/ docs/ +4 more | +77 | 0 replies | |
| 12/29 | postcopy+vhost-user: Split set_mem_table for postcopycontrib/ hw/ | +107 | 0 replies | |
| 13/29 | migration/ram: ramblock_recv_bitmap_test_byte_offsetmigration/ migration/ | +6 | 0 replies | |
| 14/29 | libvhost-user+postcopy: Register new regions with the ufdcontrib/ | +34 | 0 replies | |
| 15/29 | vhost+postcopy: Send address back to qemucontrib/ docs/ hw/ +1 more | +98 | 0 replies | |
| 16/29 | vhost+postcopy: Stash RAMBlock and offsethw/ hw/ | +50 | 0 replies | |
| 17/29 | vhost+postcopy: Helper to send requests to source for shared pagesmigration/ migration/ migration/ +1 more | +36 | 0 replies | |
| 18/29 | vhost+postcopy: Resolve client addresshw/ hw/ | +33 | 0 replies | |
| 19/29 | postcopy: helper for waking sharedmigration/ migration/ migration/ | +37 | 0 replies | |
| 20/29 | postcopy: postcopy_notify_shared_wakemigration/ migration/ | +26 | 0 replies | |
| 21/29 | vhost+postcopy: Add vhost wakerhw/ hw/ | +33 | 0 replies | |
| 22/29 | vhost+postcopy: Call wakeupsmigration/ migration/ | +11 | 0 replies | |
| 23/29 | libvhost-user: mprotect & madvises for postcopycontrib/ | +42 | 0 replies | |
| 24/29 | vhost-user: Add VHOST_USER_POSTCOPY_END messagecontrib/ contrib/ docs/ +1 more | +37 | 0 replies | |
| 25/29 | vhost+postcopy: Wire up POSTCOPY_END notifyhw/ hw/ migration/ +1 more | +44 | 0 replies | |
| 26/29 | vhost: Huge page align and mergehw/ hw/ | +58 | 0 replies | |
| 27/29 | postcopy: Allow shared memorymigration/ | +0 | 0 replies | |
| 28/29 | libvhost-user: Claim support for postcopycontrib/ | +33 | 0 replies | |
| 29/29 | postcopy shared docsdocs/ | +41 | 0 replies |
Reviews trailers per patch
26 of 29 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Marc-André Lureau |
|---|---|---|
| 1/29 | R-b | |
| 2/29 | R-b | |
| 3/29 | R-b | |
| 4/29 | R-b | |
| 5/29 | R-b | |
| 6/29 | R-b | |
| 7/29 | R-b | |
| 8/29 | R-b | |
| 9/29 | R-b | |
| 10/29 | R-b | |
| 11/29 | R-b | R-b |
| 12/29 | R-b | |
| 13/29 | R-b | R-b |
| 14/29 | R-b | |
| 15/29 | R-b | |
| 16/29 | ||
| 17/29 | R-b | |
| 18/29 | R-b | R-b |
| 19/29 | R-b | |
| 20/29 | R-b | R-b |
| 21/29 | R-b | |
| 22/29 | ||
| 23/29 | R-b | |
| 24/29 | R-b | R-b |
| 25/29 | R-b | |
| 26/29 | ||
| 27/29 | R-b | |
| 28/29 | R-b | |
| 29/29 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v6 00/29] postcopy+vhost-user/shared ram
From: "Dr. David Alan Gilbert" <[email protected]>
This set enables postcopy migration with shared memory to a vhost user process.
It's based off current head.
Testing is mostly performed with dpdk, with corresponding modifications by
Maxime.
v6 is a rebase on top of Michael's PCI world; this took some merging
because of Jay Zhou's 'vhost: used_memslots refactoring', which needed a bit of a change to 'vhost+postcopy: Stash RAMBlock and offset' (which I dropped the Review-by off)
and 'postcopy+vhost-user: Split set_mem_table for postcopy' (which I kept it, since the change is mostly contextual).
And I removed a blank line at the end of a patch.
Dave
Dr. David Alan Gilbert (29):
migrate: Update ram_block_discard_range for shared qemu_ram_block_host_offset
postcopy: use UFFDIO_ZEROPAGE only when available
postcopy: Add notifier chain
postcopy: Add vhost-user flag for postcopy and check it
vhost-user: Add 'VHOST_USER_POSTCOPY_ADVISE' message
libvhost-user: Support sending fds back to qemu
libvhost-user: Open userfaultfd
postcopy: Allow registering of fd handler vhost+postcopy: Register shared ufd with postcopy vhost+postcopy: Transmit 'listen' to slave postcopy+vhost-user: Split set_mem_table for postcopy migration/ram: ramblock_recv_bitmap_test_byte_offset libvhost-user+postcopy: Register new regions with the ufd vhost+postcopy: Send address back to qemu vhost+postcopy: Stash RAMBlock and offset vhost+postcopy: Helper to send requests to source for shared pages vhost+postcopy: Resolve client address
postcopy: helper for waking shared
postcopy: postcopy_notify_shared_wake
vhost+postcopy: Add vhost waker
vhost+postcopy: Call wakeups
libvhost-user: mprotect & madvises for postcopy
vhost-user: Add VHOST_USER_POSTCOPY_END message vhost+postcopy: Wire up POSTCOPY_END notify
vhost: Huge page align and merge
postcopy: Allow shared memory
libvhost-user: Claim support for postcopy
postcopy shared docs
contrib/libvhost-user/libvhost-user.c | 302 ++++++++++++++++++++++++- contrib/libvhost-user/libvhost-user.h | 11 + docs/devel/migration.rst | 41 ++++ docs/interop/vhost-user.txt | 52 +++++ exec.c | 86 ++++++-- hw/virtio/trace-events | 16 +- hw/virtio/vhost-user.c | 403 +++++++++++++++++++++++++++++++++- hw/virtio/vhost.c | 66 +++++- include/exec/cpu-common.h | 4 + migration/migration.c | 6 + migration/migration.h | 4 + migration/postcopy-ram.c | 353 +++++++++++++++++++++++------ migration/postcopy-ram.h | 73 ++++++ migration/ram.c | 5 + migration/ram.h | 1 + migration/savevm.c | 13 ++ migration/trace-events | 6 + trace-events | 3 +- vl.c | 2 + 19 files changed, 1351 insertions(+), 96 deletions(-)
Signature · 1 line
2.14.3