qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: C K Kashyap <ckkashyap@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Running the user emulation
Date: Wed, 11 Aug 2010 14:36:31 +0530	[thread overview]
Message-ID: <AANLkTinuW7R8QbmC85PgGUUP7zKK-nu6hKecdzkfO62u@mail.gmail.com> (raw)
In-Reply-To: <4C626277.803@mail.berlios.de>

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

Let me see if I understand this right -

qemu loads the a.out and begins to interpret the x86 instructions in the
a.out and when a system call happens, it makes the call the host system ....
is that right?



On Wed, Aug 11, 2010 at 2:12 PM, Stefan Weil <weil@mail.berlios.de> wrote:

>  Am 11.08.2010 10:31, schrieb C K Kashyap:
>
> Hi,
> I've built qemu on my mac osx using this config -
> ./configure --prefix=/Users/ckk/local/ --target-list="i386-softmmu
> x86_64-softmmu" --enable-linux-user
>
> Now, I have a simple a.out built on linux - how can I run it using qemu on
> my mac box?
>
> --
> Regards,
> Kashyap
>
>
> Hi Kashyap,
>
> you cannot run it in user mode emulation unless you replace Mac OS by Linux
> on your mac box. Linux user emulations requires a Linux host.
>
> If you have a Linux host, you would need --target-list=i386-linux-user.
>
> You can run your a.out if you run system emulation (e.g. i386-softmmu/qemu)
> and install Linux there, of course.
>
> Regards,
> Stefan
>



-- 
Regards,
Kashyap

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

  reply	other threads:[~2010-08-11  9:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  8:31 [Qemu-devel] Running the user emulation C K Kashyap
2010-08-11  8:42 ` Stefan Weil
2010-08-11  9:06   ` C K Kashyap [this message]
2010-08-11  9:18     ` Stefan Weil
2010-08-11  9:33       ` C K Kashyap
2010-08-11 10:03         ` Stefan Weil
2010-08-11 11:26           ` C K Kashyap
2010-08-11 18:38         ` Natalia Portillo
2010-08-12  8:37           ` C K Kashyap

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=AANLkTinuW7R8QbmC85PgGUUP7zKK-nu6hKecdzkfO62u@mail.gmail.com \
    --to=ckkashyap@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weil@mail.berlios.de \
    /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).