Rework vhost memory region updates
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest7 patches 1 replyIn review
- v67 patches 4 repliesSuperseded
- v57 patches 19 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 6 patches | 17 replies | Superseded | |
| v3 | 8 patches | 6 replies | Superseded | |
| v2 RFC | 8 patches | 1 reply | Superseded | |
| v1 RFC | 7 patches | 17 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vhost: Build temporary section list and deref after commithw/ include/ | +49 | 0 replies | |
| 2/7 | vhost: Simplify ring verification checkshw/ | +40 | 0 replies | |
| 3/7 | vhost: Merge sections added to temporary listhw/ hw/ | +71 | 0 replies | |
| 4/7 | vhost: Regenerate region list from changed sections listhw/ hw/ | +36 | 1 reply | |
| 5/7 | vhost: Clean out old vhost_set_memory and friendshw/ include/ | +0 | 0 replies | |
| 6/7 | vhost: Merge and delete unused callbackshw/ | +5 | 0 replies | |
| 7/7 | vhost: Move log_dirty checkhw/ hw/ | +14 | 0 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Igor Mammedov |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | |
| 6/7 | R-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v7 0/7] Rework vhost memory region updates
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This patch set reworks the way the vhost code handles changes in
physical address space layout that came from a discussion with Igor.
Its intention is to simplify a lot of the update code, and to make it easier for the postcopy+shared code to do the hugepage alignments that are needed.
Instead of inserting/removing each section during the add/del callbacks of the listener, we start afresh and build a list from the add and nop callbacks, then at the end compare the list we've built with the exisiting list.
v7
Avoid calling memcmp(NULL,NULL,0) in region list compare
v6
Tidy ups from Igor
The biggest change is moving the 'Move log_dirty check' to be the last patch in the set.
Dr. David Alan Gilbert (7):
vhost: Build temporary section list and deref after commit
vhost: Simplify ring verification checks
vhost: Merge sections added to temporary list
vhost: Regenerate region list from changed sections list
vhost: Clean out old vhost_set_memory and friends
vhost: Merge and delete unused callbacks
vhost: Move log_dirty check
hw/virtio/trace-events | 6 + hw/virtio/vhost.c | 497 ++++++++++++++++------------------------------ include/hw/virtio/vhost.h | 5 +- 3 files changed, 180 insertions(+), 328 deletions(-)
Signature · 1 line
2.14.3