]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk
authorSean Christopherson <seanjc@google.com>
Mon, 11 Jul 2022 22:57:51 +0000 (22:57 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 12 Jul 2022 22:31:13 +0000 (22:31 +0000)
commit96e43b9c027783c8ef387895be073e95bec9e535
tree52deabac0ed59be0cd3ac0ff04694477afc9aa61
parent9d13b0d1ae93c36bf4c0edd513d10d99f7c963ac
KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk

Fix a copy+paste error in monitor_mwait_test by switching one of the two
"monitor" instructions to  an "mwait".  The intent of the test is very
much to verify the quirk handles both MONITOR and MWAIT.

Fixes: 62faa6e57f96 ("KVM: selftests: Add MONITOR/MWAIT quirk test")
Reported-by: Yuan Yao <yuan.yao@linux.intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220711225753.1073989-2-seanjc@google.com
tools/testing/selftests/kvm/x86_64/monitor_mwait_test.c