cpu: Implement AMD compatible topology handling

cpu: Pass APIC id explicitly where needed
topology: Set subleaf number explicitly

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2023-04-28 20:44:07 +02:00
committed by Anatol Belski
parent 31686b91d3
commit b52966a12c
4 changed files with 125 additions and 25 deletions
-1
View File
@@ -2402,7 +2402,6 @@ impl Snapshottable for Vm {
arch::generate_common_cpuid(
&self.hypervisor,
None,
None,
phys_bits,
self.config.lock().unwrap().cpus.kvm_hyperv,
#[cfg(feature = "tdx")]