Messages in this thread | | | Date | Tue, 13 Jul 2021 20:35:11 +0000 | From | Sean Christopherson <> | Subject | Re: [RFC PATCH v2 21/69] KVM: Add max_vcpus field in common 'struct kvm' |
| |
On Tue, Jul 06, 2021, Paolo Bonzini wrote: > Please replace "Add" with "Move" and add a couple lines to the commit > message.
Move arm's per-VM max_vcpus field into the generic "struct kvm", and use it to check vcpus_created in the generic code instead of checking only the hardcoded absolute KVM-wide max. x86 TDX guests will reuse the generic check verbatim, as the max number of vCPUs for a TDX guest is user defined at VM creation and immutable thereafter.
| |