block-ram-registrar: reset when the graph changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: add BdrvChildClass->pre_detach() and ->post_attach()block.c include/ | +42 | 0 replies | |
| 2/3 | block-backend: add graph change notifier APIblock/ block/ include/ | +91 | 0 replies | |
| 3/3 | block-ram-registrar: reset when the graph changesblock/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] block-ram-registrar: reset when the graph changes
Kevin pointed out that block-ram-registrar doesn't handle graph changes. New nodes must have all of guest RAM registered before they can process I/O requests with BDRV_REQ_REGISTERED_BUF.
These patches add a mechanism for monitoring graph changes and use it to refresh registered buffers in block-ram-registrar.
Stefan Hajnoczi (3):
block: add BdrvChildClass->pre_detach() and ->post_attach()
block-backend: add graph change notifier API
block-ram-registrar: reset when the graph changes
include/block/block_int-common.h | 8 +++ include/sysemu/block-backend-global-state.h | 10 +++ block.c | 34 +++++++++ block/block-backend.c | 79 +++++++++++++++++++++ block/block-ram-registrar.c | 40 +++++++++-- block/trace-events | 2 + 6 files changed, 168 insertions(+), 5 deletions(-)
Signature · 1 line
2.39.0