-
Notifications
You must be signed in to change notification settings - Fork 47
Description
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:
- Significant Boot Delay: During boot,
hvisorappears to serially attempt to initialize every CPU listed in the device tree, including those marked asdisabled. This results in a long timeout for each disabled CPU, causing a substantial delay in the overall boot process. - CPUs Remain Unusable: After
zone0has finished booting, the CPUs that were marked asdisabledare 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.