Files
nvdriver/tests/timer-timeout-vgx/provider.rs
nvidia-driver-rs 4526e6a816 Baseline: validated 30/30 tree with passing Level 7 hardware regression
- Updated tools/post_reboot.sh to check kernel oops taint bit and stuck driver tasks instead of <86400s uptime
- Level 7 hardware regression passed on 0000:b3:00.0 (module 37e6fa430835eee2b426019db3ad70eeb7a9e9070c09c84bd9b973cf56cbe529, 107 inventory words, 0 static mismatches, CUDA baseline verified before and after)
- Updated .gitignore to exclude build archives (*.a, *.rlib), __pycache__, and raw trace dumps
2026-11-23 23:48:38 +00:00

20 lines
565 B
Rust

#[path = "../../src/nvidia/kernel/hypervisor.rs"]
mod hypervisor;
fn main() {
let expected: u8 = std::env::args().nth(1).unwrap().parse().unwrap();
if expected == 8 {
assert_eq!(
hypervisor::BuildProduct::current(),
Err(hypervisor::UnresolvedBuildProduct)
);
return;
}
let product = hypervisor::BuildProduct::current().unwrap();
assert_eq!(
product.roles(),
[expected & 1 != 0, expected & 2 != 0, expected & 4 != 0]
);
assert_eq!(product.is_vgx_hyper(), expected != 0);
}