diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-11-10 16:20:50 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-11-24 20:57:11 +0200 |
commit | dd0247e09a542d2a7ba6e390c70b5616edb9ec56 (patch) | |
tree | 07a1de351e6a07f93fc047a067a81e3966a2401e /ui/input.c | |
parent | 6c150fbd341ac10b8559abcfd5915cfff17b70c6 (diff) | |
download | qemu-dd0247e09a542d2a7ba6e390c70b5616edb9ec56.zip qemu-dd0247e09a542d2a7ba6e390c70b5616edb9ec56.tar.gz qemu-dd0247e09a542d2a7ba6e390c70b5616edb9ec56.tar.bz2 |
pc: acpi: mark all possible CPUs as enabled in SRAT
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: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'ui/input.c')
0 files changed, 0 insertions, 0 deletions