On Tue, Apr 01, 2025 at 09:01:40AM -0400, Xiaoyao Li wrote:
> Date: Tue, 1 Apr 2025 09:01:40 -0400
> From: Xiaoyao Li
> Subject: [PATCH v8 30/55] kvm: Check KVM_CAP_MAX_VCPUS at vm level
> X-Mailer: git-send-email 2.34.1
>
> KVM with TDX support starts to report different KVM
KVM with TDX support starts to report different KVM_CAP_MAX_VCPUS per
different VM types. So switch to check the KVM_CAP_MAX_VCPUS at vm level.
KVM still returns the global KVM_CAP_MAX_VCPUS when the KVM is old that
doesn't report different value at vm level.
Signed-off-by: Xiaoyao Li
---
accel