On Fri, Jun 10, 2016 at 07:40:20PM +0200, Andrew Jones wrote:
[...]
> @@ -1940,9 +1943,10 @@ static void pc_machine_reset(void)
>
> static unsigned pc_cpu_index_to_socket_id(unsigned cpu_index)
> {
> +CPUState *cs = first_cpu;
Eww.
> X86CPUTopoInfo topo;
> -x86_topo_ids_from_idx(
Use CPUState nr_cores,nr_threads and MachineState
cores,threads instead.
Signed-off-by: Andrew Jones
---
hw/i386/pc.c | 26 +++---
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 7198ed533cc47..4fa86d6387ce9 100644
--- a/hw/i3