Re: [Qemu-devel] [PATCH RFC 15/16] smbios: don't use smp_cores, smp_threads

2016-07-14 Thread Andrew Jones
On Thu, Jul 14, 2016 at 05:51:19PM -0300, Eduardo Habkost wrote: > On Fri, Jun 10, 2016 at 07:40:26PM +0200, Andrew Jones wrote: > > SMBIOS needs cpu topology for Type4 tables, so we need to pass > > it in. There are several parameters so we use a structure. There > > are two callers (of non-legacy

Re: [Qemu-devel] [PATCH RFC 15/16] smbios: don't use smp_cores, smp_threads

2016-07-14 Thread Eduardo Habkost
On Fri, Jun 10, 2016 at 07:40:26PM +0200, Andrew Jones wrote: > SMBIOS needs cpu topology for Type4 tables, so we need to pass > it in. There are several parameters so we use a structure. There > are two callers (of non-legacy, which generates Type4 tables), > x86 and arm, so we also update both to

[Qemu-devel] [PATCH RFC 15/16] smbios: don't use smp_cores, smp_threads

2016-06-10 Thread Andrew Jones
SMBIOS needs cpu topology for Type4 tables, so we need to pass it in. There are several parameters so we use a structure. There are two callers (of non-legacy, which generates Type4 tables), x86 and arm, so we also update both to pass the topology parameters from their MachineState properties (dire