Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Igor Mammedov
On 03/11/2012 11:36 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:26PM +0100, Igor Mammedov wrote: Reduce amount of consumed cpu time (i.e. don't spin forever) if number of started cpus are more then expected. And print a bug message into debug port. Signed-off-by: Igor

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Gleb Natapov
On Mon, Mar 12, 2012 at 10:52:18AM +0100, Igor Mammedov wrote: On 03/11/2012 11:36 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:26PM +0100, Igor Mammedov wrote: Reduce amount of consumed cpu time (i.e. don't spin forever) if number of started cpus are more then expected. And print a

[SeaBIOS] Re : Re : [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2012-03-12 Thread Alain Ribière
On Wed, Mar 07, 2012 at 06:31:31AM -0800, Alain Ribière wrote: I ran qemu 1.0.1 and the latest SeaBIOS (from the git) with the following options : qemu-system-i386 -L git/bios -fda disk.img -no-fd-bootchk -boot a -m 16 Here is the log :

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Igor Mammedov
On 03/12/2012 11:14 AM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 10:52:18AM +0100, Igor Mammedov wrote: On 03/11/2012 11:36 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:26PM +0100, Igor Mammedov wrote: Reduce amount of consumed cpu time (i.e. don't spin forever) if number of

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Gleb Natapov
On Mon, Mar 12, 2012 at 02:09:02PM +0100, Igor Mammedov wrote: On 03/12/2012 11:14 AM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 10:52:18AM +0100, Igor Mammedov wrote: On 03/11/2012 11:36 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:26PM +0100, Igor Mammedov wrote: Reduce amount of

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Igor Mammedov
On 03/12/2012 02:27 PM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 02:09:02PM +0100, Igor Mammedov wrote: On 03/12/2012 11:14 AM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 10:52:18AM +0100, Igor Mammedov wrote: On 03/11/2012 11:36 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:26PM

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Gleb Natapov
On Mon, Mar 12, 2012 at 05:04:48PM +0100, Igor Mammedov wrote: On 03/12/2012 02:27 PM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 02:09:02PM +0100, Igor Mammedov wrote: On 03/12/2012 11:14 AM, Gleb Natapov wrote: On Mon, Mar 12, 2012 at 10:52:18AM +0100, Igor Mammedov wrote: On 03/11/2012

Re: [SeaBIOS] [Qemu-devel] [PULL] Update seabios to 1.6.3.2

2012-03-12 Thread Anthony Liguori
On 03/12/2012 09:48 AM, Andreas Färber wrote: Hi Gerd, Am 12.03.2012 14:08, schrieb Gerd Hoffmann: New seabios release on the 1.6.3 stable branch -- lets update. Also add a Makefile + script to simplify seabios updating. That version was released yesterday and I don't see any PATCHes yet...

Re: [SeaBIOS] [PATCH 3/3] Take in account hot(un)plugged cpus on reboot

2012-03-12 Thread Igor Mammedov
On 03/11/2012 11:58 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:47:28PM +0100, Igor Mammedov wrote: Initial count of active cpus is communicated to bios from qemu via CMOS_BIOS_SMP_COUNT io port. However if cpus are hotplugged after boot and then guest is rebooted without taking down

Re: [SeaBIOS] [PATCH 08/19] usb: Push 'struct usbdevice_s' usage through to pipe allocation.

2012-03-12 Thread Dave Frodin
I had to do some whitespace cleanup in order for patch 08/19 to apply cleanly. I don't have much experience in applying patches so there might be something I'm missing. Here are the changes I had to do... Subject: [PATCH] Whitespace cleanup, replace two tabs with spaces --- src/usb-msc.c |

Re: [SeaBIOS] [PATCH 08/19] usb: Push 'struct usbdevice_s' usage through to pipe allocation.

2012-03-12 Thread Kevin O'Connor
On Mon, Mar 12, 2012 at 11:30:36AM -0600, Dave Frodin wrote: I had to do some whitespace cleanup in order for patch 08/19 to apply cleanly. I don't have much experience in applying patches so there might be something I'm missing. Here are the changes I had to do... Subject: [PATCH]

Re: [SeaBIOS] [Qemu-devel] [PULL] Update seabios to 1.6.3.2

2012-03-12 Thread Kevin O'Connor
On Mon, Mar 12, 2012 at 11:25:07AM -0500, Anthony Liguori wrote: On 03/12/2012 09:48 AM, Andreas Färber wrote: Hi Gerd, Am 12.03.2012 14:08, schrieb Gerd Hoffmann: New seabios release on the 1.6.3 stable branch -- lets update. Also add a Makefile + script to simplify seabios updating.

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Kevin O'Connor
On Sat, Mar 10, 2012 at 12:47:26PM +0100, Igor Mammedov wrote: Reduce amount of consumed cpu time (i.e. don't spin forever) if number of started cpus are more then expected. And print a bug message into debug port. Signed-off-by: Igor Mammedov imamm...@redhat.com --- src/smp.c |8

Re: [SeaBIOS] [PATCH 2/3] Allow bios to detect if qemu has cpus status map for acpi hotplug.

2012-03-12 Thread Kevin O'Connor
On Sat, Mar 10, 2012 at 12:47:27PM +0100, Igor Mammedov wrote: Signed-off-by: Igor Mammedov imamm...@redhat.com --- src/paravirt.c | 12 src/paravirt.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/paravirt.c b/src/paravirt.c index

Re: [SeaBIOS] [PATCH 1/3] Halt if number of started cpus are more then expected

2012-03-12 Thread Peter Stuge
Igor Mammedov wrote: not even sure we should halt at all. May be warn the user and continue BIOSes usually stop in case of error That doesn't mean that it's a good idea. //Peter ___ SeaBIOS mailing list SeaBIOS@seabios.org

Re: [SeaBIOS] [PATCH 3/3] Take in account hot(un)plugged cpus on reboot

2012-03-12 Thread Kevin O'Connor
On Sat, Mar 10, 2012 at 12:47:28PM +0100, Igor Mammedov wrote: Initial count of active cpus is communicated to bios from qemu via CMOS_BIOS_SMP_COUNT io port. However if cpus are hotplugged after boot and then guest is rebooted without taking down qemu then bios might be stuck at smp_probe