From c15b6f9bdbfbe6a062ffcdcc7332d2f454beed96 Mon Sep 17 00:00:00 2001 From: Takahiro Itazuri Date: Fri, 28 Mar 2025 08:25:13 +0000 Subject: [PATCH] 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 --- .../functional/test_cpu_features_host_vs_guest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration_tests/functional/test_cpu_features_host_vs_guest.py b/tests/integration_tests/functional/test_cpu_features_host_vs_guest.py index e387018d6d2..4b66b077839 100644 --- a/tests/integration_tests/functional/test_cpu_features_host_vs_guest.py +++ b/tests/integration_tests/functional/test_cpu_features_host_vs_guest.py @@ -274,6 +274,9 @@ def test_host_vs_guest_cpu_features(uvm_plain_any): # is not enumerated on CPUID, instead detected by actually attempting to read from # MSR address 0x33 (MSR_MEMORY_CTRL in Intel SDM, MSR_TEST_CTRL in Linux kernel). "split_lock_detect", + # Firecracker disables WAITPKG in CPUID normalization. + # https://github.com/firecracker-microvm/firecracker/pull/5118 + "waitpkg", } # The following features are also not virtualized by KVM yet but are only supported on