linux/Documentation
Zeng Guang 3587531638 KVM: x86: Allow userspace to set maximum VCPU id for VM
Introduce new max_vcpu_ids in KVM for x86 architecture. Userspace
can assign maximum possible vcpu id for current VM session using
KVM_CAP_MAX_VCPU_ID of KVM_ENABLE_CAP ioctl().

This is done for x86 only because the sole use case is to guide
memory allocation for PID-pointer table, a structure needed to
enable VMX IPI.

By default, max_vcpu_ids set as KVM_MAX_VCPU_IDS.

Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Message-Id: <20220419154444.11888-1-guang.zeng@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-06-08 04:47:31 -04:00
..
2022-06-03 11:48:47 -07:00
2022-05-26 14:20:14 -07:00
2022-05-26 10:50:30 -07:00
2022-06-01 11:54:29 -07:00
2022-05-04 11:06:13 +02:00
2022-05-04 22:35:19 +02:00
2022-05-26 12:09:50 -07:00
2022-04-16 02:54:32 -06:00
2022-05-24 13:50:39 -07:00
2022-06-05 09:12:28 -07:00