aboutsummaryrefslogtreecommitdiff
path: root/scripts/render_block_graph.py
diff options
context:
space:
mode:
authorBabu Moger <babu.moger@amd.com>2020-03-11 17:54:02 -0500
committerEduardo Habkost <ehabkost@redhat.com>2020-03-31 19:13:32 -0300
commit2e26f4ab3bf8390a2677d3afd9b1a04f015d7721 (patch)
tree625942bed7dae7944d14a1602e9e6a271bbe5387 /scripts/render_block_graph.py
parent0c1538cb1a26287c072645f4759b9872b1596d79 (diff)
downloadqemu-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