Skip to content

Commit 850d5c5

Browse files
Manciukicpb8o
authored andcommitted
fix: allow msr writes on guest kernel 6.1
Guest kernel 6.1 disabled MSR writes by default. This change add the boot arg to enable them again in the test that is using wrmsr. Signed-off-by: Riccardo Mancini <[email protected]>
1 parent fff97dc commit 850d5c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration_tests/functional/test_cpu_features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ def test_cpu_wrmsr_snapshot(
402402
mem_size_mib=guest_mem_mib,
403403
cpu_template=msr_cpu_template,
404404
track_dirty_pages=True,
405+
boot_args="msr.allow_writes=on",
405406
)
406407
vm.start()
407408

0 commit comments

Comments
 (0)