qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: ginu samuel <samuel.ginu2010@gmail.com>
To: qemu-devel@nongnu.org
Subject: Runnig solaris binary(32 bit) on linux(64 bit)
Date: Thu, 16 Feb 2023 14:30:05 +0530	[thread overview]
Message-ID: <CAPWd1mzg0rWgpf_D+NC+yAosx8oJnA+tR=NpsuFNtWP-j25=pQ@mail.gmail.com> (raw)

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

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

the uname output on solaris box is -
#uname -sip
SunOS sparc sun4v

the uname output on linux box is -
#uname -siop
Linux x86_64 x86_64 GNU/Linux

Following are the questions:
1. Is the user mode emulation (of QEMU) the right way to do this?

2. If yes, what would be actual command to do this. The Linux User space
emulator ( https://www.qemu.org/docs/master/user/main.html) gives the
command :

qemu-i386 [-h] [-d] [-L path] [-s size] [-cpu model] [-g port] [-B
offset] [-R size] program [arguments...]

Is there a suitable command for 64 bit linux to run the program ?

3.  Is this the package to install for RHEL as given in documentation?


   -

   RHEL/CentOS: yum install qemu-kvm


4. Does the program require Super user privileges to run?

Regards,
Ginu

[-- Attachment #2: Type: text/html, Size: 6056 bytes --]

             reply	other threads:[~2023-02-16 14:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16  9:00 ginu samuel [this message]
2023-02-16 14:36 ` Runnig solaris binary(32 bit) on linux(64 bit) Peter Maydell
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='CAPWd1mzg0rWgpf_D+NC+yAosx8oJnA+tR=NpsuFNtWP-j25=pQ@mail.gmail.com' \
    --to=samuel.ginu2010@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).