Skip to content

Commit 4f1b59c

Browse files
committed
test: Add waitpkg to host-minus-guest features
We disabled WAITPKG intentionally since it can put a physical processor into an implementation-depedent optimized state. So it should not exist in guest. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent c63d1ed commit 4f1b59c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration_tests/functional/test_cpu_features_host_vs_guest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ def test_host_vs_guest_cpu_features(uvm_plain_any):
274274
# is not enumerated on CPUID, instead detected by actually attempting to read from
275275
# MSR address 0x33 (MSR_MEMORY_CTRL in Intel SDM, MSR_TEST_CTRL in Linux kernel).
276276
"split_lock_detect",
277+
# Firecracker disables WAITPKG in CPUID normalization.
278+
# https://github.com/firecracker-microvm/firecracker/pull/5118
279+
"waitpkg",
277280
}
278281

279282
# The following features are also not virtualized by KVM yet but are only supported on

0 commit comments

Comments
 (0)