Project

General

Profile

Actions

Bug #8710

closed

HVM with more than 2 VCPUs hangs on Xen 4.7

Added by Yuri Pankov almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2017-10-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

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.

Actions #1

Updated by Electric Monk almost 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

git commit d66943279347289e279c13b8e8f1a424cb590933

commit  d66943279347289e279c13b8e8f1a424cb590933
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2017-10-11T22:33:24.000Z

    8710 HVM with more than 2 VCPUs hangs on Xen 4.7
    Reviewed by: Alex Deiter <alex.deiter@nexenta.com>
    Reviewed by: Evan Layton <evan.layton@nexenta.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF