Statistics
| Branch: | Revision:

root / configure @ d7dd65ba

History | View | Annotate | Download (100.3 kB)

# Date Author Comment
c00b2808 04/24/2012 05:50 pm Eduardo Habkost

configure: rename $datadir to $qemu_datadir

The variable is used for the qemu-specific directory and has a different
meaning of the autoconf "datadir" variable (that's used for the
$prefix/share directory, not for $prefix/share/PACKAGE).

This doesn't change behavior or interfaces, it's just an internal...

850da188 04/24/2012 05:50 pm Eduardo Habkost

configure: rename $docdir to $qemu_docdir

The autoconf "docdir" variable is used for the program-specific
subdirectory, but anyway it's better to make it clear that the variable
is used for the qemu-specific subdirectory path.

Signed-off-by: Eduardo Habkost <>...

10ea68b3 04/24/2012 05:50 pm Eduardo Habkost

configure: rename $confdir to $qemu_confdir

There's no "confdir" variable on Autoconf, but it's good to make it
clear that it's a variable for the Qemu-specific subdirectory inside
$sysconfdir.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Anthony Liguori <>

6aae2a2e 04/24/2012 05:50 pm Eduardo Habkost

config-host.mak: rename datadir to qemu_datadir

Autoconf concept of "datadir" is supposed to be "$prefix/share", not
"$prefix/share/PACKAGE", so using datadir for the Qemu-specific
directory is confusing.

The current C code that uses CONFIG_QEMU_DATADIR should be safe, as now...

22d07038 04/24/2012 05:50 pm Eduardo Habkost

config-host.mak: rename confdir to qemu_confdir

$confdir is a confusing name, as it's not clear if it's "the system
config dir" or "the Qemus-specific directory inside the config dir".
$qemu_confdir makes it more clear.

The current C code that uses CONFIG_QEMU_CONFDIR should be safe, as now...

d7dd65ba 04/24/2012 05:50 pm Eduardo Habkost

config-host.mak: rename docdir to qemu_docdir

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Anthony Liguori <>

53878a13 04/23/2012 05:58 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/build_fix' into staging

  • sstabellini/build_fix:
    xen: add a dummy xc_hvm_inject_msi for Xen < 4.2
    xen,configure: detect Xen 4.2
650ab98d 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Rewrite infrastructure as python modules

The tracetool script is written in shell and has hit several portability
problems due to shell quirks or external tools across host platforms.
Additionally the amount of string processing and lack of real data...

8688e065 04/17/2012 09:04 pm Stefano Stabellini

xen,configure: detect Xen 4.2

Xen 4.2 is the first to support xc_hvm_inject_msi: use it to determine
if we are running on it.

Signed-off-by: Stefano Stabellini <>
Acked-by: Anthony PERARD <>

a394aed2 04/17/2012 03:57 pm Marc-André Lureau

configure: pa_simple is not needed anymore

Signed-off-by: Marc-Andr? Lureau <>
Signed-off-by: malc <>

6ccea1e4 04/13/2012 12:01 pm Peter Maydell

configure: Insist on a Python 2, not Python 3

Our Python scripts require Python 2 and will fail on Python 3, eg:
File "/home/petmay01/linaro/qemu-from-laptop/qemu/scripts/qapi-commands.py", line 378
except getopt.GetoptError, err:
^...

8fb03151 04/12/2012 11:51 am Peter Maydell

configure: Remove useless uses of ARCH_CFLAGS

Remove some useless uses of ARCH_CFLAGS -- this variable was never set
so will always be empty. The uses were accidental: in commit 0c439cbf8
Juan Quintela removed ARCH_CFLAGS in favour of CFLAGS (which in turn...

e172fe11 04/12/2012 11:51 am Stefan Weil

configure: Fix wrong preprocessor statement

#abort is not a preprocessor statement. It aborts, but the preprocessor
statement #error is more common to abort a compilation.

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

72fe3aae 04/10/2012 04:10 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    make: fix clean rule by removing build file in qom/
    configure: Link qga against UST tracing related libraries
    configure: Link QEMU against 'liburcu-bp'...
c5ec15ea 04/07/2012 04:58 pm Stefan Weil

Replace Qemu by QEMU in w32 installation path (prefix)

The official spelling is QEMU.

Signed-off-by: Stefan Weil <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

a52d28af 04/07/2012 01:04 pm Paolo Bonzini

configure: require glib 2.12, 2.20 for mingw32

These are pretty sane requirements to move forward with glib usage.
2.12 is the version found in RHEL/CentOS 5, and 2.20 is the
first version to support g_poll. Without g_poll, we cannot
integrate well with the glib main loop....

c9a2e37c 04/03/2012 11:49 am Lluís Vilanova

configure: Link qga against UST tracing related libraries

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

94b4fefa 04/03/2012 11:47 am Lluís Vilanova

configure: Link QEMU against 'liburcu-bp'

This library is needed when using 'ust/tracepoint.h'.

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

368542b8 04/03/2012 11:34 am Stefan Hajnoczi

configure: fix mingw32 libs_qga typo

It's typical to prepend or append parameters to an argument string so
that other places in ./configure can add parameters without clobbering
the string. In the mingw32 libs_qga case there is a typo "$lib_qga"
instead of "$libs_qga"....

79368f49 04/01/2012 09:30 pm Michael Walle

target-lm32: add simple disassembler

Because binutils disassembler is based on libopcode, this is a rewrite from
scratch.

Signed-off-by: Michael Walle <>

927b241d 03/31/2012 08:56 pm Michael Walle

tests: fix out-of-tree building for lm32 target

Signed-off-by: Michael Walle <>

94dd53c5 03/31/2012 03:04 pm Gerd Hoffmann

buildfix: check for old pod2man versions

Older pod2man don't have a --utf8 switch, check for this in conffigure
and use it only when present. Fixes build on RHEL-5.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

bb55b712 03/31/2012 03:03 pm Stefan Weil

Fix conversion from lower to upper case with Turkish locale

Some locale settings let make fail or create wrong results
because tr '[:lower:]' '[:upper:]' which is used to convert
from lower to upper case depends on the locale.

With locale tr_TR.UTF-8, lower case 'i' is not converted to 'I'....

c3082755 03/24/2012 07:07 pm Richard Henderson

target-alpha: Move memory helpers to mem_helper.c.

This completes the transition away from AREG0. This patch must
be last because it requires CONFIG_TCG_PASS_AREG0 set too.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

0184e266 03/18/2012 02:22 pm Blue Swirl

Sparc: avoid AREG0 wrappers for memory access helpers

Adjust generation of load and store templates so that the functions
take a parameter for CPUState instead of relying on global env.

Remove wrappers. Move remaining memory helpers to ldst_helper.c.

Signed-off-by: Blue Swirl <>

dd83b06a 03/14/2012 11:20 pm Andreas Färber

qom: Introduce CPU class

Reintroduce CPUState as QOM object: It's abstract and derived directly
from TYPE_OBJECT for compatibility with the user emulators.
The identifier CPUState avoids conflicts between CPU and the struct.

Introduce $(qom-twice-y) to build it separately for system and for user...

f1ae32a1 03/13/2012 11:15 am Gerd Hoffmann

usb: the big rename

Reorganize usb source files. Create a new hw/usb/ directory and move
all usb source code to that place. Also make filenames a bit more
descriptive. Host adapters are prefixed with "hch-" now, usb device
emulations are prefixed with "dev-". Fixup paths Makefile and include...

cb72b758 03/13/2012 03:52 am Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-3-12-2012' into staging

  • mdroth/qga-pull-3-12-2012:
    qemu-ga: add guest-sync-delimited
    qemu-ga: add guest-network-get-interfaces command
    qemu-ga: add win32 guest-suspend-ram command
    qemu-ga: add win32 guest-suspend-disk command....
aa59637e 03/12/2012 10:09 pm Gal Hammer

qemu-ga: add win32 guest-suspend-disk command.

Implement guest-suspend-disk RPC for Windows. Functionally this should be
equivalent to the posix implementation.

Signed-off-by: Gal Hammer <>

519175a2 03/12/2012 04:14 pm Alex Barcelo

coroutine: adding configure choose mechanism for coroutine backend

Configure tries, as a default, ucontext functions for the
coroutines. But now the user can force another backend by
--with-coroutine=BACKEND option

v2: Using --with-coroutine=BACKEND instead of enable...

fe91bfa8 03/12/2012 04:14 pm Alex Barcelo

coroutine: adding configure option for sigaltstack coroutine backend

It's possible to use sigaltstack backend with --with-coroutine=sigaltstack

v2: changed from enable/disable configure flags

Signed-off-by: Alex Barcelo <>
Signed-off-by: Kevin Wolf <>

f7cf5d5b 03/11/2012 01:28 pm Stefan Weil

configure: Test for libiberty.a (mingw32)

MinGW-w64 and some versions of MinGW32 don't provide libiberty.a,
so add this library only if it was found.

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

82246040 03/08/2012 05:22 pm Stefan Weil

osdep: Remove local definition of macro offsetof

The macro offsetof is defined in stddef.h. It is conforming to
the standards C89, C99 and POSIX.1-2001 (see man page), so it
is a sufficiently old standard.

Therefore chances are very high that QEMU never needs a local...

979ae168 03/08/2012 05:22 pm Peter Maydell

configure: Quote the configure args printed in config.log

Use the same mechanism we use for printing the configure command
line to config-host.mak to print it to config.log. This fixes a
bug where the config.log version didn't quote arguments with spaces....

93148aa5 03/08/2012 05:22 pm Stefan Weil

Spelling fixes in comments (it's -> its)

  • it's -> its (fixed for all files)
  • dont -> don't (only fixed in a line which was touched by the previous fix)
  • distrub -> disturb (fixed in the same line)

Reviewed-by: Andreas Färber <>
Signed-off-by: Stefan Weil <>...

5a30d3f1 03/03/2012 07:59 pm Blue Swirl

Merge branch 'upstream' of git://qemu.weilnetz.de/qemu

  • 'upstream' of git://qemu.weilnetz.de/qemu:
    Move definition of HOST_LONG_BITS to qemu-common.h
    target-xtensa: Clean includes
    target-unicore32: Clean includes
    target-sh4: Clean includes
    target-s390x: Clean includes...
412beee6 03/02/2012 01:56 pm Grant Likely

arm: add device tree support

If compiled with CONFIG_FDT, allow user to specify a device tree file using
the -dtb argument. If the machine supports it then the dtb will be loaded
into memory and passed to the kernel on boot.

Signed-off-by: Jeremy Kerr <>...

f06d0f07 02/29/2012 08:54 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v49' into staging

  • spice/spice.v49:
    qxl: properly handle upright and non-shared surfaces
    Error out when tls-channel option is used without TLS
    spice: use error_report to report errors
    qxl: add optinal 64bit vram bar...
5ca2358a 02/29/2012 05:11 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.39' into staging

  • kraxel/usb.39: (21 commits)
    usb: Resolve warnings about unassigned bus on usb device creation
    usb-redir: Return USB_RET_NAK when we've no data for an interrupt endpoint
    usb-redir: Limit return values returned by iso packets...
c0fd260e 02/28/2012 11:33 pm Stefan Weil

Move definition of HOST_LONG_BITS to qemu-common.h

Like the related macro TCG_TARGET_LONG, HOST_LONG_BITS can be determined
by the C preprocessor. It is also not used in Makefiles.

So there is no need to calculate it in configure, and it can be defined
in qemu-common.h....

b55c952a 02/27/2012 07:19 pm Anthony Liguori

Merge remote-tracking branch 'aneesh/for-upstream' into staging

  • aneesh/for-upstream:
    hw/9pfs: Endian fixes for virtfs
    ./configure: add option for disabling VirtFS
097a66ef 02/27/2012 02:37 pm Hans de Goede

usb-redir: Let the usb-host know about our device filtering

libusbredirparser-0.3.4 adds 2 new packets which allows us to notify
the usb-host:
-about the usb device filter we have (if any), so that it knows not the even
try to redirect certain devices
-when we reject a device based on filtering (in case it tries anyways)...

8c741c22 02/27/2012 02:37 pm Alon Levy

libcacard: link with glib for g_strndup

Without it the produced library for make libcacard.la has an unresolved
symbol.

Signed-off-by: Alon Levy <>
Signed-off-by: Gerd Hoffmann <>

4295e15a 02/27/2012 10:46 am Alon Levy

qxl: require spice >= 0.8.2

drop all ifdefs on SPICE_INTERFACE_QXL_MINOR >= 1 as a result,
any check for SPICE_SERVER_VERSION that is now always satisfied,
and SPICE_INTERFACE_CORE_MINOR >= 3 tests, because
0.8.2 has SPICE_INTERFACE_QXL_MINOR 1 and
SPICE_INTERFACE_CORE_MINOR 3....

cdf84806 02/24/2012 09:36 pm Peter Maydell

configure: Check whether makecontext() is a glibc stub function

On some systems (notably ARM Linux) glibc provides implementations
of makecontext(), getcontext() and friends which are stubs which
always return failure. Make the configure test for makecontext()...

5bc62e01 02/24/2012 09:36 pm Gerd Hoffmann

build: allow turning off debuginfo

This patch adds --{enable,disable}-debug-info switches to configure
which allows to include/exclude the '-g' switch on the gcc & ld
command lines. Not building debug info reduces ressource usage
(especially disk) alot and is quite useful for test builds....

983eef5a 02/24/2012 10:30 am Meador Inge

./configure: add option for disabling VirtFS

Signed-off-by: Meador Inge <>
Signed-off-by: Aneesh Kumar K.V <>

d8ca685a 02/23/2012 11:40 pm Michael Roth

qemu-ga: fixes for win32 build of qemu-ga

Various stubs and #ifdefs to compile for Windows using mingw
cross-build. Still has 1 linker error due to a dependency on the
forthcoming win32 versions of the GAChannel/transport class.

ad4cf3f6 02/17/2012 05:58 pm Paul Brook

libcacard configure fixes

libcacard is only used by system emulation.
Only define libcacard_libs/cflags once.

Signed-off-by: Paul Brook <>
Signed-off-by: Anthony Liguori <>

4dcc3f58 02/17/2012 05:58 pm Brad Smith

configure: Remove OpenBSD workaround for curses probe

Remove the OpenBSD workaround for the curses probe. This has not been
necessary for 5 releases now.

Signed-off-by: Brad Smith <>
Signed-off-by: Anthony Liguori <>

6af16589 02/10/2012 12:12 pm Hans de Goede

usb-redir: Add the posibility to filter out certain devices from redirecion

This patch adds the posibility to filter out certain devices from redirecion.
To use this pass the filter property to -device usb-redir. The filter
property takes a string consisting of filter rules, the format for a rule is:...

a7c36ee4 02/02/2012 12:24 am Corey Bryant

Add support for net bridge

The most common use of -net tap is to connect a tap device to a bridge. This
requires the use of a script and running qemu as root in order to allocate a
tap device to pass to the script.

This model is great for portability and flexibility but it's incredibly...

47e98658 02/02/2012 12:24 am Corey Bryant

Add cap reduction support to enable use as SUID

The ideal way to use qemu-bridge-helper is to give it an fscap of using:

setcap cap_net_admin=ep qemu-bridge-helper

Unfortunately, most distros still do not have a mechanism to package files
with fscaps applied. This means they'll have to SUID the qemu-bridge-helper...

7b93fadf 02/02/2012 12:24 am Corey Bryant

Add basic version of bridge helper

This patch adds a helper that can be used to create a tap device attached to
a bridge device. Since this helper is minimal in what it does, it can be
given CAP_NET_ADMIN which allows qemu to avoid running as root while still...

17884d7b 02/01/2012 10:42 pm Sergei Trofimovich

./configure: request pkg-config to provide private libs when static linking

Added wrapper around pkg-config to allow:
- safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
- spaces in path to pkg-config

Signed-off-by: Sergei Trofimovich <>...

5f01e06f 02/01/2012 10:42 pm Sergei Trofimovich

./configure: add link check for nss-smartcard

Current './configure --static && make' fails for me:

LINK  qemu-nbd
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssl3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsmime3...
2f28d2ff 01/27/2012 06:28 pm Anthony Liguori

qom: add the base Object class (v2)

This class provides the main building block for QEMU Object Model and is
extensively documented in the header file. It is largely inspired by GObject.

Signed-off-by: Anthony Liguori <>
---
v1 -> v2...

8c84cf11 01/27/2012 08:26 am Sergei Trofimovich

./configure: export xfs config via --{enable, disable}-xfsctl

Signed-off-by: Sergei Trofimovich <>
Signed-off-by: Stefan Hajnoczi <>

3b9a6ee5 01/19/2012 01:14 pm Jan Kiszka

kvm: Move kvmclock into hw/kvm folder

More KVM-specific devices will come, so let's start with moving the
kvmclock into a dedicated folder.

Signed-off-by: Jan Kiszka <>

bd947d30 01/13/2012 12:36 pm Stefan Weil

configure: Modify detection of supported warning options

Reversing the order of the warning options and -Werror is important
when clang is used instead of gcc. It changes nothing for gcc.

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

ad65aa88 01/12/2012 06:34 pm Anthony Liguori

test: eliminate libcheck tests and have make check use gtester

Signed-off-by: Anthony Liguori <>

0ac7cc2a 01/12/2012 06:05 pm Anthony Liguori

check-qstring: convert to gtest

Signed-off-by: Anthony Liguori <>

91479dd0 01/12/2012 06:05 pm Anthony Liguori

check-qlist: convert to gtest

Signed-off-by: Anthony Liguori <>

ef76dc59 01/12/2012 06:05 pm Anthony Liguori

check-qjson: convert to gtest

Signed-off-by: Anthony Liguori <>

ac531cb6 01/12/2012 06:05 pm Anthony Liguori

check-qdict: convert to gtest

Signed-off-by: Anthony Liguori <>

a9e1c28d 01/12/2012 06:05 pm Anthony Liguori

check-qfloat: convert to gtest

Signed-off-by: Anthony Liguori <>

65cdadd2 01/12/2012 06:05 pm Anthony Liguori

check-qint: convert to gtest

Signed-off-by: Anthony Liguori <>

c09015dd 01/12/2012 06:03 pm Anthony Liguori

tests: mv tests/* -> tests/tcg

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

a2e4d53e 01/06/2012 08:51 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    qemu-nbd: drop loop which can never loop
    Make python mandatory
    net/socket.c: Fix fd leak in net_socket_listen_init() error paths
    gdbstub: Fix fd leak in gdbserver_open() error path...
7a3fc891 01/06/2012 05:07 pm Sebastian Herbszt

Make python mandatory

The QEMU build depends on Python so make it an explicit requirement.

Reviewed-by: Stefan Weil <>
Signed-off-by: Sebastian Herbszt <>
Signed-off-by: Stefan Hajnoczi <>

a2c80be9 01/06/2012 05:07 pm Stefan Weil

configure: CONFIG_QEMU_INTERP_PREFIX only for user mode

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

359bc95d 01/06/2012 05:07 pm Peter Maydell

configure: Fix test for supported host CPU type

The test for whether the host CPU is supported had several problems: * the attempt to fall back to TCI was done as a duplicate
test, very late (so "--cpu foo" would fail early but "--cpu unicore32"
would fail late, differently, and after configure had already...

17bff52b 01/04/2012 04:44 pm M. Mohan Kumar

hw/9pfs: File system helper process for qemu 9p proxy FS

Provide root privilege access to QEMU 9p proxy filesystem using socket
communication.

Proxy helper is started by root user as:
~ # virtfs-proxy-helper -f|--fd <socket descriptor> -p|--path <path-to-share>...

55cc7f3e 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warning in config.log (value was never used)

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

84972cbb 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warnings in config.log (statement without effect)

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

50ced5b3 12/19/2011 01:03 pm Stefan Weil

configure: Improve Xen autodetection for hosts without Xen

With this patch, it only takes one test (instead of four)
to detect that there is no Xen support at all.

For most build hosts, this will reduce the time configure needs.
It will also reduce noisy output in config.log....

75cafad7 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warnings in config.log (always return a value from main)

Fix several "warning: control reaches end of non-void function".

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

182eacc0 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warnings in config.log (old-style function definition)

warning: function declaration isn’t a prototype
In function ‘foo’:
warning: old-style function definition

The function name was changed, too, to avoid an additional warning.
...

ef9a2524 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warning in config.log (integer from pointer)

warning: return makes integer from pointer without a cast

v2: Removed type cast.

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

7a42bbe4 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warnings in config.log (null arguments)

warning: null argument where non-null required (argument 1)
warning: null argument where non-null required (argument 3)

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

f91f9bee 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warning in config.log (unused variable)

warning: unused variable ‘iov’

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

ed054def 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warning in config.log (macro redefined)

warning: "_GNU_SOURCE" redefined

The macro is already defined on the command line.

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

66ea0f22 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warnings in config.log (uninitialized variable)

warning: ‘fd’ is used uninitialized in this function
warning: ‘id’ is used uninitialized in this function

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

ffc41d10 12/19/2011 01:03 pm Stefan Weil

configure: Fix compiler warning in config.log (undefined NULL)

Avoid the warning when probing for xfs.

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

9423a2e8 12/14/2011 03:59 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging

9bf4896e 12/12/2011 06:08 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

946fc459 12/10/2011 07:04 pm Stefan Weil

w32: QEMU applications with SDL are always GUI applications

Since commit 1d14ffa97eacd3cb722271eaf6f093038396eac4 (in 2005),
QEMU applications on W32 don't use the default SDL compiler flags:

Instead of a GUI application, a console application is created....

f9db31a2 12/10/2011 07:04 pm Brad

configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

Enable build by default PIE / read-only relocation sections for the QEMU
binaries on OpenBSD amd64/i386.

Signed-off-by: Brad Smith <>
Signed-off-by: Blue Swirl <>

4ec0263e 12/06/2011 03:40 pm Luiz Capitulino

configure: Don't mix glib and libcheck tests

test-coroutine is listed as a libcheck test in the 'checks' variable. This
is not right because 'make check' won't run test-coroutine if libcheck
tests are not enabled (either because libcheck isn't detected or because...

f294f82a 12/06/2011 03:40 pm Luiz Capitulino

Introduce test-qmp-output-visitor

Contains unit-tests for the QMP output visitor implementation.

Signed-off-by: Luiz Capitulino <>

d88f5fd1 12/06/2011 03:40 pm Luiz Capitulino

Introduce test-qmp-input-visitor

Contains unit-tests for the QMP input visitor implementation.

Signed-off-by: Luiz Capitulino <>

b48e3611 12/06/2011 11:56 am Peter Maydell

configure: Print a banner comment at the top of config.log

Print a banner comment at the top of config.log identifying
when configure was run and the arguments used. This is occasionally
useful for debugging purposes.

Signed-off-by: Peter Maydell <>...

6efd7517 12/06/2011 11:56 am Peter Maydell

configure: Pull linux-headers/asm symlink creation out of loop

Pull the creation of the linux-headers/asm symlink out of the loop
so we don't pointlessly delete and recreate it once for each target.
Also move the setting of the includes variable up so that it is...

fd786e1a 12/06/2011 11:56 am Peter Maydell

configure: Include #define name in check_define compiler error

Include the name of the #define being tested for in the compiler
error produced when a check_define test is run and fails. This
appears only in the config.log, but it does make it a little easier...

21d89f84 12/05/2011 10:38 pm Peter Maydell

configure: Drop armv4l/armv4b distinction in $cpu

Drop the distinction between armv4l/armv4b in the $cpu variable
(ie host cpu type) in favour of calling everything 'arm'. This
makes it the same as the ARCH setting and removes some special
casing. The only thing we were using the distinction for was to...

023ddd74 11/29/2011 12:20 am Max Filippov

configure: avoid screening of --{en, dis}able-usb-redir options

--*dir) option pattern precede --{en,dis}able-usb-redir) patterns in the
option analysis switch, making the latter options have no effect.

There were some --*dir that are supported by Autoconf and not by QEMU configure....

21d4a791 11/29/2011 12:20 am Avi Kivity

configure: tighten pie toolchain support test for tls variables

Some toolchains don't support pie properly when tls variables are
in use. Disallow pie when such toolchains are detected.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

40d6444e 11/21/2011 11:05 pm Avi Kivity

configure: build position independent executables on x86-Linux hosts

Change the default on x86 Linux hosts to building PIE (position
independent executables); instead of restricting the option to
user-only targets, apply it to all targets.

In addition, set the relocation sections to read-only (relro) when...

3439eec3 11/21/2011 11:05 pm Max Filippov

configure: check for EFD_NONBLOCK | EFD_CLOEXEC flags

Add check for the EFD_NONBLOCK and EFD_CLOEXEC flags to the
CONFIG_EVENTFD test.
This fixes the following build failure on Fedora 9:

CC    event_notifier.o
event_notifier.c: In function `event_notifier_init':...
f2338fb4 11/11/2011 08:49 pm Pavel Borzenkov

configure: Do not use 'sed -i'

'sed -i' is not defined in POSIX. It doesn't work on Mac OS X the way
it's used in configure (without suffix argument). This patch implements
Peter Maydell's idea of xattr.h detection.

Cc: Peter Maydell <>...