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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||