diff options
author | Babu Moger <babu.moger@amd.com> | 2020-03-11 17:54:02 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-03-31 19:13:32 -0300 |
commit | 2e26f4ab3bf8390a2677d3afd9b1a04f015d7721 (patch) | |
tree | 625942bed7dae7944d14a1602e9e6a271bbe5387 /scripts/render_block_graph.py | |
parent | 0c1538cb1a26287c072645f4759b9872b1596d79 (diff) | |
download | qemu-2e26f4ab3bf8390a2677d3afd9b1a04f015d7721.zip qemu-2e26f4ab3bf8390a2677d3afd9b1a04f015d7721.tar.gz qemu-2e26f4ab3bf8390a2677d3afd9b1a04f015d7721.tar.bz2 |
hw/i386: Move arch_id decode inside x86_cpus_init
Apicid calculation depends on knowing the total number of numa nodes
for EPYC cpu models. Right now, we are calculating the arch_id while
parsing the numa(parse_numa). At this time, it is not known how many
total numa nodes are configured in the system.
Move the arch_id calculation inside x86_cpus_init. At this time, smp
parse is already completed and numa node information is available.
Override the handlers if use_epyc_apic_id_encoding is enabled in
cpu model definition.
Also replace the calling convention to use handlers from
X86MachineState.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <158396724217.58170.12256158354204870716.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions