On 14/02/19 16:56, Sean Christopherson wrote: >> Hmm, spoke too soon. The two SMP tests hang when grouped in a single >> execution (at least on a Haswell Xeon E5), I can reproduce it also with >> upstream kvm-unit-tests and >> >> ./x86/run x86/vmx.flat -cpu host,+vmx -smp 2 \ >> -append \ >> "vmx_eoi_bitmap_ioapic_scan_test vmx_apic_passthrough_thread_test" > None of my systems have full vAPIC support, i.e. I can't run > vmx_eoi_bitmap_ioapic_scan_test. My guess is it doesn't clean up after > itself. Yes, my guess too. I couldn't spot anything obvious, but the IPI is not delivered in the second test. I'll take a closer look later. Paolo > On the topic of self-cleanup, a lofty long-term goal would be to enhance > (or rewrite) the framework to properly sandbox each test. The unit tests > are riddled with hidden dependencies.