cloud-hypervisor/arch
Rob Bradford eb4dd90532 arch: x86_64: Avoid calling cpuid for setting LAPIC ID
Rather than calling cpuid and then updating the APIC ID field - use the
existing common CPUID data which already includes CPUID data for eax=1
(aka function = 1).  This removes the need to call cpuid per vCPU thread
created. This has a positive impact on boot time with multiple vCPUs as
the cpuid instruction is serialising.

Fixes: #5646

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2024-05-30 17:03:03 +00:00
..
src arch: x86_64: Avoid calling cpuid for setting LAPIC ID 2024-05-30 17:03:03 +00:00
Cargo.toml build: Format Cargo.toml files using taplo 2024-05-08 21:46:13 +00:00