]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target/i386: Remove core_id assert check in CPUID 0x8000001E
authorBabu Moger <babu.moger@amd.com>
Mon, 21 Sep 2020 22:47:28 +0000 (17:47 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 14 Oct 2020 19:28:54 +0000 (15:28 -0400)
commit35ac5dfbcaa4b31470b4e201d26143b8b9a0a1e7
tree3aa870141ead9bcd31ba54e4f6c9f2e64a7bd9a0
parent1a7655d53d0f6984624f3868125774a34456ca27
target/i386: Remove core_id assert check in CPUID 0x8000001E

With x2apic enabled, configurations can have more that 255 cores.
Noticed the device add test is hitting an assert when during cpu
hotplug with core_id > 255. This is due to assert check in the
CPUID 0x8000001E.

Remove the assert check and fix the problem.

Fixes the bug:
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1834200
Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <160072824160.9666.8890355282135970684.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c