diff options
author | Stefan Hajnoczi | 2022-10-13 20:59:04 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2022-10-26 20:56:42 +0200 |
commit | 7f9241d805b4711a4f7dc5489df0e7e30b8c1496 (patch) | |
tree | b55d8bd8bcda24191e0119e5393b917445f59dfe /MAINTAINERS | |
parent | numa: use QLIST_FOREACH_SAFE() for RAM block notifiers (diff) | |
download | qemu-7f9241d805b4711a4f7dc5489df0e7e30b8c1496.tar.gz qemu-7f9241d805b4711a4f7dc5489df0e7e30b8c1496.tar.xz qemu-7f9241d805b4711a4f7dc5489df0e7e30b8c1496.zip |
block: add BlockRAMRegistrar
Emulated devices and other BlockBackend users wishing to take advantage
of blk_register_buf() all have the same repetitive job: register
RAMBlocks with the BlockBackend using RAMBlockNotifier.
Add a BlockRAMRegistrar API to do this. A later commit will use this
from hw/block/virtio-blk.c.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20221013185908.1297568-10-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 8b4363c0ff..cda146ebbb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2510,6 +2510,7 @@ F: block* F: block/ F: hw/block/ F: include/block/ +F: include/sysemu/block-*.h F: qemu-img* F: docs/tools/qemu-img.rst F: qemu-io* |