Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-17 Thread Andreas Färber
Am 15.12.2010 um 00:02 schrieb Alexander Graf: On 14.12.2010, at 21:31, Benjamin Herrenschmidt wrote: The only working system emulation we have are Macs (G3 beige, G4, G5), so we can't just ignore Apple. Alex even made me stick to their odd 0x41 rtas-version property. ;) Hah :-) Nothing

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-14 Thread Alexander Graf
On 14.12.2010, at 21:31, Benjamin Herrenschmidt wrote: > >> The only working system emulation we have are Macs (G3 beige, G4, G5), >> so we can't just ignore Apple. >> Alex even made me stick to their odd 0x41 rtas-version property. ;) > > Hah :-) Nothing ever used RTAS on these... afaik, it

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-14 Thread Benjamin Herrenschmidt
> The only working system emulation we have are Macs (G3 beige, G4, G5), > so we can't just ignore Apple. > Alex even made me stick to their odd 0x41 rtas-version property. ;) Hah :-) Nothing ever used RTAS on these... afaik, it didn't even work properly. > No, but that may be OpenBIOS' fault.

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-14 Thread Andreas Färber
Am 12.12.2010 um 00:22 schrieb Benjamin Herrenschmidt: On Sat, 2010-12-11 at 18:06 +0200, Gleb Natapov wrote: http://playground.sun.com/pub/p1275/bindings/pci/pci2_1.pdf has table on page 10 that defines how pci class code should be translated into OF name. This is what my patch is using. pci-a

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Benjamin Herrenschmidt
> > > Ah the problem is that we have not qdevified mac io bus. Since first to > > > ide disks are automatically attached to mac-io bus device paths for them > > > are incorrect. Next two ide devices will be attached to CMD646 and qemu > > > will generate correct device paths for them: > > > > > >

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Benjamin Herrenschmidt
On Sat, 2010-12-11 at 18:06 +0200, Gleb Natapov wrote: > http://playground.sun.com/pub/p1275/bindings/pci/pci2_1.pdf has table > on > page 10 that defines how pci class code should be translated into OF > name. This is what my patch is using. pci-ata does not look spec > compliant (or is there more

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Blue Swirl
Thanks, applied all. On Wed, Dec 8, 2010 at 11:34 AM, Gleb Natapov wrote: > Forget to save a couple of buffers before sending version 7 :( > > Anthony, Blue can this be applied now? > > Gleb Natapov (16): >  Introduce fw_name field to DeviceInfo structure. >  Introduce new BusInfo callback get_fw

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Blue Swirl
2010/12/11 Gleb Natapov : > On Sat, Dec 11, 2010 at 08:02:23PM +0200, Gleb Natapov wrote: >> On Sat, Dec 11, 2010 at 05:19:01PM +, Blue Swirl wrote: >> > >>                                                 What should we do with >> > >> at...@600 vs dr...@1? >> > > There is no available IDE OF b

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Blue Swirl
2010/12/11 Gleb Natapov : > On Sat, Dec 11, 2010 at 05:19:01PM +, Blue Swirl wrote: >> >>                                                 What should we do with >> >> at...@600 vs dr...@1? >> > There is no available IDE OF binding spec, so I when with the way >> > OpenBIOS reports ata on qemu-x

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Gleb Natapov
On Sat, Dec 11, 2010 at 07:06:04PM +, Blue Swirl wrote: > 2010/12/11 Gleb Natapov : > > On Sat, Dec 11, 2010 at 08:02:23PM +0200, Gleb Natapov wrote: > >> On Sat, Dec 11, 2010 at 05:19:01PM +, Blue Swirl wrote: > >> > >>                                                 What should we do with

Re: [Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Gleb Natapov
On Sat, Dec 11, 2010 at 08:02:23PM +0200, Gleb Natapov wrote: > On Sat, Dec 11, 2010 at 05:19:01PM +, Blue Swirl wrote: > > >>                                                 What should we do with > > >> at...@600 vs dr...@1? > > > There is no available IDE OF binding spec, so I when with the

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Gleb Natapov
On Sat, Dec 11, 2010 at 05:19:01PM +, Blue Swirl wrote: > >>                                                 What should we do with > >> at...@600 vs dr...@1? > > There is no available IDE OF binding spec, so I when with the way > > OpenBIOS reports ata on qemu-x86. I have no idea what 600 in a

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Blue Swirl
On Sat, Dec 11, 2010 at 4:06 PM, Gleb Natapov wrote: > On Sat, Dec 11, 2010 at 03:13:35PM +, Blue Swirl wrote: >> On Wed, Dec 8, 2010 at 11:34 AM, Gleb Natapov wrote: >> > Forget to save a couple of buffers before sending version 7 :( >> > >> > Anthony, Blue can this be applied now? >> >> I m

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Gleb Natapov
On Sat, Dec 11, 2010 at 03:13:35PM +, Blue Swirl wrote: > On Wed, Dec 8, 2010 at 11:34 AM, Gleb Natapov wrote: > > Forget to save a couple of buffers before sending version 7 :( > > > > Anthony, Blue can this be applied now? > > I made some more tests, this time with PPC. I modified OpenBIOS

[Qemu-devel] Re: [PATCHv8 00/16] boot order specification

2010-12-11 Thread Blue Swirl
On Wed, Dec 8, 2010 at 11:34 AM, Gleb Natapov wrote: > Forget to save a couple of buffers before sending version 7 :( > > Anthony, Blue can this be applied now? I made some more tests, this time with PPC. I modified OpenBIOS to print out the boot device list: $ qemu-system-ppc -drive if=none,id=