qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Arturo CV <arttak1586@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to compile the source code to get the images and executable to run the QEMU?
Date: Fri, 25 May 2012 08:27:30 +0100	[thread overview]
Message-ID: <20120525072730.GA11895@redhat.com> (raw)
In-Reply-To: <CAOxT81JaT9B0T5zdU8Ve8_bhGH=tCagVgOPuvHBaJZ3VUpZTOw@mail.gmail.com>

On Thu, May 24, 2012 at 04:08:30PM -0600, Arturo CV wrote:
> Hello,
> 
> Am new around here and am working with the QEMU in a project.
> 
> I would like to ask if there is anyone that can let me know how to
> compile or build the images to be used to run the QEMU from the source
> code. I already got the source code from the wiki.qemu.org and I have
> the version 1.0.1. Now I would like to build it from there to start
> doing some test with my project.
> 
> At the beginning I was working with the version 0.14.50 but it was
> already build with all the executable and everything and am having
> issues when I try to put the system into an Idle state using the
> "wait" so I was looking to use the newest version and go from there.
> 
> I appreciate all the help and guidance you can give me since am kind
> of newbie with this :)

Ordinarily I'd suggest that for any open source project you can just
read the "INSTALL" file or "README" file for instructions, but having
just checked I see QEMU does not have an INSTALL file and the README
is mostly useless. Sigh.

About the only docs I can find on building QEMU are these:

  http://qemu.weilnetz.de/qemu-doc.html#compilation

If you only want to build one particular architecture (eg x86_64),
then my recommendation is:

  ./configure --target-list=x86_64-softmmu --prefix=$HOME/usr/qemu-1.0.1
  make
  make install

Then you can run it

   $HOME/usr/qemu-1.0.1/bin/qemu-system-x86_64

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

      reply	other threads:[~2012-05-25  7:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-24 22:08 [Qemu-devel] How to compile the source code to get the images and executable to run the QEMU? Arturo CV
2012-05-25  7:27 ` Daniel P. Berrange [this message]

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=20120525072730.GA11895@redhat.com \
    --to=berrange@redhat.com \
    --cc=arttak1586@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).