qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] qemu-0.7.0 Solaris Host patch (Real)


From: Ben Taylor
Subject: [Qemu-devel] [PATCH] qemu-0.7.0 Solaris Host patch (Real)
Date: Thu, 28 Apr 2005 10:24:58 -0400

Please ignore the first post. A webmail annomally sent
the message before it was cooked. :-)

This patch is mostly a collation of several sets of Solaris
host patches that have been around.  Thanks to Juergen
and a few others for actually having done the hard work
of debugging and making things work.

What the patch does:

1) deal with the fact that bash is not /bin/sh in Solaris
2) Add defaults for Solaris in configure, and deal with
   specific behaviors that Solaris doesn't support 
   (like ln -sf not overwriting the target)
3) add --install= option to configure.  Solaris's 
   /usr/bin/install is not what qemu expects to see. 
   Default is ginstall, but you can also use the full path
   to /usr/ucb/install if you don't have Gnu Fileutils
   installed. However, it's not a good ideas to put
   /usr/ucb in front of /usr/bin:/usr/sbin.  Modified
   the Makefiles to use $(INSTALL)
4) Added --with-oss= and --oss-inc= to allow the use of the
   OSS audio driver in Solaris. It had been previosly
   disabled.  (SDL audio tends to stutter on Solaris)
5) Add snippets of code in various place to make qemu
   compile cleanly under Solaris.

Two enhancements: 
1) ability to run with user-net if you don't have
   a DNS server on the host
2) some extra Samba features in vl.c, though I admit
   to just importing them since I don't run Samba.

On solaris, from above the qemu-0.7.0 directory, type

gpatch -p0 < qemu-0.7.0-solaris-patch

Notes: all of the work has been done on Solaris 10 or
Solaris express, using the blastwave gcc-3.4.3 compiler
and libSDL-1.2.8 from blastwave.  I have seen reports
that gcc-3.4.3 in /usr/sfw/bin is broken for qemu
building. 

Ben

Attachment: qemu-0.7.0-solaris-patch
Description: Binary data


reply via email to

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