mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-03 07:33:48 +00:00
Split the vCPU creation into two distincts parts. On the one hand we create the actual Vcpu object with the creation of the hypervisor::Vcpu. And on the other hand, we configure the existing Vcpu, setting registers to proper values (such as setting the entry point). This will allow for further work to move the creation earlier in the boot, so that the hypervisor::Vcpu will be already created when the DeviceManager gets created. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> Signed-off-by: Michael Zhao <michael.zhao@arm.com>