Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Benjamin Herrenschmidt
On Sun, 2009-12-20 at 18:53 +, Blue Swirl wrote: > > Some Sun machines also had "ATY,Rage XL" cards but I don't know if > they had special roms. They would have similar f-code to the mac ones (ie. Tokenized forth for Open Firmware). However, in the case of qemu, I don't see much point in do

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Benjamin Herrenschmidt
On Sun, 2009-12-20 at 19:01 +0100, Alexander Graf wrote: > > Yes. The Alpha for example used stock VGABIOSes. IIRC Sparc has its > own graphics anyways and I don't know about the others, but I suspect > they either use x86 VGABIOSes or no VGABIOSes. > > Macs are different though. IIRC they have a

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Blue Swirl
On Sun, Dec 20, 2009 at 6:24 PM, Andreas Färber wrote: > > Am 20.12.2009 um 19:01 schrieb Alexander Graf: > >> >> On 20.12.2009, at 18:55, Anthony Liguori wrote: >> >>> Alexander Graf wrote: Don't macs usually have a powerpc vgabios? >>> I'm not certain, but this is what x86emu is f

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Andreas Färber
Am 20.12.2009 um 19:01 schrieb Alexander Graf: On 20.12.2009, at 18:55, Anthony Liguori wrote: Alexander Graf wrote: Don't macs usually have a powerpc vgabios? I'm not certain, but this is what x86emu is for in X11. VGA is a PC concept and just about nothing about it really make sense

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Alexander Graf
On 20.12.2009, at 18:55, Anthony Liguori wrote: > Alexander Graf wrote: >> Don't macs usually have a powerpc vgabios? >> > I'm not certain, but this is what x86emu is for in X11. > > VGA is a PC concept and just about nothing about it really make sense on a > different architecture. The inte

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Anthony Liguori
Alexander Graf wrote: Don't macs usually have a powerpc vgabios? I'm not certain, but this is what x86emu is for in X11. VGA is a PC concept and just about nothing about it really make sense on a different architecture. The interface is an extension of the PC BIOS (software interrupts) an

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Alexander Graf
On 20.12.2009, at 18:02, Blue Swirl wrote: > On Sun, Dec 20, 2009 at 3:34 PM, Anthony Liguori > wrote: >> Blue Swirl wrote: >>> >>> On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann wrote: >>> From: Anthony Liguori Currently, we preload option roms into the option rom sp

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Blue Swirl
On Sun, Dec 20, 2009 at 3:34 PM, Anthony Liguori wrote: > Blue Swirl wrote: >> >> On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann wrote: >> >>> >>> From: Anthony Liguori >>> >>> Currently, we preload option roms into the option rom space in memory. >>>  This >>> prevents DDIM from functioning co

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-20 Thread Anthony Liguori
Blue Swirl wrote: On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann wrote: From: Anthony Liguori Currently, we preload option roms into the option rom space in memory. This prevents DDIM from functioning correctly which severely limits the number of roms we can support. This patch introduc

Re: [Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-19 Thread Blue Swirl
On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann wrote: > From: Anthony Liguori > > Currently, we preload option roms into the option rom space in memory.  This > prevents DDIM from functioning correctly which severely limits the number > of roms we can support. > > This patch introduces a pci_add

[Qemu-devel] [PATCH 1/8] Support PCI based option rom loading

2009-12-18 Thread Gerd Hoffmann
From: Anthony Liguori Currently, we preload option roms into the option rom space in memory. This prevents DDIM from functioning correctly which severely limits the number of roms we can support. This patch introduces a pci_add_option_rom() which registers the PCI_ROM_ADDRESS bar which points t