summary refs log tree commit diff stats
path: root/accel/stubs/kvm-stub.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-09-26 20:57:26 +0200
committerDavid Hildenbrand <david@redhat.com>2023-10-12 14:15:22 +0200
commit7975feece9053b73a2b7b015840f85e9f6ad25db (patch)
tree5d1dd5b5fccaf58e88e139903a00e220382430e7 /accel/stubs/kvm-stub.c
parent8c49951c4ad9798cbe19f74f7645393ee625c180 (diff)
downloadfocaccia-qemu-7975feece9053b73a2b7b015840f85e9f6ad25db.tar.gz
focaccia-qemu-7975feece9053b73a2b7b015840f85e9f6ad25db.zip
memory-device: Support memory devices with multiple memslots
We want to support memory devices that have a memory region container as
device memory region that maps multiple RAM memory regions. Let's start
by supporting memory devices that statically map multiple RAM memory
regions and, thereby, consume multiple memslots.

We already have one device that uses a container as device memory region:
NVDIMMs. However, a NVDIMM always ends up consuming exactly one memslot.

Let's add support for that by asking the memory device via a new
callback how many memslots it requires.

Message-ID: <20230926185738.277351-7-david@redhat.com>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'accel/stubs/kvm-stub.c')
0 files changed, 0 insertions, 0 deletions