On Mon, 10 Jan 2022 15:47:47 +0000, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On Mon, 10 Jan 2022 at 15:45, Marc Zyngier <m...@kernel.org> wrote: > > $ /home/maz/vminstall/qemu-hack -m 1G -smp 256 -cpu host -machine > > virt,accel=kvm,gic-version=3,highmem=on -nographic -drive > > if=pflash,format=raw,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd > > qemu-hack: warning: Number of SMP cpus requested (256) exceeds the > > recommended cpus supported by KVM (8) > > qemu-hack: warning: Number of hotpluggable cpus requested (256) exceeds the > > recommended cpus supported by KVM (8) > > qemu-hack: Capacity of the redist regions(123) is less than number of > > vcpus(256) > > Side question: why is KVM_CAP_NR_VCPUS returning 8 for > "recommended cpus supported by KVM" ? Is something still > assuming GICv2 CPU limits?
No, it is only that KVM_CAP_NR_VCPUS is defined as returning the number of physical CPUs (and this test machine has only 8 of them). M. -- Without deviation from the norm, progress is not possible.