Skip to content

Commit 6fedb46

Browse files
committed
kernel/cpu: Disable test_rdmsr_debug_ctl
With the development kernel update the access to the DBG_CTL register is no longer intercepted and thus does also no longer trigger #VC exceptions. This makes the test fail, so disable it for now. Signed-off-by: Joerg Roedel <[email protected]>
1 parent 928e8ff commit 6fedb46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/src/cpu/vc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@ mod tests {
536536
}
537537

538538
#[test]
539-
#[cfg_attr(not(test_in_svsm), ignore = "Can only be run inside guest")]
539+
//#[cfg_attr(not(test_in_svsm), ignore = "Can only be run inside guest")]
540+
#[ignore = "DBG_CTL access no longer intercepted"]
540541
fn test_rdmsr_debug_ctl() {
541542
const MSR_DEBUG_CTL: u32 = 0x1d9;
542543
let apic_base = verify_ghcb_gets_altered(|| read_msr(MSR_DEBUG_CTL));

0 commit comments

Comments
 (0)