qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Peter Maydell <peter.maydell@linaro.org>,
	ginu samuel <samuel.ginu2010@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Runnig solaris binary(32 bit) on linux(64 bit)
Date: Thu, 16 Feb 2023 20:02:20 +0100	[thread overview]
Message-ID: <4ea862746a066107573650d04f4eee6992e0ede9.camel@infradead.org> (raw)
In-Reply-To: <CAFEAcA8dH+DDPHWg6xRmT=3oCu1rwyb1gbyVCXFTSDSzBrGg-w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

On Thu, 2023-02-16 at 14:36 +0000, Peter Maydell wrote:
> On Thu, 16 Feb 2023 at 14:30, ginu samuel <samuel.ginu2010@gmail.com>
> wrote:
> > 
> > Hi,
> >     I have a requirement to run a Solaris binary ( 32 bit ) on
> > linux (64 bit).
> > 
> > Since some of the sources for the binary are not available,
> > recompilation on linux is not possible.
> > 
> > So we are trying to run on linux using QEMU
> 
> > Following are the questions:
> > 1. Is the user mode emulation (of QEMU) the right way to do this?
> 
> No. QEMU's user-only mode only supports running Linux processes
> on a Linux host; it can't run binaries for any other OS like Solaris.
> 
> To run a Solaris binary you would need to boot a guest Solaris
> on an emulated QEMU system (effectively, like a slow VM), and
> then run the binary you want to run inside that VM.

Well... we used to be able to run Solaris and similar x86 binaries on
Linux, with the iBCS patches in the kernel, which became
https://linux-abi.sourceforge.net/

It wouldn't be beyond the wit of man to extend qemu-user to support the
similar personality variations for SCO/Solaris/etc. using that as a
guide. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5965 bytes --]

  reply	other threads:[~2023-02-16 19:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16  9:00 Runnig solaris binary(32 bit) on linux(64 bit) ginu samuel
2023-02-16 14:36 ` Peter Maydell
2023-02-16 19:02   ` David Woodhouse [this message]
2023-02-16 19:29     ` Richard Henderson
2023-02-16 19:39       ` David Woodhouse
2023-02-17 15:31         ` Peter Maydell
2023-02-17 16:04         ` Warner Losh
2023-02-18  2:40           ` ginu samuel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ea862746a066107573650d04f4eee6992e0ede9.camel@infradead.org \
    --to=dwmw2@infradead.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.ginu2010@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).