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 <xiaoyao...@intel.com> > 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_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 <xiaoyao...@intel.com> > --- > accel/kvm/kvm-all.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>