Skip to content

Boot Delay and CPU Unavailability When Booting with Disabled CPUs in Device Tree #218

@agicy

Description

@agicy

Goal

I am attempting to boot zone0 (root-linux) with a complete device tree that includes all CPUs. To reserve some CPUs for other zones, I have marked them as status = "disabled" in the device tree, rather than deleting their nodes entirely. The intention is to have a complete device tree for the system while isolating these CPUs from zone0.

Observed Behavior

This configuration leads to two primary issues:

  1. Significant Boot Delay: During boot, hvisor appears to serially attempt to initialize every CPU listed in the device tree, including those marked as disabled. This results in a long timeout for each disabled CPU, causing a substantial delay in the overall boot process.
  2. CPUs Remain Unusable: After zone0 has finished booting, the CPUs that were marked as disabled are not available to be assigned to or used by any other zones.

Expected Behavior

The hypervisor should recognize the status = "disabled" property for the CPU nodes in the device tree. It should skip the initialization attempt for these CPUs, avoiding the boot delay. Subsequently, these disabled (but present) CPUs should be available for assignment to other guest zones.

Question

Is the current behavior — attempting to boot disabled CPUs, leading to a timeout, and rendering them unusable by other zones — an expected feature or a potential bug in the hypervisor?

Note

Error logs will be provided in a few days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeatureNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions