diff mbox series

[RFC,kvm-unit-tests,3/4] x86/apic: Disable PIT for ioapic test to allow SVM AVIC to be tested

Message ID 7dfb12588b6e0a5d91be0bdca4a64b222b5be2ae.1740479886.git.naveen@kernel.org (mailing list archive)
State New
Headers show
Series x86/apic: SVM AVIC tests and some cleanups | expand

Commit Message

Naveen N Rao (AMD) Feb. 25, 2025, 10:40 a.m. UTC
SVM AVIC is inhibited if kvm-pit is present in the default reinject
mode. Disable PIT so that AVIC is exercized with the ioapic test.

Signed-off-by: Naveen N Rao (AMD) <naveen@kernel.org>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 35fb88c3cb79..b057b59b1e30 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -42,7 +42,7 @@  groups = apic
 [ioapic]
 file = ioapic.flat
 smp = 4
-extra_params = -cpu qemu64,+x2apic
+extra_params = -cpu qemu64,+x2apic -machine pit=off
 arch = x86_64
 groups = apic