Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Ian Campbell
On Mon, 2013-02-11 at 19:06 -0500, Kevin O'Connor wrote: On Mon, Feb 11, 2013 at 12:43:29PM +, Ian Campbell wrote: On Mon, 2013-02-11 at 10:54 +, David Woodhouse wrote: On Sat, 2013-02-09 at 14:08 -0500, Kevin O'Connor wrote: This patch series is less ambitious than the previous

Re: [SeaBIOS] [edk2] [PATCH 2/2] LegacyBbs: add boot entries for virtio-blk devices

2013-02-12 Thread Gerd Hoffmann
Hi, ... BTW why can't SeaBIOS grab the bootorder fw_cfg file just the same in the CSM build? (Commit 60258aa4 in David's repo.) Because you want only one boot menu. When you pick 'legacy boot from this cdrom' in the ovmf boot menu you want seabios boot straight from the specified cdrom.

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Ian Campbell
On Mon, 2013-02-11 at 17:28 +, David Woodhouse wrote: On Mon, 2013-02-11 at 12:43 +, Ian Campbell wrote: I don't know if distros prefer to have fewer images or not, once you have 2 I guess having N is not such a big deal for something the size and build time of SeaBIOS. Probably

Re: [SeaBIOS] [PATCH v2 00/19] SeaBIOS as Compatibility Support Module for UEFI/OVMF

2013-02-12 Thread Ian Campbell
On Mon, 2013-02-11 at 12:31 +, Ian Campbell wrote: On Fri, 2013-02-08 at 17:14 -0500, Kevin O'Connor wrote: Would you have a short description of how one can pull down the Xen code and run a custom compiled SeaBIOS image on it? The short version would feature download, build, install

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Laszlo Ersek
On 02/09/13 20:08, Kevin O'Connor wrote: This is the redo of the multi-platform support patch I sent previously. This patch series is less ambitious than the previous - SeaBIOS can't be compiled for multiple platforms (eg, QEMU, CSM, coreboot) at the same time. However, this series still

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Laszlo Ersek
On 02/12/13 14:55, Kevin O'Connor wrote: On Tue, Feb 12, 2013 at 01:06:34PM +0100, Laszlo Ersek wrote: out/vgaccode16.o: In function `runningOnQEMU': /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' Oops. This is because

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Kevin O'Connor
On Tue, Feb 12, 2013 at 01:06:34PM +0100, Laszlo Ersek wrote: On 02/09/13 20:08, Kevin O'Connor wrote: This is the redo of the multi-platform support patch I sent previously. This patch series is less ambitious than the previous - SeaBIOS can't be compiled for multiple platforms (eg,

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Dario Faggioli
On Tue, 2013-02-12 at 10:34 +, Ian Campbell wrote: On Mon, 2013-02-11 at 17:28 +, David Woodhouse wrote: I take it the first step is running 'yum install xen' on my Fedora workstation, and rebooting into Xen with the Fedora kernel as Dom0? I was going to say no, you need to

Re: [SeaBIOS] [PATCH 8/8] Convert some QEMU cmos config variables to the romfile interface.

2013-02-12 Thread Kevin O'Connor
On Mon, Feb 11, 2013 at 09:21:29AM +0100, Paolo Bonzini wrote: Il 10/02/2013 05:48, Kevin O'Connor ha scritto: @@ -300,9 +300,8 @@ timer_setup(void) SET_BDA(timer_counter, ticks); // Setup Century storage -if (CONFIG_QEMU) { -Century = inb_cmos(CMOS_CENTURY);

Re: [SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

2013-02-12 Thread Kevin O'Connor
On Tue, Feb 12, 2013 at 03:29:44PM +0100, Laszlo Ersek wrote: On 02/12/13 14:55, Kevin O'Connor wrote: On Tue, Feb 12, 2013 at 01:06:34PM +0100, Laszlo Ersek wrote: out/vgaccode16.o: In function `runningOnQEMU': /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined

[SeaBIOS] [BROKEN RFC 5/5] make QEMU_HARDWARE mean assume virtual hardware

2013-02-12 Thread Laszlo Ersek
seabios: build QEMU_HARDWARErunningOnQEMU runningOnXen runningOnKVM target - + - COREBOOT n (forced)| n n n QEMU y (forced)| y n cpuid==KVM CSM

[SeaBIOS] [BROKEN RFC 2/5] move hypervisor detection to util.c (SRCBOTH)

2013-02-12 Thread Laszlo Ersek
Enabling CONFIG_DEBUG_IO for putc_debug() [src/output.c] exposes the following during the vgabios build: - the PlatformRunningOn variable has no external definition in that build, and - even though putc_debug() is SRCBOTH (consequently, SRC16 too), the hypervisor-dependent initialization

[SeaBIOS] [BROKEN RFC 3/5] vga_post(): detect hypervisors for the qemu debug port's sake

2013-02-12 Thread Laszlo Ersek
Signed-off-by: Laszlo Ersek ler...@redhat.com --- vgasrc/vgabios.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c index 3e26e32..0855338 100644 --- a/vgasrc/vgabios.c +++ b/vgasrc/vgabios.c @@ -1282,6 +1282,8 @@ void VISIBLE16

[SeaBIOS] [BROKEN RFC 4/5] Legacy16InitializeYourself(): detect hypervisors for the qemu debug port's sake

2013-02-12 Thread Laszlo Ersek
Signed-off-by: Laszlo Ersek ler...@redhat.com --- src/csm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/csm.c b/src/csm.c index 554b304..aac9e78 100644 --- a/src/csm.c +++ b/src/csm.c @@ -68,6 +68,9 @@ csm_maininit(struct bregs *regs) static void

[SeaBIOS] [BROKEN RFC 0/5] can we enable the qemu debug port for real-mode code?

2013-02-12 Thread Laszlo Ersek
This series bears witness to my extreme cluelessness. With it I'm only asking if we can move the hypervisor/platform detection logic to SRCBOTH code, so that it sets up PlatformRunningOn for all of CSM, vgabios, and normal SeaBIOS. The motivation is that running on qemu is now a requirement for

Re: [SeaBIOS] [BROKEN RFC 0/5] can we enable the qemu debug port for real-mode code?

2013-02-12 Thread Kevin O'Connor
On Wed, Feb 13, 2013 at 04:52:09AM +0100, Laszlo Ersek wrote: This series bears witness to my extreme cluelessness. With it I'm only asking if we can move the hypervisor/platform detection logic to SRCBOTH code, so that it sets up PlatformRunningOn for all of CSM, vgabios, and normal SeaBIOS.