From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
qemu-block@nongnu.org, Hanna Reitz <hreitz@redhat.com>
Subject: Re: [PATCH 0/4] block: update inserted/removed nodes from BlockRAMRegistrar
Date: Wed, 1 Oct 2025 11:00:10 -0400 [thread overview]
Message-ID: <20251001150010.GA183984@fedora> (raw)
In-Reply-To: <20250930204555.162133-1-stefanha@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
On Tue, Sep 30, 2025 at 04:45:51PM -0400, Stefan Hajnoczi wrote:
> This patch series fixes a bug in BlockRAMRegistrar: it currently doesn't react
> to block graph changes and newly inserted nodes lack RAMBlock information
> needed to map I/O buffers. This is important for vdpa-blk devices because they
> rely on the ability to map I/O buffers.
>
> Stefan Hajnoczi (4):
> block: add BdrvChildClass->propagate_attach/detach() callbacks
> block: add blk_add_attach/detach_notifier() APIs
> block: rename RAMBlockRegistrar->notifier field
> block: update inserted/removed nodes from BlockRAMRegistrar
>
> include/block/block_int-common.h | 11 ++
> include/system/block-backend-global-state.h | 9 ++
> include/system/block-ram-registrar.h | 4 +-
> block.c | 56 +++++--
> block/block-backend.c | 44 ++++++
> block/block-ram-registrar.c | 75 ++++++++-
> tests/unit/test-block-backend.c | 164 ++++++++++++++++++++
> 7 files changed, 344 insertions(+), 19 deletions(-)
I need to send a v2 because I forgot to squash in a compiler warning
fix.
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2025-10-01 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 20:45 [PATCH 0/4] block: update inserted/removed nodes from BlockRAMRegistrar Stefan Hajnoczi
2025-09-30 20:45 ` [PATCH 1/4] block: add BdrvChildClass->propagate_attach/detach() callbacks Stefan Hajnoczi
2025-09-30 20:45 ` [PATCH 2/4] block: add blk_add_attach/detach_notifier() APIs Stefan Hajnoczi
2025-09-30 20:45 ` [PATCH 3/4] block: rename RAMBlockRegistrar->notifier field Stefan Hajnoczi
2025-09-30 20:45 ` [PATCH 4/4] block: update inserted/removed nodes from BlockRAMRegistrar Stefan Hajnoczi
2025-09-30 23:07 ` [PATCH 0/4] " Eric Blake
2025-10-01 15:00 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251001150010.GA183984@fedora \
--to=stefanha@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.