mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
arch: x86_64: make MAX_SUPPORTED_CPUS_LEGACY public
Signed-off-by: Peter Oskolkov <posk@google.com>
This commit is contained in:
@@ -34,7 +34,7 @@ pub mod tdx;
|
||||
|
||||
// While modern architectures support more than 255 CPUs via x2APIC,
|
||||
// legacy devices such as mptable support at most 254 CPUs.
|
||||
pub(crate) const MAX_SUPPORTED_CPUS_LEGACY: u32 = 254;
|
||||
pub const MAX_SUPPORTED_CPUS_LEGACY: u32 = 254;
|
||||
|
||||
// CPUID feature bits
|
||||
#[cfg(feature = "kvm")]
|
||||
|
||||
Reference in New Issue
Block a user