Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Kevin O'Connor
On Wed, Jan 09, 2013 at 06:03:24PM -0600, Dave Frodin wrote: > Kevin, > > Here are some of the lines from the output stream... > > Compile checking out/esp-scsi.o > Compile checking out/megasas.o > Compile checking out/post.o > src/post.c: In function 'reloc_init': > src/post.c:350:5: warni

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Kevin O'Connor
On Wed, Jan 09, 2013 at 08:34:18AM -0600, Dave Frodin wrote: > Here's a patch that's been lingering awhile. > thanks, Thanks. I don't receive a warning for this - what is the exact warning you receive? I don't see why gcc would convert (datalow_end - datalow_start) to a long. -Kevin

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
Kevin, Here are some of the lines from the output stream... Compile checking out/esp-scsi.o Compile checking out/megasas.o Compile checking out/post.o src/post.c: In function 'reloc_init': src/post.c:350:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long

Re: [SeaBIOS] Next release

2013-01-09 Thread Peter Stuge
Fred . wrote: > I've seen other BIOS (Award, AMI) have a setting in the menu to enable > "Boot sector protection". Did you study what it actually does? > What would be possible in SeaBIOS to prevent overwrite boot sector, > mbr, partition tables? Nothing, really. An operating system can always

Re: [SeaBIOS] Next release

2013-01-09 Thread Fred .
I've seen other BIOS (Award, AMI) have a setting in the menu to enable "Boot sector protection". What would be possible in SeaBIOS to prevent overwrite boot sector, mbr, partition tables? On Wed, Jan 9, 2013 at 4:49 AM, Kevin O'Connor wrote: > On Tue, Jan 08, 2013 at 01:06:31AM +0100, Fred . w

Re: [SeaBIOS] [Qemu-devel] [libvirt] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Gleb Natapov
On Wed, Jan 09, 2013 at 12:28:57PM -0500, Laine Stump wrote: > On 01/09/2013 10:22 AM, Daniel P. Berrange wrote: > > On Wed, Jan 09, 2013 at 08:14:07AM -0700, Eric Blake wrote: > >> On 01/09/2013 01:39 AM, Amos Kong wrote: > >>> Current seabios will try to boot from selected devices first, > >>> if

Re: [SeaBIOS] [libvirt] [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Daniel P. Berrange
On Wed, Jan 09, 2013 at 08:14:07AM -0700, Eric Blake wrote: > On 01/09/2013 01:39 AM, Amos Kong wrote: > > Current seabios will try to boot from selected devices first, > > if they are all failed, seabios will also try to boot from > > un-selected devices. > > > > We need to make it configurable.

Re: [SeaBIOS] [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Amos Kong
On Wed, Jan 09, 2013 at 08:14:07AM -0700, Eric Blake wrote: > On 01/09/2013 01:39 AM, Amos Kong wrote: > > Current seabios will try to boot from selected devices first, > > if they are all failed, seabios will also try to boot from > > un-selected devices. > > > > We need to make it configurable.

Re: [SeaBIOS] [Qemu-devel] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Eric Blake
On 01/09/2013 01:39 AM, Amos Kong wrote: > Current seabios will try to boot from selected devices first, > if they are all failed, seabios will also try to boot from > un-selected devices. > > We need to make it configurable. I already posted a seabios > patch to add a new device type to halt boot

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
Here's a patch that's been lingering awhile. thanks, Dave - Original Message - > From: "Dave Frodin" > To: "seabios" > Sent: Wednesday, October 17, 2012 9:30:01 AM > Subject: Get rid of a compile time dprintf warning > This patch gets rid of a compile time dprintf warning. > A 'long

[SeaBIOS] [PATCH RFC] usb-ehci: maintain toggle state

2013-01-09 Thread Christian Gmeiner
This fixes/improves the ehci driver on bare metal. The current logic in ehci_send_bulk(..) looks wired... but he.. this patch is RFC :) Before patch: Option rom sizing returned 0 0 \0f7a6000/ End thread \0f7a4000/ End thread \0f7a3000/ End thread |0f7a2000| ata_reset exit status=50 |0f7a2000| sen

Re: [SeaBIOS] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Gleb Natapov
On Wed, Jan 09, 2013 at 04:39:13PM +0800, Amos Kong wrote: > Current seabios will try to boot from selected devices first, > if they are all failed, seabios will also try to boot from > un-selected devices. > > We need to make it configurable. I already posted a seabios > patch to add a new device

Re: [SeaBIOS] Next release

2013-01-09 Thread Kevin O'Connor
On Tue, Jan 08, 2013 at 08:20:16AM +0100, Hannes Reinecke wrote: > On 01/08/2013 12:35 AM, Kevin O'Connor wrote: > >It's been a few months since the last SeaBIOS release. I'd like to > >start preparing for the next release. If you know of any defects or > >critical features that should go into th

Re: [SeaBIOS] [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)

2013-01-09 Thread Paolo Bonzini
Il 08/01/2013 00:51, Brad Smith ha scritto: > > > >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of > > > >> these > > > >> days? Other opinions? > > > > > > A new release can be produced if desired. Given that there isn't > > > much > > > new s

[SeaBIOS] [Qemu PATCH v2] add a boot option to do strict boot

2013-01-09 Thread Amos Kong
Current seabios will try to boot from selected devices first, if they are all failed, seabios will also try to boot from un-selected devices. We need to make it configurable. I already posted a seabios patch to add a new device type to halt booting. Qemu can add "HALT" at the end of bootindex stri