proposal to make hostmem listener RAM unplug safe
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v26 patches 12 repliesSuperseded
- v15 patches 29 repliesSuperseded
Changes in v3 from the cover letter
1.Drop the memory region's ref in virtio-blk. Now all the reference are kept inside Vring.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hostmem: make hostmem single, not per Vring relatedexec.c hw/ hw/ +2 more | +34 | 0 replies | |
| 2/5 | hostmem: AddressSpace has its own map and maintained by RCU prepared stylehw/ include/ | +103 | 0 replies | |
| 3/5 | memory: add ref/unref interface for MemroyRegionOpsinclude/ memory.c | +28 | 0 replies | |
| 4/5 | hostmem: hostmem listener pin RAM-Device by refcnthw/ hw/ include/ | +26 | 0 replies | |
| 5/5 | Vring: use hostmem's RAM safe apihw/ hw/ include/ | +89 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Qemu-devel] [PATCH v3 0/5] proposal to make hostmem listener RAM unplug safe
Open issue:
As to [PATCH v3 2/5] hostmem: AddressSpace has its own map and maintained by RCU prepared style, Paolo may want to use memory_region_find() to re-implement hostmem. It is still under discussion
v2->v3:
1.Drop the memory region's ref in virtio-blk. Now all the reference are kept inside Vring.
v1->v2:
1.split RCU prepared style update and monitor the RAM-Device refcnt into two patches (patch 2,4) 2.introduce AddrSpaceMem, which is similar to HostMem, but based on address space, while
the original HostMem only server system memory address space
*** BLURB HERE ***
Liu Ping Fan (5):
hostmem: make hostmem single, not per Vring related
hostmem: AddressSpace has its own map and maintained by RCU prepared
style
memory: add ref/unref interface for MemroyRegionOps
hostmem: hostmem listener pin RAM-Device by refcnt
Vring: use hostmem's RAM safe api
exec.c | 2 + hw/block/dataplane/virtio-blk.c | 8 -- hw/virtio/dataplane/hostmem.c | 150 ++++++++++++++++++++++++--------- hw/virtio/dataplane/vring.c | 98 ++++++++++++++++----- include/exec/memory.h | 10 ++ include/hw/virtio/dataplane/hostmem.h | 33 +++++--- include/hw/virtio/dataplane/vring.h | 16 ++++- memory.c | 18 ++++ 8 files changed, 251 insertions(+), 84 deletions(-)
Signature · 1 line
1.7.4.4