HVM with more than 2 VCPUs hangs on Xen 4.7
Trying to run the HVM with more than 2 VCPUs hangs on Xen 4.7 while initializing the 3rd CPU.
Looking at the CPU initialization paths (and adding probes through the way), it quickly became visible that we execute the block at the http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/apic.c#428 only when initializing cpu2, and deadlock when trying to enter cpu_lock -- this should be either done when starting boot CPU (cpu0), or not done at all.
Updated by Electric Monk almost 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
commit d66943279347289e279c13b8e8f1a424cb590933 Author: Yuri Pankov <firstname.lastname@example.org> Date: 2017-10-11T22:33:24.000Z 8710 HVM with more than 2 VCPUs hangs on Xen 4.7 Reviewed by: Alex Deiter <email@example.com> Reviewed by: Evan Layton <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>