qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-ppc@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	programmingkidx@gmail.com, mark.cave-ayland@ilande.co.uk,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 00/17] PPC: Mac OS X guest bringup v2
Date: Mon,  1 Jul 2013 02:13:25 +0200	[thread overview]
Message-ID: <1372637622-50697-1-git-send-email-agraf@suse.de> (raw)

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 keep us from using that one. 10.4 already
boots for me.

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-v2


Enjoy!

Alex


v1 -> v2:

  - fix spaces
  - use non-bitrotting DPRINTF for macio
  - clean up
  - fix dprintf
  - make processing a bool


Alexander Graf (17):
  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: Add timer handler for newworld mac-io
  PPC: Update PPC OpenBIOS
  PPC: dbdma: Support more multi-issue DMA requests

 hw/ide/macio.c             | 239 ++++++++++++++++++++++++++++++++++++++++++---
 hw/misc/macio/mac_dbdma.c  | 193 ++++++++++--------------------------
 hw/misc/macio/macio.c      | 125 +++++++++++++++++-------
 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 -> 1358022 bytes
 8 files changed, 502 insertions(+), 209 deletions(-)

-- 
1.8.1.4

             reply	other threads:[~2013-07-01  0:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01  0:13 Alexander Graf [this message]
2013-07-01  0:13 ` [Qemu-devel] [PATCH 01/17] PPC: Mac: Fix guest exported tbfreq values Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 02/17] PPC: g3beige: Move secondary IDE bus to mac-io Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 03/17] PPC: Macio: Replace tabs with spaces Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 04/17] PPC: dbdma: " Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 05/17] PPC: Mac: Add debug prints in macio and dbdma code Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 06/17] PPC: dbdma: Fix debug print Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 07/17] PPC: dbdma: Allow new commands in RUN state Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 08/17] PPC: dbdma: Move defines into header file Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 09/17] PPC: dbdma: Introduce kick function Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 10/17] PPC: dbdma: Move static bh variable to device struct Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 11/17] PPC: dbdma: macio: Add DMA callback Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 12/17] PPC: dbdma: Move processing to io Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 13/17] PPC: dbdma: Wait for DMA until we have data Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 14/17] PPC: dbdma: Support unaligned DMA access Alexander Graf
2013-07-17  9:09   ` Kevin Wolf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 15/17] PPC: Add timer handler for newworld mac-io Alexander Graf
2013-07-01  0:13 ` [Qemu-devel] [PATCH 17/17] PPC: dbdma: Support more multi-issue DMA requests Alexander Graf
2013-07-11 14:22 ` [Qemu-devel] [Qemu-ppc] [PATCH 00/17] PPC: Mac OS X guest bringup v2 Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372637622-50697-1-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=kwolf@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).