]> git.proxmox.com Git - mirror_qemu.git/commit
arm/kvm: Enable support for KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Tue, 5 Sep 2023 09:12:46 +0000 (10:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Sep 2023 15:41:36 +0000 (16:41 +0100)
commitc8f2eb5d414b788420b938f2ffdde891aa6c3ae8
tree31e339b0f3f4c21d6961ade03485aa1ad9ad1d1e
parentd03396a8bb19b77d4d0fa2ad2143999510f0d44e
arm/kvm: Enable support for KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE

Now that we have Eager Page Split support added for ARM in the kernel,
enable it in Qemu. This adds,
 -eager-split-size to -accel sub-options to set the eager page split chunk size.
 -enable KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE.

The chunk size specifies how many pages to break at a time, using a
single allocation. Bigger the chunk size, more pages need to be
allocated ahead of time.

Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Message-id: 20230905091246.1931-1-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/kvm/kvm-all.c
include/sysemu/kvm_int.h
qemu-options.hx
target/arm/kvm.c