From: Peter Maydell <peter.maydell@linaro.org>
To: 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 14:36:44 +0000 [thread overview]
Message-ID: <CAFEAcA8dH+DDPHWg6xRmT=3oCu1rwyb1gbyVCXFTSDSzBrGg-w@mail.gmail.com> (raw)
In-Reply-To: <CAPWd1mzg0rWgpf_D+NC+yAosx8oJnA+tR=NpsuFNtWP-j25=pQ@mail.gmail.com>
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.
Running QEMU doesn't need root privileges.
thanks
-- PMM
next prev parent reply other threads:[~2023-02-16 14:37 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 [this message]
2023-02-16 19:02 ` David Woodhouse
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='CAFEAcA8dH+DDPHWg6xRmT=3oCu1rwyb1gbyVCXFTSDSzBrGg-w@mail.gmail.com' \
--to=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).