diff options
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2023-10-22 17:20:20 +0200 |
---|---|---|
committer | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2023-11-06 14:08:10 +0100 |
commit | 99a4706ae81efa51b21871af643626730a6719d4 (patch) | |
tree | c92fc258d9fb8d63471bcbfce81c6f1219916468 /hw/core | |
parent | 0d9e8c0b670b7856d36ed155d43548d2491230e7 (diff) | |
download | qemu-99a4706ae81efa51b21871af643626730a6719d4.zip qemu-99a4706ae81efa51b21871af643626730a6719d4.tar.gz qemu-99a4706ae81efa51b21871af643626730a6719d4.tar.bz2 |
Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add support
One of advantages of using this protocol over ACPI-based PC DIMM hotplug is
that it allows hot-adding memory in much smaller granularity because the
ACPI DIMM slot limit does not apply.
In order to enable this functionality a new memory backend needs to be
created and provided to the driver via the "memdev" parameter.
This can be achieved by, for example, adding
"-object memory-backend-ram,id=mem1,size=32G" to the QEMU command line and
then instantiating the driver with "memdev=mem1" parameter.
The device will try to use multiple memslots to cover the memory backend in
order to reduce the size of metadata for the not-yet-hot-added part of the
memory backend.
Co-developed-by: David Hildenbrand <david@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions