Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-26 Thread Eduardo Habkost
On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: > The code in smp_parse already checks the topology information for > sockets * cores * threads < cpus and bails out with an error in > that case. However, it is still possible to supply a bad configuration > the other way round, e.g. wit

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-26 Thread Bastian Koppelmann
Am 25.08.2015 um 15:25 schrieb Thomas Huth: On 19/08/15 17:58, Eduardo Habkost wrote: On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: The code in smp_parse already checks the topology information for sockets * cores * threads < cpus and bails out with an error in that case. Howev

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-26 Thread Cornelia Huck
On Tue, 25 Aug 2015 15:25:00 +0200 Thomas Huth wrote: > On 19/08/15 17:58, Eduardo Habkost wrote: > > On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: > >> The code in smp_parse already checks the topology information for > >> sockets * cores * threads < cpus and bails out with an err

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-25 Thread Thomas Huth
On 19/08/15 17:58, Eduardo Habkost wrote: > On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: >> The code in smp_parse already checks the topology information for >> sockets * cores * threads < cpus and bails out with an error in >> that case. However, it is still possible to supply a ba

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-19 Thread Eduardo Habkost
On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: > The code in smp_parse already checks the topology information for > sockets * cores * threads < cpus and bails out with an error in > that case. However, it is still possible to supply a bad configuration > the other way round, e.g. wit

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-18 Thread Thomas Huth
On 22/07/15 06:59, Thomas Huth wrote: > The code in smp_parse already checks the topology information for > sockets * cores * threads < cpus and bails out with an error in > that case. However, it is still possible to supply a bad configuration > the other way round, e.g. with: > > qemu-system-xx

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-07-24 Thread Thomas Huth
On 23/07/15 14:07, Igor Mammedov wrote: > On Wed, 22 Jul 2015 15:59:50 +0200 > Thomas Huth wrote: > >> The code in smp_parse already checks the topology information for >> sockets * cores * threads < cpus and bails out with an error in >> that case. However, it is still possible to supply a bad c

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-07-23 Thread Igor Mammedov
On Wed, 22 Jul 2015 15:59:50 +0200 Thomas Huth wrote: > The code in smp_parse already checks the topology information for > sockets * cores * threads < cpus and bails out with an error in > that case. However, it is still possible to supply a bad configuration > the other way round, e.g. with: >

[Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-07-22 Thread Thomas Huth
The code in smp_parse already checks the topology information for sockets * cores * threads < cpus and bails out with an error in that case. However, it is still possible to supply a bad configuration the other way round, e.g. with: qemu-system-xxx -smp 4,sockets=1,cores=4,threads=2 QEMU then st