qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Peter Creath" <pjcreath@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] SunOS 4.x support
Date: Thu, 08 Mar 2007 22:53:00 -0000	[thread overview]
Message-ID: <d40b362a0703081452k2ff3b794s84fbab406580d320@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

Old versions of SunOS don't understand the "Sun4m with OBP" machine
type of 0x80.  They expect the machine type of actual Sun machines,
e.g., 0x71 or 0x72.  This patch adds a machine type to the Sparc
target and renames the old machine to clarify that it's emulating an
OBP platform rather than standard hardware.

The default behavior (without a -M flag) will be the same (using
machine type of 0x80/OBP), but the explicit name for the OBP platform
is now "sun4m-obp".  Plain old "sun4m" mimics real hardware.

This patch doesn't make SunOS 4.x boot completely under qemu, as both
machines still use OpenBIOS as their boot rom, and there are a bunch
of OpenBIOS incompatibilies with SunOS.  I've submitted a patch to fix
a number of them to the OpenBIOS mailing list, but there are still
some glitches keeping the machine from booting.

But this patch is necessary to boot SunOS 4.x.

[-- Attachment #2: qemu-sunos.patch.gz --]
[-- Type: application/x-gzip, Size: 860 bytes --]

                 reply	other threads:[~2007-03-08 22:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=d40b362a0703081452k2ff3b794s84fbab406580d320@mail.gmail.com \
    --to=pjcreath@gmail.com \
    --cc=qemu-devel@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).