qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] make install qemu-system-x86
Date: Fri, 23 Feb 2007 16:23:52 -0500	[thread overview]
Message-ID: <200702231623.53215.rob@landley.net> (raw)

Could make install do a "qemu-system-x86" and then symlink the "qemu" name to 
whatever the host platform happens to be?  (So if you build qemu on x86-64 
then qemu points to "qemu-system-x86_64"?  Or if you build the sucker on a 
PPC system...)

The relevant code seems to be is in Makefile.target, line 50 or so:

  # system emulator name
  ifdef CONFIG_SOFTMMU
  ifeq ($(TARGET_ARCH), i386)
  QEMU_SYSTEM=qemu$(EXESUF)
  else
  QEMU_SYSTEM=qemu-system-$(TARGET_ARCH2)$(EXESUF)
  endif
  else
  QEMU_SYSTEM=qemu-fast
  endif

And I have no idea what "qemu-fast" is so I'm keeping my hands off.  
(Something to do with kqemu?)

I previously thought it was special casing whatever the host platform is, but 
I see it's currently special casing i386 specifically.

Rob

P.S.  I think the new link to be called "qemu-system-x86" rather 
than "qemu-system-i386" since i386 is a specific model of x86 processor and 
we haven't got qemu-system-armv4 and qemu-system-armv5, although if somebody 
wanted to make a way to specify that I'd be pretty happy.  (Periodically the 
question comes up "how do I do a 586 build" and although it's easy enough to 
cross-compile for that, it's hard to come up with a test environment without 
plugging in actual hardware.  "It runs on my laptop" is no guarantee, my 
laptop's a Pentium M...)  However, I realize there's currently a "qemu-i386" 
in user emulation...
-- 
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery

                 reply	other threads:[~2007-02-23 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200702231623.53215.rob@landley.net \
    --to=rob@landley.net \
    --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).