We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbb33fd commit 6b5f2afCopy full SHA for 6b5f2af
lib/propolis/src/cpuid.rs
@@ -70,7 +70,7 @@ impl Specializer {
70
71
/// Specify vCPU ID to specialize for
72
pub fn with_vcpuid(self, vcpuid: i32) -> Self {
73
- assert!((vcpuid as usize) < bhyve_api::VM_MAXCPU);
+ assert!((vcpuid as usize) < crate::vcpu::MAXCPU);
74
Self { vcpuid: Some(vcpuid), ..self }
75
}
76
0 commit comments