diff options
| author | Like Xu | 2019-06-12 10:40:57 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-07-05 22:08:03 +0200 |
| commit | cabea7dcd0e2084bdd32fcfe54f6275599f55bb7 (patch) | |
| tree | fc64dae3ce28aa10ff5a7f86bdc644bf1002c4e4 /target | |
| parent | i386: Add die-level cpu topology to x86CPU on PCMachine (diff) | |
| download | qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.tar.gz qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.tar.xz qemu-cabea7dcd0e2084bdd32fcfe54f6275599f55bb7.zip | |
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 'target')
0 files changed, 0 insertions, 0 deletions
