Jump to content

Fast OS X in QEMU -only Compilers needed-


14 posts in this topic

Recommended Posts

http://m2.dad-answers.com/qemu-forum/viewtopic.php?t=223

 

People have managed to run OS X in QEMU rather fast. The only thing we need at the moment is someone to compile a modified version of QEMU on Linux and Windows. As i -a noob- don't know how to compile an application, someone has to help me.

 

1. First, download the QEMU source code http://fabrice.bellard.free.fr/qemu/qemu-0.7.2-i386.tar.gz

2. Follow these instructions:

You need to edit target-i386/helper2.c, search it :

Code:

 

#ifdef TARGET_X86_64

/* currently not enabled for std i386 because not fully tested */

env->cpuid_features |= CPUID_APIC;

env->cpuid_ext2_features = (env->cpuid_features & 0x0183F3FF);

env->cpuid_ext2_features |= CPUID_EXT2_LM | CPUID_EXT2_SYSCALL;

env->cpuid_xlevel = 0x80000008;

 

/* these features are needed for Win64 and aren't fully implemented */

env->cpuid_features |= CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA;

#endif

 

and comment #ifdef TARGET_X86_64 and #endif .

3. compile (see this: http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC47 )

 

Can anywone make a preconfigured image of this for Windows?

 

A screenshot:

 

http://img360.imageshack.us/my.php?image=macosx1512rb.jpg

 

EDIT: AN OTHER (BETTER) GUIDE: http://www.win2osx.net/forum/showthread.php?t=431

Link to comment
Share on other sites

Yes Zeph, I thought the same thing as you at first, but then after a closer look, realised what he was asking. He realises there is a Windows version of Qemu out there, just not one specifically compiled with the code changes above. So, not being experienced in this sort of stuff, I leave it to whoever is... ;)

Link to comment
Share on other sites

Yes Zeph, I thought the same thing as you at first, but then after a closer look, realised what he was asking. He realises there is a Windows version of Qemu out there, just not one specifically compiled with the code changes above. So, not being experienced in this sort of stuff, I leave it to whoever is... ;)

 

The problem is: there isn't a Linux version avaiable eider. You've got to compile it yourself on Linux. Can't someone make a binary installer for Linux and Windows so SSE-users can use OSX86 on a fast(er) way?

Link to comment
Share on other sites

Note: those folks are using QEMU 0.7.1

 

You can compile Bochs with SSE2 emulation using:

 

--enable-sse=LEVEL no Add support for SSE instructions, written by Stanislav Shwartsman. For SSE only, use --enable-sse=1. For SSE and SSE2, use --enable-sse=2.

 

which means: in a terminal window, cd to Bochs source, type "sh configure --enable-cpu-level=6 --enable-sse=2" ,"make" and "make install".

 

http://bochs.sourceforge.net/cgi-bin/toppe...user/book1.html

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
 Share

×
×
  • Create New...