Solaris user emulation
RFC PATCH 1/1 Solaris user emulation
Hi,
I started to add support for (Open)Solaris user emulation. It compiles but doesn't work yet, this is just a preview. The patch is largely copy & paste from BSD user and there are no docs yet.
The current blocking problem is that I don't know how to make the qemu-i386 executable a shared ELF object which Solaris wouldn't refuse to execute (with native ld). Without that, qemu-i386 and the target executable occupy same memory region, leading to a crash. Any hints are welcome.
One problem is that Solaris headers are CDDL licensed and IIRC that was not compatible with GPL.
In message: <[email protected]>
Blue Swirl <[email protected]> writes:
: Hi,
:
: I started to add support for (Open)Solaris user emulation. It compiles : but doesn't work yet, this is just a preview. The patch is largely : copy & paste from BSD user and there are no docs yet.
:
: The current blocking problem is that I don't know how to make the : qemu-i386 executable a shared ELF object which Solaris wouldn't refuse : to execute (with native ld). Without that, qemu-i386 and the target : executable occupy same memory region, leading to a crash. Any hints : are welcome.
:
: One problem is that Solaris headers are CDDL licensed and IIRC that : was not compatible with GPL.
Using the headers is compatible with the GPL, since it falls under the source code usually delivered with the system exception (eg, it is outside the full and complete sources).
Copying them into qemu would, however, be a problem because of the patent clauses in CDDL and you'd clearly no longer be able to take advantage of that exception.
Warner