On Thu, 4 Aug 2016, Benjamin Herrenschmidt wrote:
On Wed, 2016-08-03 at 22:59 +0200, BALATON Zoltan wrote:
Also G5 Mac emulation in QEMU is probably not that good as G4 is now so 64 bit version may have more problems than 32 bit ppc.
Well, the processor itself is very well emulated, that isn't the problem.
The machine however ... our G5 Mac99 model is some kind of franken mac which tries to pretend to be a U3 based G5 with bits and pieces that only exist on 32-bit machines and a U3 that doesn't really like like a real U3 ;-) It's definitely making MacOS X do weird weird things, like
That's what I've meant.
Based on spare time availability, I want to look into fixing this all up but only after I've tightened the Mac99 model a bit more to the point we can run 10.5, have networking, etc...
I did not mean to say that fixing G5 Mac emulation would be important or high priority as that's much more work than improving the 32 bit one so it makes perfect sense to fix the G4 Mac model now which should be enough for most apps anyway. The G5 would probably need a rewrite of U3, different PMU and more missing pieces so as you've said, maybe sometimes later if time permits.
For the G4 Mac I've noticed some missing i2c and gpio emulation when I've looked at it a while ago but I did not have the knowledge about how these should be implemented.
Regards, BALATON Zoltan