Statistics
| Branch: | Revision:

root / configure @ 1e5b9d2f

History | View | Annotate | Download (64.3 kB)

# Date Author Comment
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:

55d9c04b 08/10/2009 09:05 pm Juan Quintela

Consolidate audio flags in configure

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

053dd92e 08/10/2009 09:05 pm Juan Quintela

We also need TARGET_<arechname> in Makefiles

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

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

Disable aio in mingw32

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

3e2e0e6b 08/10/2009 09:05 pm Juan Quintela

Add libs_tools support

Libraries used by qemu-<tools>

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:

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

Move dis-* selection to configure

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

4de67f2f 08/10/2009 09:05 pm Juan Quintela

Make slirp include dir globlal in cflags

We already include it everywhere

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

67f86e8e 08/10/2009 09:05 pm Juan Quintela

Generate CONFIG_AUDIO_PT_INT in configure

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

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

Fold TARGET_GPROF handling in configure

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

57ddfbf7 08/10/2009 09:05 pm Juan Quintela

Generate more conmmon CFLAGS

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

471857dd 08/10/2009 09:05 pm Juan Quintela

Added CONFIG_NEED_MMU for microblaze and cris

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

9b8e111f 08/10/2009 09:05 pm Juan Quintela

fix typo, there should be bsd_user there

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

6ee7126f 08/10/2009 09:05 pm Juan Quintela

Move alpha CFLAGS target to configure

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

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

Move ia64 QEMU_CFLAGS target to configure

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

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

Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target

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

07dac55d 08/10/2009 09:05 pm Juan Quintela

permit to add things to LDFLAGS for target

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

322e5878 08/10/2009 09:05 pm Juan Quintela

refactor linker_script common part and change quoting

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

4afddb55 08/10/2009 09:05 pm Juan Quintela

permit to add things to CFLAGS per target

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

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

Fold VNC_TLS_LIBS into libs_softmmu

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

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

Fold VNC_SASL_LIBS into libs_softmmu

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

3efd632b 08/10/2009 09:05 pm Juan Quintela

Fold XEN_LIBS into libs_softmmu

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

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

Fold BLUEZ_LIBS into libs_softmmu

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

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

Fold FDT_LIBS into libs_softmmu

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

264606b3 08/10/2009 09:05 pm Juan Quintela

Fold BRLAPI_LIBS into libs_softmmu

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