Re: [SeaBIOS] [PATCH] tsc: use kvmclock for calibration

2012-08-10 Thread Marcelo Tosatti
On Fri, Aug 10, 2012 at 10:10:27AM +0200, Gerd Hoffmann wrote: > Hi, > > >>> (1) Use this patch (with alignment issue fixed of course). > >>> (2) Do a full kvmclock implementation. Feels a bit like overkill. > >>> (3) SeaBIOS can fallback to the PIT for timing on machines which > >>>

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Fred .
Yeah, but how about on real hardware? Does SeaBIOS have some POST beep codes? On Fri, Aug 10, 2012 at 9:30 PM, Markus Armbruster wrote: > "Fred ." writes: > >> On Fri, Aug 10, 2012 at 5:28 PM, Markus Armbruster wrote: >>> Frediano Ziglio writes: >>> On Fri, 2012-08-10 at 16:24 +0200, Pe

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Markus Armbruster
"Fred ." writes: > On Fri, Aug 10, 2012 at 5:28 PM, Markus Armbruster wrote: >> Frediano Ziglio writes: >> >>> On Fri, 2012-08-10 at 16:24 +0200, Peter Stuge wrote: Fred . wrote: > No, I am not. Ok, so there's only a hypothesis. > But I believe QEMU does have

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Fred .
Some machines also have broken memory modules. So some computers have 0 byte RAM in that case. :D On Fri, Aug 10, 2012 at 5:28 PM, Markus Armbruster wrote: > Frediano Ziglio writes: > >> On Fri, 2012-08-10 at 16:24 +0200, Peter Stuge wrote: >>> Fred . wrote: >>> > No, I am not. >>> >>> Ok, so th

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Markus Armbruster
Frediano Ziglio writes: > On Fri, 2012-08-10 at 16:24 +0200, Peter Stuge wrote: >> Fred . wrote: >> > No, I am not. >> >> Ok, so there's only a hypothesis. >> >> >> > But I believe QEMU does have the functionality to load an arbitrary >> > firmware. So the firmware doesn't necessarily have to

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Frediano Ziglio
On Fri, 2012-08-10 at 16:24 +0200, Peter Stuge wrote: > Fred . wrote: > > No, I am not. > > Ok, so there's only a hypothesis. > > > > But I believe QEMU does have the functionality to load an arbitrary > > firmware. So the firmware doesn't necessarily have to be SeaBIOS. > > As you may know the

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Markus Armbruster
Peter Stuge writes: > Markus Armbruster wrote: >> >>> SeaBIOS requires a minimum of 1Meg of ram. I didn't even know one >> >>> could request less than 1meg of ram from QEMU. >> >> >> >> I'll cook up a QEMU patch to give it at least that much. >> >> > But QEMU may use other firmware/payload than

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Peter Stuge
Fred . wrote: > No, I am not. Ok, so there's only a hypothesis. > But I believe QEMU does have the functionality to load an arbitrary > firmware. So the firmware doesn't necessarily have to be SeaBIOS. As you may know the 8086 reset vector is at 1MB-16 so it will be really difficult to run a PC

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Peter Stuge
Markus Armbruster wrote: > >>> SeaBIOS requires a minimum of 1Meg of ram. I didn't even know one > >>> could request less than 1meg of ram from QEMU. > >> > >> I'll cook up a QEMU patch to give it at least that much. > > > But QEMU may use other firmware/payload than SeaBIOS which might > > requi

Re: [SeaBIOS] [PULL 0/1] update qemu seabios / seabios release?

2012-08-10 Thread Anthony Liguori
Gerd Hoffmann writes: > Hi, > > This pull updates seabios in qemu to the latest bits from seabios > master, so the upcoming 1.2 qemu release gets all the new shiny > stuff added recently. I'd like to have a new seabios release for > inclusion into qemu 1.2 which is planned for September 1st. >

Re: [SeaBIOS] [PATCH v2 0/2] Add IPMI SMBIOS/ACPI support

2012-08-10 Thread Corey Minyard
On 08/08/2012 11:11 AM, miny...@acm.org wrote: I went ahead and kept the structure passing because I've added ACPI support. After thinking about it a while, I think if you have to pass anything to SMBIOS (like "IPMI is present") you might as well pass the whole structure, and making things fixed

Re: [SeaBIOS] How much RAM is required?

2012-08-10 Thread Markus Armbruster
"Fred ." writes: > On Thu, Aug 9, 2012 at 10:15 AM, Markus Armbruster wrote: >> "Kevin O'Connor" writes: >> >>> On Wed, Aug 08, 2012 at 01:50:13PM +0200, Markus Armbruster wrote: Watch this: $ qemu-system-x86_64 -nodefaults -vnc :0 -monitor stdio -m 16k QEMU 1.1.50 m

Re: [SeaBIOS] [PATCH] tsc: use kvmclock for calibration

2012-08-10 Thread Gerd Hoffmann
Hi, >>> (1) Use this patch (with alignment issue fixed of course). >>> (2) Do a full kvmclock implementation. Feels a bit like overkill. >>> (3) SeaBIOS can fallback to the PIT for timing on machines which >>> have no TSC. We could do that too in case we detect kvm ... >> >> What s

Re: [SeaBIOS] [PATCH] tsc: use kvmclock for calibration

2012-08-10 Thread Gleb Natapov
On Fri, Aug 10, 2012 at 10:18:00AM +0300, Gleb Natapov wrote: > > can fix the in-kernel PIT issues with GRUB (see Michaels message) while > > testing. > > > What message exactly? > found it. -- Gleb. ___ SeaBIOS mailing list S

Re: [SeaBIOS] [PATCH] tsc: use kvmclock for calibration

2012-08-10 Thread Gleb Natapov
On Thu, Aug 09, 2012 at 04:09:13PM -0300, Marcelo Tosatti wrote: > On Thu, Aug 09, 2012 at 05:01:34PM +0300, Avi Kivity wrote: > > On 08/09/2012 04:57 PM, Gerd Hoffmann wrote: > > > Hi, > > > > > >>> +u64 kvm_tsc_khz(void) > > >>> +{ > > >>> +u32 eax, ebx, ecx, edx, msr; > > >>> +struct