]> git.proxmox.com Git - mirror_qemu.git/commit
system/physmem: Per-AddressSpace bounce buffering
authorMattias Nissler <mnissler@rivosinc.com>
Thu, 7 Sep 2023 13:04:23 +0000 (06:04 -0700)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 8 May 2024 17:43:23 +0000 (19:43 +0200)
commit69e78f1b3484e429274352a464a94fa1d78be339
tree8cab73b9eaea60ab67d23add25f6ea98ef1364cd
parent5c62719710bab66a98f68ebdba333e2240ed6668
system/physmem: Per-AddressSpace bounce buffering

Instead of using a single global bounce buffer, give each AddressSpace
its own bounce buffer. The MapClient callback mechanism moves to
AddressSpace accordingly.

This is in preparation for generalizing bounce buffer handling further
to allow multiple bounce buffers, with a total allocation limit
configured per AddressSpace.

Reviewed-by: Peter Xu <peterx@redhat.com>
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mattias Nissler <mnissler@rivosinc.com>
Message-ID: <20240507094210.300566-2-mnissler@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[PMD: Split patch, part 2/2]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
include/exec/memory.h
system/memory.c
system/physmem.c