Skip to content

Commit 24161ca

Browse files
yamahatajialeif
authored andcommitted
KVM: x86: suppress warning of "Invalid MSR"
When running kvm unit test, too many "Invalid MSR message" to trigger timeout. Suppress it to make tests to run instead of timeout. Signed-off-by: Isaku Yamahata <[email protected]>
1 parent bc258d4 commit 24161ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ static bool is_valid_passthrough_msr(u32 msr)
644644

645645
r = possible_passthrough_msr_slot(msr) != -ENOENT;
646646

647-
WARN(!r, "Invalid MSR %x, please adapt vmx_possible_passthrough_msrs[]", msr);
647+
//WARN(!r, "Invalid MSR %x, please adapt vmx_possible_passthrough_msrs[]", msr);
648648

649649
return r;
650650
}

0 commit comments

Comments
 (0)