Re: [Qemu-devel] Potential sparc32 MMU bug

2007-03-25 Thread Peter Creath
By banging on get_physical_address, I was able to confirm that qemu will properly assert an exception if the VM's MMU believes the page is read-only. How does env-mmuregs[] get mapped to the VM's MMU? I would normally write this off as an OpenBIOS bug, but it seems like bad behavior for an

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

2007-03-25 Thread Peter Creath
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