mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-03 07:33:48 +00:00
When configuring a processor after boot as a hotplug CPU we only configure a subset of the CPU state. In particular we should not configure the FPU, segment registers (or reconfigure the paging which is a side-effect of that) nor the main registers. Achieve this by making the function take an Option type for the start address. Signed-off-by: Rob Bradford <robert.bradford@intel.com>