Statistics
| Branch: | Revision:

root / configure @ 076d2471

History | View | Annotate | Download (65.3 kB)

# Date Author Comment
0e8c9214 01/07/2010 08:08 pm Andreas Färber

Drop --whole-archive and static libraries

Juan has contributed a cool Makefile infrastructure that enables us to drop
static libraries completely:

Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
and link those object files directly into the executables....

2bff4b6f 12/23/2009 05:34 pm Blue Swirl

Compile qemu-nbd also on OpenBSD and Solaris

basename() needs #include <libgen.h>.

No prototype for daemon() is available on Solaris, but link
succeeds.

Signed-off-by: Blue Swirl <>

299060a0 12/19/2009 05:16 pm Kirill A. Shutemov

user_only: compile everything with -fpie

We really need compile all sources for user target with -fpie when
use --enable-user-pie.

It's regression introduced by commit add16157d72454.

Signed-off-by: Kirill A. Shutemov <>
Cc: Blue Swirl <>...

990b3e19 12/13/2009 09:32 pm Richard Henderson

target-alpha: Enable softfloat.

Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

20ff6c80 12/12/2009 03:59 pm Anthony Liguori

Do not abort on qemu_malloc(0) in production builds

qemu_malloc() does not allow size=0 to be passed in and aborts on this behavior.

Unfortunately, there is good reason to believe that within qemu, there are a
number of, so far, undetected places that assume size=0 can be safely passed....

0e60a699 12/05/2009 06:36 pm Alexander Graf

Add KVM support for S390x

S390x was one of the first platforms that received support for KVM back in the
day. Unfortunately until now there hasn't been a qemu implementation that would
enable users to actually run guests.

So let's include support for KVM S390x in qemu!...

24e804ec 12/05/2009 06:36 pm Alexander Graf

S/390 host/target build system support

This patch makes configure aware of S390 hosts and guests. When not explicitly
defined using --target-list= no S390 targets will be built though.

Signed-off-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

ea5ad306 12/03/2009 11:25 pm Andreas Faerber

Suppress optionrom build on Solaris x86

To avoid the build failing with:

gcc Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno
builtin -I/export/home/andreas/QEMU/qemu -Wall -Wstrict-prototypes -
Werror -fomit-frame-pointer -fno-builtin -I/export/home/andreas/QEMU/...

40ff6d7e 12/03/2009 07:45 pm Kevin Wolf

Don't leak file descriptors

We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
descriptors that don't need to be passed to children to stop this misbehaviour.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

be17dc90 12/02/2009 04:57 pm Michael S. Tsirkin

configure: use correct cflags in compiler checks

linux-user build on fedora 11 breaks because fallocate
is broken on that system if -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
are specified, which is what QEMU uses.

We do have a configure check to catch this and disable fallocate,...

afa05235 12/01/2009 02:06 am Aurelien Jarno

tcg: initial mips support

Based on a patch from Arnaud Patard (Rtp) <>

A few words about design choices:
  • Two registers, at and t0, are reserved for TCG internal use. They are
    useful for bswap and 64-bit ops.
  • Most ops supports a constant argument with value 0, which is actually...
a167ba50 11/29/2009 07:00 pm Aurelien Jarno

Add support for GNU/kFreeBSD

Signed-off-by: Aurelien Jarno <>

a992fe3d 11/22/2009 11:24 pm Paul Brook

Makefile dependencies for device configs

Add makefile dependencies for target specific device configs.
These will copy the default config if none exists, obsoleting the old
configure time code. If a config already exists but is older than the
default then print a warning....

3a3fb96d 11/21/2009 01:40 am Stefan Weil

configure: Fix spelling in comment and rework the comment

  • Replace vill -> will.
  • Comment was formatted to make it more readable
    and to conform to the coding standard, too.
  • Description of foo="" was completed.

Signed-off-by: Stefan Weil <>...

86355e07 11/21/2009 01:37 am Aurelien Jarno

qemu-io: build on all platforms

Since c32d766af127f68bb75ba5689f2f5239227bf559, qemu-io should be
portable. It is currently built only on linux and mingw32.

This patch enables qemu-io on all platforms. Tested on FreeBSD.

Signed-off-by: Aurelien Jarno <>

493abda6 11/18/2009 01:25 am Aurelien Jarno

audio: link with -lpulse in addition to -lpulse-simple

Link with -lpulse in addition to -lpulse-simple, needed when --no-add-needed
is passed to the linker (gold default).

Signed-off-by: Aurelien Jarno <>

9cf55765 11/17/2009 11:27 pm Blue Swirl

Fix typo

Signed-off-by: Blue Swirl <>

9c7a4202 11/17/2009 10:52 pm Blue Swirl

Prevent configuring for a user emulator on a different type of OS

Signed-off-by: Blue Swirl <>

422c46a8 11/17/2009 04:49 pm Anthony Liguori

Add a unit test for JSON support

Signed-off-by: Anthony Liguori <>

78f5d726 11/17/2009 04:49 pm Jan Kiszka

Cleanup configure checks for dup3 and fallocate

We have a function for this which does not issue annoying warnings.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

9c9efb6b 11/17/2009 04:49 pm Anthony Liguori

Add unit test for QFloat

Signed-off-by: Anthony Liguori <>

eb852011 11/09/2009 04:43 pm Markus Armbruster

Configurable block format whitelist

We have code for a quite a few block formats. While I trust that all
of these formats are useful at least for some people in some
circumstances, some of them are of a kind that friends don't let
friends use in production....

2d9f27d2 11/02/2009 11:50 pm Anthony Liguori

Fix the build when srcdir objdir

You would only see this error on a fresh clone when srcdir objdir. configure
will fail because roms/pcbios doesn't exist.

git submodule integration doesn't cleanup very well when switching between
branches so you'll get an roms/pcbios directory from normal operations if you...

dffcb71c 10/30/2009 03:39 pm Mark McLoughlin

build: add CONFIG_LINUX

So I can add a tap-linux.c and use CONFIG_LINUX to pull it in
in Makefile

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

e1144d00 10/30/2009 03:39 pm Mark McLoughlin

net: move net-queue.[ch] under net/

[v2: handle building in a separate dir]

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

102251a4 10/21/2009 09:36 pm Anthony Liguori

Merge commit 'linux-user/linux-user-for-upstream' into staging

747bbdf7 10/18/2009 07:26 pm Blue Swirl

Suppress warnings about 'warn_unused_result' attribute directive

Signed-off-by: Blue Swirl <>

d0927938 10/15/2009 11:55 pm Ulrich Hecht

implementations of dup3 and fallocate that are good enough to fool LTP

updated fallocate check to new configure, added dup3 check as suggested
by Jan-Simon Möller.

Riku: updated to apply to current git.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

a91b857c 10/15/2009 12:57 am malc

configure: clean temporary executable files even on Windows

Signed-off-by: malc <>

f514f41c 10/11/2009 10:31 pm Stefan Weil

Fix bswap in comment

Replace bsawp -> bswap.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

02d5467e 10/11/2009 04:08 pm malc

Move dependency generation falgs out of configure

Signed-off-by: malc <>

868dc0b4 10/11/2009 06:57 am malc

configure: clean up temporary dependency files

Signed-off-by: malc <>

d5631638 10/10/2009 12:18 am malc

Windows Waveform Audio driver (no ADC support yet)

Signed-off-by: malc <>

3aa3dcff 10/09/2009 05:17 am Luiz Capitulino

Introduce QList unit-tests

This suite contains tests to assure that QList API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qlist

Patchworks-ID: 35333...

3d0f1517 10/09/2009 05:17 am Juan Quintela

Generate gdbstub-xml.c only when needed

First user of new config-devices.mak

Patchworks-ID: 35198
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1f3d3c8f 10/09/2009 05:17 am Juan Quintela

Add new config-devices.mak for each target

We generate config-devices.h from there automatically.
We need to do it in main Makefile, because we are going to need a main
Makefile for them.

Patchworks-ID: 35196
Signed-off-by: Juan Quintela <>...

91880d96 10/09/2009 05:17 am Juan Quintela

Move generation of config-target.h to Makefile from configure

Patchworks-ID: 35194
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1215c6e7 10/09/2009 05:17 am Juan Quintela

Move generation of config-host.h to Makefile from configure

Use timestamp based appreach to avoid not needed recompilation.
Add it to rules.mak

Many thanks to Paolo Bonzini for helpding the design, and the debug.

Patchworks-ID: 35190
Signed-off-by: Juan Quintela <>...

25be210f 10/09/2009 05:17 am Juan Quintela

Rename config.{h, mak} config-target.{h, mak}

Add config.h file that includes config-target.h and config-host.h

Patchworks-ID: 35193
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

deed3ccf 10/09/2009 05:17 am Juan Quintela

Don't include config-host.mak from inside config.mak

Include it directly in Makefile.target

Patchworks-ID: 35189
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ae7489cb 10/06/2009 10:46 pm Juan Quintela

AIOLIBS is not used anywhere

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b6e31c12 10/05/2009 05:32 pm Juan Quintela

slirp: It needs to use QEMU_CFLAGS not CFLAGS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a316e378 10/05/2009 05:32 pm Juan Quintela

Add Wold-style* flags

This time, I add them in configure only if target compiler supports it

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ee682d27 10/04/2009 02:24 pm Stefan Weil

Check availability of uuid header / library

If available, the Universally Unique Identifier library
is used by the vdi block driver.

Other parts of QEMU (vl.c) could also use it.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

fa58948d 10/02/2009 10:38 pm Blue Swirl

Use GNU ld to link roms on OpenSolaris

OpenSolaris ld seems to miss the equivalent of GNU ld's "-Ttext 0".

Signed-off-by: Blue Swirl <>

add16157 09/27/2009 07:26 pm Blue Swirl

Compile some user files only once for all targets

Signed-off-by: Blue Swirl <>

b461cdc9 09/27/2009 05:35 pm Blue Swirl

Don't compile roms if not building system targets

Signed-off-by: Blue Swirl <>

5f6b9e8f 09/20/2009 09:56 am Blue Swirl

Probe for fdatasync()

Signed-off-by: Blue Swirl <>

e5934d33 09/16/2009 08:57 pm Andre Przywara

fix typo in configure --help

Signed-off-by: Andre Przywara <>
Signed-off-by: Aurelien Jarno <>

9332f6a2 09/13/2009 10:42 pm Sebastian Herbszt

configure: change "found" to "find"

Change "ERROR: configure was not able to found it" to
"ERROR: configure was not able to find it".

Signed-off-by: Sebastian Herbszt <>
Signed-off-by: Blue Swirl <>

50108930 09/13/2009 10:38 pm Blue Swirl

Revert "Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca"

This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae.

Signed-off-by: Blue Swirl <>

91b40c5b 09/13/2009 04:33 pm Blue Swirl

Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca

While i386, x86_64 and Sparc64/OpenBSD still worked after
df70204db53e3611af986f434e74a882bce190ca, Sparc32 and Sparc64 Linux hosts
broke.

Partially revert the commit: make the restored code conditional to...

34005a00 09/12/2009 04:17 pm Kirill A. Shutemov

Add configure option to compile user targets as PIE

Build uset targers as true PIE if user want to keep qemu
self-virtualizable.

v5:
- Split into to patches: drop link hack and add PIE support
- do not build PIE by default and drop toolchain check

v4:...

df70204d 09/12/2009 04:15 pm Kirill A. Shutemov

Fix text relocations in linux-user targets

There is a link hack in linux-user which produces an executable that
looks like PIE, but always has text relocations since all object files
isn't position-independent (compiled without -fpic/-fpie). Dynamic loader...

5791f45b 09/12/2009 04:14 pm Kirill A. Shutemov

Do not link usermode targets with libhw*.a

Usermode targets are hardware-independed.

Signed-off-by: Kirill A. Shutemov <>
Acked-by: Juan Quintela <>
Signed-off-by: Blue Swirl <>

d741429a 09/12/2009 03:36 pm Blue Swirl

Add #defines needed by OpenSolaris, fix breakage by the #defines

We need to define XOPEN_SOURCE and EXTENSIONS macros in order to get
CMSG
and TIOCWIN macros defined. But then _POSIX_C_SOURCE gets defined, which
is (incorrectly) used as an indicator for existence of posix_memalign() in osdep.c....

31ff504d 09/12/2009 03:33 pm Blue Swirl

Fix OpenSolaris build breaking typos

Signed-off-by: Blue Swirl <>

de5071c5 09/12/2009 12:58 pm Blue Swirl

Fix a Sparse warning about redefinition of offsetof()

Signed-off-by: Blue Swirl <>

3cfcae3c 09/10/2009 01:31 am Luiz Capitulino

configure: fix Linux AIO detection

We should set $linux_aio to 'no' if detection failed, otherwise
its contents will be empty, which is a bug as we test for 'yes'
or 'no'.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

3aefa744 09/10/2009 01:31 am Juan Quintela

fix VNC SASL detection

This test was missing the change to != no.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c32d766a 09/09/2009 10:57 pm Stefan Weil

qemu-io: Improve portability (win32 now supported).

  • Add missing include for struct timeval.
  • Replace non-portable strsep by local qemu_strsep.
  • Use POSIX basename by including libgen.h.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

c34ebfdc 09/04/2009 06:13 pm Anthony Liguori

Bring pcbios, seabios, and vgabios into the tree as git submodules. Right now,
they aren't integrated into the build but we can do that incrementally.

Signed-off-by: Anthony Liguori <>

5de65a07 09/04/2009 05:37 pm Luiz Capitulino

Introduce QString unit-tests

This suite contains tests to assure that QString API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qstring

Signed-off-by: Luiz Capitulino <>...

7b8c51ad 09/04/2009 05:37 pm Luiz Capitulino

Introduce QDict unit-tests

This suite contains tests to assure that QDict API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qdict

Signed-off-by: Luiz Capitulino <>...

5495ed11 09/04/2009 05:37 pm Luiz Capitulino

Add check support

Check is a unit testing framework for C.

All the QObjects have unit-tests and more will be written for the
future data types.

More info about check can be found at:

http://check.sourceforge.net/

Signed-off-by: Luiz Capitulino <>...

33837ba6 09/04/2009 05:37 pm Luiz Capitulino

Introduce QInt unit-tests

This suite contains tests to assure that QInt API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qint

Signed-off-by: Luiz Capitulino <>...

3737c054 08/28/2009 04:55 am Anthony Liguori

Merge commit 'linux-user/linux-user-for-upstream' into staging

4617e593 08/28/2009 04:47 am Anthony Liguori

Relax pthreads check to avoid win32

Signed-off-by: Anthony Liguori <>

59f2a787 08/28/2009 04:46 am Gerd Hoffmann

ide: move code to hw/ide/

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

5c6c3a6c 08/28/2009 04:30 am Christoph Hellwig

raw-posix: add Linux native AIO support

Now that do have a nicer interface to work against we can add Linux native
AIO support. It's an extremly thing layer just setting up an iocb for
the io_submit system call in the submission path, and registering an...

2df87df7 08/28/2009 03:33 am Juan Quintela

Add fdt to new feature convention

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

fc321b4b 08/28/2009 03:33 am Juan Quintela

Add xen to new feature convention

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b31a0277 08/28/2009 03:33 am Juan Quintela

Add kvm to new feature convention

Extra error message is only given if --enable-kvm was given

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

dfffc653 08/28/2009 03:33 am Juan Quintela

Add sparse to new feature convention

Once there, move to a proper test to see if we are going to use it or not

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a25dba17 08/28/2009 03:33 am Juan Quintela

Rename build_docs to docs

All other features are named foo and enabled with --enable-foo.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c4198157 08/28/2009 03:33 am Juan Quintela

Add sdl to new feature convention

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1be10ad2 08/28/2009 03:33 am Juan Quintela

Add vnc_tls to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ea784e3b 08/28/2009 03:33 am Juan Quintela

Add vnc_sasl to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c584a6d0 08/28/2009 03:33 am Juan Quintela

Add curses to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

788c8196 08/28/2009 03:33 am Juan Quintela

Add curl to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b0a47e79 08/28/2009 03:33 am Juan Quintela

Add nptl to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a20a6f46 08/28/2009 03:33 am Juan Quintela

Add bluez to new feature convencion

Once there, remove extra check for package and output if bluez was found or not as the other features

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

83a3ab8b 08/28/2009 03:33 am Juan Quintela

Add build_docs to new feature convention

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

576edbfa 08/28/2009 03:33 am Juan Quintela

Make vnc configure options less verbose.

Rest of libraries don't print themselves

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4f78ef9a 08/28/2009 03:33 am Juan Quintela

Use the same structure for list of libs in curses and pthread

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e2d52ad3 08/28/2009 03:33 am Juan Quintela

Add feature configure help

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

249247c9 08/28/2009 03:33 am Juan Quintela

Add error message for feature not found

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4ffcedb6 08/28/2009 03:33 am Juan Quintela

Add brlapi to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

dfb278bd 08/28/2009 03:33 am Juan Quintela

Add vde to new feature convencion

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c2882b96 08/25/2009 05:15 pm Riku Voipio

linux-user: add eventfd support

Straightforward implementation. This syscall is rare enough that we
don't need to support the odder cases, just disable it if host glibc
is too old.

Signed-off-by: Riku Voipio <>

4dd75c70 08/24/2009 04:46 pm Christoph Hellwig

make pthreads mandatory

As requested by Anthony make pthreads mandatory. This means we will always
have AIO available on posix hosts, and it will also allow enabling the I/O
thread unconditionally once it's ready.

Signed-off-by: Christoph Hellwig <>...

4a1418e0 08/24/2009 04:02 pm Anthony Liguori

Unbreak large mem support by removing kqemu

kqemu introduces a number of restrictions on the i386 target. The worst is that
it prevents large memory from working in the default build.

Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...

0953a80f 08/24/2009 04:01 pm Zachary Amsden

Add a configure switch to enable / disable all user targets. I felt compelled to do it for symmetry, mostly it is useful to disable user targets when you don't want to build them.

Signed-off-by: Zachary Amsden <>
Signed-off-by: Anthony Liguori <>

aa0cba4a 08/13/2009 05:41 am malc

Third attempt to invoke create_config properly

Second attempt failed due to $_ not being standard and as such it's
interpretation by certain shells when they were symlinked to /bin/sh
and invoked as such led to unpredictable results. So instead of trying...

971c47cc 08/11/2009 10:15 pm malc

Do not use $SHELL to invoke our scripts

http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html

<quote>
SHELL
A pathname of the user's preferred command language
interpreter. If this interpreter does not conform to the XSI Shell
Command Language in the XCU specification, Shell Command Language,...

f622d8a3 08/10/2009 09:05 pm Juan Quintela

convert gprof flags to style of rest of Makefile

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

f14bfdf9 08/10/2009 09:05 pm Juan Quintela

Move libsunpath to use the same style than everything else

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

f0302935 08/10/2009 09:05 pm Juan Quintela

CURL libs are used both by tools and softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

7973f21c 08/10/2009 09:05 pm Juan Quintela

Add cocoa libs at Darwin selection time

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id:

8e02e54c 08/10/2009 09:05 pm Juan Quintela

VDE libs are used both by tools and softmmu

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>
Message-Id: