• Igor Mammedov's avatar
    pc: acpi: mark all possible CPUs as enabled in SRAT · dd0247e0
    Igor Mammedov authored
    If QEMU is started with  -numa ... Windows only notices that
    CPU has been hot-added but it will not online such CPUs.
    
    It's caused by the fact that possible CPUs are flagged as
    not enabled in SRAT and Windows honoring that information
    doesn't use corresponding CPU.
    
    ACPI 5.0 Spec regarding to flag says:
    "
    Table 5-47 Local APIC Flags
    ...
    Enabled: if zero, this processor is unusable, and the operating system
    support will not attempt to use it.
    "
    
    Fix QEMU to adhere to spec and mark possible CPUs as enabled
    in SRAT.
    
    With that Windows onlines hot-added CPUs as expected.
    Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    dd0247e0
Name
Last commit
Last update
..
kvm Loading commit data...
xen Loading commit data...
Makefile.objs Loading commit data...
acpi-build.c Loading commit data...
acpi-build.h Loading commit data...
acpi-defs.h Loading commit data...
acpi-dsdt-cpu-hotplug.dsl Loading commit data...
acpi-dsdt-dbug.dsl Loading commit data...
acpi-dsdt-hpet.dsl Loading commit data...
acpi-dsdt-isa.dsl Loading commit data...
acpi-dsdt-mem-hotplug.dsl Loading commit data...
acpi-dsdt-pci-crs.dsl Loading commit data...
acpi-dsdt.dsl Loading commit data...
acpi-dsdt.hex.generated Loading commit data...
bios-linker-loader.c Loading commit data...
bios-linker-loader.h Loading commit data...
intel_iommu.c Loading commit data...
intel_iommu_internal.h Loading commit data...
kvmvapic.c Loading commit data...
multiboot.c Loading commit data...
multiboot.h Loading commit data...
pc.c Loading commit data...
pc_piix.c Loading commit data...
pc_q35.c Loading commit data...
pc_sysfw.c Loading commit data...
q35-acpi-dsdt.dsl Loading commit data...
q35-acpi-dsdt.hex.generated Loading commit data...
smbios.c Loading commit data...
ssdt-mem.dsl Loading commit data...
ssdt-mem.hex.generated Loading commit data...
ssdt-misc.dsl Loading commit data...
ssdt-misc.hex.generated Loading commit data...
ssdt-pcihp.dsl Loading commit data...
ssdt-pcihp.hex.generated Loading commit data...
ssdt-proc.dsl Loading commit data...
ssdt-proc.hex.generated Loading commit data...
ssdt-tpm.dsl Loading commit data...
ssdt-tpm.hex.generated Loading commit data...