Skip to content

Commit e4c0ab4

Browse files
JackThomson2ShadowCurse
authored andcommitted
feat: Bump KVM_MAX_CPUID_ENTRIES to 256
From 5.10 this constant has been updated from 80 to 256. Update the constant to reflect this. Signed-off-by: Jack Thomson <[email protected]>
1 parent 824e205 commit e4c0ab4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

kvm-bindings/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
### Changed
77

8+
- Updated KVM_MAX_CPUID_ENTRIES to 256.
9+
810
### Removed
911

1012
## [0.10.0]

kvm-bindings/src/x86_64/fam_wrappers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use x86_64::bindings::*;
88
/// Maximum number of CPUID entries that can be returned by a call to KVM ioctls.
99
///
1010
/// See arch/x86/include/asm/kvm_host.h
11-
pub const KVM_MAX_CPUID_ENTRIES: usize = 80;
11+
pub const KVM_MAX_CPUID_ENTRIES: usize = 256;
1212

1313
/// Maximum number of MSRs KVM supports (See arch/x86/kvm/x86.c).
1414
pub const KVM_MAX_MSR_ENTRIES: usize = 256;

0 commit comments

Comments
 (0)