diff options
author | Like Xu <like.xu@linux.intel.com> | 2019-06-12 16:40:57 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-07-05 17:08:03 -0300 |
commit | cabea7dcd0e2084bdd32fcfe54f6275599f55bb7 (patch) | |
tree | fc64dae3ce28aa10ff5a7f86bdc644bf1002c4e4 /fpu | |
parent | c26ae610811e8d52f4fc73e3ae0a8bc4a24d6763 (diff) | |
download | qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.zip qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.tar.gz qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.tar.bz2 |
hw/i386: Adjust nr_dies with configured smp_dies for PCMachine
To support multiple dies configuration on PCMachine, the best place to
set CPUX86State->nr_dies with requested PCMachineState->smp_dies is in
pc_new_cpu() and pc_cpu_pre_plug(). Refactoring pc_new_cpu() is applied
and redundant parameter "const char *typename" would be removed.
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190612084104.34984-3-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions