[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] SunOS 4.x support

From: Peter Creath
Subject: [Qemu-devel] [PATCH] SunOS 4.x support
Date: Thu, 08 Mar 2007 22:53:00 -0000

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: qemu-sunos.patch.gz
Description: GNU Zip compressed data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]