]> git.proxmox.com Git - mirror_qemu.git/commit
i386/cpu: Consolidate die-id validity in smp context
authorLike Xu <like.xu@linux.intel.com>
Wed, 12 Jun 2019 08:40:58 +0000 (16:40 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:03 +0000 (17:08 -0300)
commit176d2cda0dee9f4f78f604ad72d6a111e8e38f3b
tree57db8dcefd1a3899e570cb1f07e5e0360d54ae39
parentcabea7dcd0e2084bdd32fcfe54f6275599f55bb7
i386/cpu: Consolidate die-id validity in smp context

The field die_id (default as 0) and has_die_id are introduced to X86CPU.
Following the legacy smp check rules, the die_id validity is added to
the same contexts as leagcy smp variables such as hmp_hotpluggable_cpus(),
machine_set_cpu_numa_node(), cpu_slot_to_string() and pc_cpu_pre_plug().

Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190612084104.34984-4-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/machine-hmp-cmds.c
hw/core/machine.c
hw/i386/pc.c
include/hw/i386/topology.h
qapi/machine.json
target/i386/cpu.c
target/i386/cpu.h