bao-project / bao-hypervisor

Bao, a Lightweight Static Partitioning Hypervisor
Apache License 2.0
379 stars 128 forks source link

fix(core/vm): enabled the utilization of the vcpu active flag #170

Closed joaopeixoto13 closed 2 months ago

joaopeixoto13 commented 2 months ago

This commit relocates the vCPU active flag assignment from the run method to the vCPU initialization method. Additionally, it introduces a logic check within the run method to verify whether the vCPU should be executed.