PPC: Mac OS X guest bringup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 of 15 patches 8 repliesIn review
14 of 15 patches are in this archive. The cover letter announces 15.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | PPC: Mac: Fix guest exported tbfreq valueshw/ hw/ | +6 | 0 replies | |
| 2/15 | PPC: g3beige: Move secondary IDE bus to mac-iohw/ hw/ hw/ | +64 | 2 replies | |
| 3/15 | PPC: Macio: Replace tabs with spaceshw/ | +4 | 0 replies | |
| 4/15 | PPC: dbdma: Replace tabs with spaceshw/ | +51 | 2 replies | |
| 5/15 | PPC: Mac: Add debug prints in macio and dbdma codehw/ hw/ | +48 | 2 replies | |
| 6/15 | PPC: dbdma: Fix debug printhw/ | +2 | 0 replies | |
| 7/15 | PPC: dbdma: Allow new commands in RUN statehw/ | +3 | 0 replies | |
| 8/15 | PPC: dbdma: Move defines into header filehw/ include/ | +118 | 0 replies | |
| 9/15 | PPC: dbdma: Introduce kick functionhw/ include/ | +6 | 0 replies | |
| 10/15 | PPC: dbdma: Move static bh variable to device structhw/ include/ | +16 | 0 replies | |
| 11/15 | PPC: dbdma: macio: Add DMA callbackhw/ hw/ | +42 | 0 replies | |
| 12/15 | PPC: dbdma: Move processing to iohw/ include/ | +8 | 2 replies | |
| 13/15 | PPC: dbdma: Wait for DMA until we have datahw/ hw/ | +20 | 0 replies | |
| 14/15 | PPC: dbdma: Support unaligned DMA accesshw/ include/ | +124 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/15] PPC: Mac OS X guest bringup
Recently there has been a lot of progress on the OpenBIOS side to get Mac OS X to boot.
For a while now it seemed there was only very little to make it a fully working guest os in QEMU.
This patch set is the result of this. With this I can successfully boot Mac OS X 10.2 to 10.4 with the g3beige machine all the way to the GUI. I was not able to boot 10.0 or 10.1, both of which crashed in interrupt controller registration. 10.5 does not include drivers for g3beige anymore. Everything as of 10.6 is x86 only.
The mac99 target doesn't look quite as good, but also very close. FWIW only minor issues in our NVRAM layout and via-cuda emulation keep us from using that one.
Please don't try to run this with KVM yet. Mac OS X uses mixed mode (half real, half paged) extensively, which happens to break badly in KVM.
For reference, here are a few pictures:
https://dl.dropboxusercontent.com/u/8976842/Screen%20Shot%202013-06-29%20at%2021.25.38.png
https://dl.dropboxusercontent.com/u/8976842/Screen%20Shot%202013-06-29%20at%2005.21.03.png
If you want to try this out, please apply the patches on top of my ppc-next queue. Or just use this git repo:
git://github.com/agraf/qemu.git macos-v1
Enjoy!
Alex
Alexander Graf (15):
PPC: Mac: Fix guest exported tbfreq values
PPC: g3beige: Move secondary IDE bus to mac-io
PPC: Macio: Replace tabs with spaces
PPC: dbdma: Replace tabs with spaces
PPC: Mac: Add debug prints in macio and dbdma code
PPC: dbdma: Fix debug print
PPC: dbdma: Allow new commands in RUN state
PPC: dbdma: Move defines into header file
PPC: dbdma: Introduce kick function
PPC: dbdma: Move static bh variable to device struct
PPC: dbdma: macio: Add DMA callback
PPC: dbdma: Move processing to io
PPC: dbdma: Wait for DMA until we have data
PPC: dbdma: Support unaligned DMA access
PPC: Update PPC OpenBIOS
hw/ide/macio.c | 232 ++++++++++++++++++++++++++++++++++++++++++--- hw/misc/macio/mac_dbdma.c | 191 ++++++++++--------------------------- hw/misc/macio/macio.c | 95 +++++++++++-------- hw/ppc/mac.h | 3 + hw/ppc/mac_newworld.c | 5 +- hw/ppc/mac_oldworld.c | 22 ++--- include/hw/ppc/mac_dbdma.h | 124 ++++++++++++++++++++++++ pc-bios/openbios-ppc | Bin 733972 -> 1357906 bytes 8 files changed, 465 insertions(+), 207 deletions(-)
Signature · 1 line
1.8.1.4