Re: [Qemu-devel] [PATCH] topology.h: cleanup

2016-02-23 Thread Cao jin
On 02/24/2016 05:16 AM, Eduardo Habkost wrote: On Tue, Feb 23, 2016 at 02:51:11PM +0800, Cao jin wrote: remove useless parameter of several functions Signed-off-by: Cao jin I believe this makes the API much easier to be misused. Currently you can safely use (smp_cores, smp_threads) every t

Re: [Qemu-devel] [PATCH] topology.h: cleanup

2016-02-23 Thread Eduardo Habkost
On Tue, Feb 23, 2016 at 02:51:11PM +0800, Cao jin wrote: > remove useless parameter of several functions > > Signed-off-by: Cao jin I believe this makes the API much easier to be misused. Currently you can safely use (smp_cores, smp_threads) every time. With this patch, you need to always check

[Qemu-devel] [PATCH] topology.h: cleanup

2016-02-22 Thread Cao jin
remove useless parameter of several functions Signed-off-by: Cao jin --- include/hw/i386/topology.h | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/include/hw/i386/topology.h b/include/hw/i386/topology.h index 148cc1b..d0f473c 100644 --- a/include/hw/i386/to