Statistics
| Branch: | Revision:

root / configure @ c28fa5a0

History | View | Annotate | Download (106.9 kB)

# Date Author Comment
42da6041 11/14/2012 01:59 pm Gerd Hoffmann

pixman: set --host for cross builds

Set --host when calling pixman configure while doing cross builds so
pixman's autoconf picks up the cross build tools correctly.

Signed-off-by: Gerd Hoffmann <>

5ca9388a 11/14/2012 01:39 pm Gerd Hoffmann

pixman: add output dir to include path

Needed to make sure the (generated) pixman-version.h file is found.
Based on a patch from Blue Swirl.

Signed-off-by: Gerd Hoffmann <>

ed224a56 11/03/2012 06:17 pm malc

tcg/ppc: ld/st optimization

Signed-off-by: malc <>

32761257 11/03/2012 11:44 am Yeongkyoon Lee

configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization

Enable CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization only when
a host is i386 or x86_64.

Signed-off-by: Yeongkyoon Lee <>
Signed-off-by: Blue Swirl <>

de0a36cd 11/01/2012 09:34 pm Anthony Liguori

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

  • kraxel/usb.69: (31 commits)
    usb-redir: Allow redirecting super speed devices to high speed controllers
    usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller
    usb-redir: Use reject rather the disconnect on bad ep info...
c19a7981 11/01/2012 04:17 pm Hans de Goede

usb-redir: Add support for 32 bits bulk packet length

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

e2134eb9 11/01/2012 02:59 pm Gerd Hoffmann

pixman: windup in configure & makefiles

Signed-off-by: Gerd Hoffmann <>

a1d29d6c 10/30/2012 08:52 pm Peter Maydell

configure: use -Wwombat to test whether gcc recognizes -Wno-wombat

gcc will silently accept unrecognized -Wno-wombat warning suppression
options (it only mentions them if it has to print a compiler warning
for some other reason). Since we already run a check for whether gcc...

1e9737da 10/28/2012 03:54 pm Richard Henderson

qemu-timer: Check for usable fields for SIGEV_THREAD_ID

Older glibc (RHEL 5.x, Debian 5.x) does not have the _sigev_un._tid
member in its structure definition, while the accompanying kernel
headers do define SIGEV_THREAD_ID. We need configure to check for...

9bca8162 10/27/2012 05:21 pm Bruce Rogers

configure: avoid compiler warning in pipe2 detection

When building qemu-kvm for openSUSE:Factory, I am getting a
warning in the pipe2 detection performed by configure, which
prevents using --enable-werror.

Change detection code to use return value of pipe2....

c1556a81 10/27/2012 05:20 pm Peter Maydell

configure: Disable (clang) initializer-overrides warnings

Disable clang's initializer-overrides warnings, as QEMU makes significant
use of the pattern of initializing an array with a range-based default
entry like
[0 ... 0x1ff] = { GPIO_NONE, 0 }
followed by specific entries which override that default, and clang...

f354b1a1 10/22/2012 01:33 am Michael Tokarev

fix CONFIG_QEMU_HELPERDIR generation again

commit 38f419f35225 fixed a breakage with CONFIG_QEMU_HELPERDIR
which has been introduced by 8bf188aa18ef7a8. But while techinically
that fix has been correct, all other similar variables are handled
differently. Make it consistent, and let scripts/create_config...

38f419f3 10/19/2012 09:35 pm Jan Kiszka

configure: Fix CONFIG_QEMU_HELPERDIR generation

We need to evaluate $libexecdir in configure, otherwise we literally end
up with "${prefix}/libexec" instead of the absolute path as
CONFIG_QEMU_HELPERDIR.

Signed-off-by: Jan Kiszka <>...

41a05a45 10/19/2012 09:28 pm Aurelien Jarno

Merge branch 'linux-user-for-upstream' of git://git.linaro.org/people/rikuvoipio/qemu

  • 'linux-user-for-upstream' of git://git.linaro.org/people/rikuvoipio/qemu:
    linux-user: register align p{read, write}64
    linux-user: ppc: mark as long long aligned
    tcg: Remove TCG_TARGET_HAS_GUEST_BASE define...
abab1a0f 10/19/2012 11:38 am Stefan Weil

configure: Remove unused parameters from main function

This modification is required if compiler option -Wunused-parameter is activated.

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

5d9619aa 10/12/2012 07:19 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    vnc: fix "info vnc" with "-vnc ..., reverse=on"
    sheepdog: use bool for boolean variables
    configure: Tidy up remnants of non-64-bit physaddrs
453162e1 10/12/2012 05:14 pm Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-10-9-12' into staging

  • mdroth/qga-pull-10-9-12:
    qemu-ga: ga_open_pidfile(): add new line to pidfile
    qemu-ga: use state dir from CONFIG_QEMU_LOCALSTATEDIR
    configure: add --localstatedir
30163d89 10/12/2012 02:26 pm Peter Maydell

configure: Remove unnecessary host_guest_base code

All TCG hosts now support guest-base functionality, so we can
remove the setting of host_guest_base to 'yes' in every arm
of the case "$cpu" statement, and simply set guest_base to
default to 'yes'.

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

1e14afef 10/12/2012 11:47 am Peter Maydell

configure: Tidy up remnants of non-64-bit physaddrs

Tidy up some remnants of code to support non-64-bit physaddrs
which were accidentally omitted from commit 4be403c8.

Signed-off-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

785c23ae 10/09/2012 11:39 am Luiz Capitulino

configure: add --localstatedir

Next commit wants to use it.

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Paolo Bonzini <>
Reviewed-by: Michael Roth <>
Signed-off-by: Michael Roth <>

67be6726 10/08/2012 01:15 pm Gerd Hoffmann

spice: raise requirement to 0.12

With the next qemu version (1.3) we are going to bump the qxl device
revision to 4. The new features available require a recent spice-server
version, so raise up the bar. Otherwise we would end up with different
qxl revisions depending on the spice-server version installed, which...

048d3612 10/06/2012 07:54 pm Aurelien Jarno

Merge branch 'trivial-patches' of git://github.com/stefanha/qemu

  • 'trivial-patches' of git://github.com/stefanha/qemu:
    versatilepb: Use symbolic indices for ARM PIC
    qdev: kill bogus comment
    qemu-barrier: Fix compiler version check for future gcc versions...
c9159fe9 10/06/2012 12:07 am Stefan Weil

Remove libhw

The entries for libhw* are no longer needed in .gitignore.

There is also no longer a difference between common-obj-y and
hw-obj-y, so one of those two macros is sufficient.

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

afb63ebd 10/05/2012 03:00 pm Stefan Weil

configure: Support empty target list (--target-list=)

Specifying an empty target list with --target-list= is shorter
than specifying --disable-user --disable-system.

Both variants should give the same result: no targets at all.

This modification implements that feature....

05d4f2f2 10/05/2012 03:53 am Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony: (30 commits)
    qemu-iotests: add tests for streaming error handling
    qemu-iotests: map underscore to dash in QMP argument names
    blkdebug: process all set_state rules in the old state...
938406df 10/05/2012 03:49 am Anthony Liguori

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

  • kraxel/usb.66:
    usb: Fix usb_packet_map() in the presence of IOMMUs
    usb-redir: Adjust pkg-config check for usbredirparser .pc file rename (v2)
    ehci: Fix interrupt packet MULT handling
    xhci: create a memory region for each port...
4be403c8 10/05/2012 03:46 am Avi Kivity

Make target_phys_addr_t 64 bits unconditionally

The hassle and compile time overhead of maintaining both 32-bit and 64-bit
capable source isn't worth the tiny performance advantage which is seen on
a minority of configurations. Switch to compiling libhw only once, with...

eb100396 09/28/2012 06:58 pm Bharata B Rao

configure: Add a config option for GlusterFS as block backend

GlusterFS support in QEMU depends on libgfapi, libgfrpc and
libgfxdr provided by GlusterFS.

Signed-off-by: Bharata B Rao <>
Signed-off-by: Kevin Wolf <>

8b626aa7 09/26/2012 10:24 am Hans de Goede

usb-redir: Adjust pkg-config check for usbredirparser .pc file rename (v2)

The usbredir 0.5 release introduced the new API for 64 bit packet ids, but
it kept the libusbredirparser.pc name as is, meaning that older versions of
qemu will still have their pkg-config check for usbredirparser fulfilled,...

8bdd3d49 09/26/2012 02:44 am Stefan Weil

configure: Allow builds without any system or user emulation

The old code aborted configure when no emulation target was selected.
Even after removing the 'exit 1', it tried to read from STDIN
when QEMU was configured with

configure' '--disable-user' '--disable-system'...
4c3204cb 09/21/2012 11:02 pm Richard Henderson

tcg-sparc: Clean up cruft stemming from attempts to use global registers.

Don't use -ffixed-gN. Don't link statically. Don't save/restore
AREG0 around calls. Don't allocate space on the stack for AREG0 save.

Signed-off-by: Richard Henderson <>

c6f7e4fb 09/21/2012 11:02 pm Richard Henderson

tcg-sparc: Support GUEST_BASE.

Signed-off-by: Richard Henderson <>

9b9c37c3 09/21/2012 11:02 pm Richard Henderson

tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode.

Current code doesn't actually work in 32-bit mode at all. Since
no one really noticed, drop the complication of v7 and v8 cpus.
Eliminate the --sparc_cpu configure option and standardize macro...

cfb75cb9 09/21/2012 08:53 pm Aurelien Jarno

Merge branch 'usb.65' of git://git.kraxel.org/qemu

  • 'usb.65' of git://git.kraxel.org/qemu:
    uhci: Don't queue up packets after one with the SPD flag set
    usb-redir: Revert usb-redir part of commit 93bfef4c
    usb-redir: Add chardev open / close debug logging...
509e9c46 09/17/2012 06:21 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    configure: fix seccomp check
    arch_init.c: add missing '%' symbols before PRIu64 in debug printfs
    kvm: Fix warning from static code analysis
    qapi: Fix enumeration typo error...
cd6dcc71 09/17/2012 06:21 pm Anthony Liguori

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

  • spice/spice.v60:
    hw/qxl: support client monitor configuration via device
    qxl: add trace-event for QXL_IO_LOG
    hw/qxl: tracing fixes
    qxl: better cleanup for surface destroy
    qxl: Ignore set_client_capabilities pre/post migrate...
121afa9e 09/17/2012 06:18 pm Anthony Liguori

Revert "Add ability to disable build of all targets"

This reverts commit 66d5499b3754b83c09487259c08fe2ce73188a59.

This commit broke --target-list="x86_64-softmmu" and the fix isn't immediatley
obvious.

Signed-off-by: Anthony Liguori <>

89c33337 09/15/2012 08:51 pm Blue Swirl

Remove unused CONFIG_TCG_PASS_AREG0 and dead code

Now that CONFIG_TCG_PASS_AREG0 is enabled for all targets,
remove dead code and support for !CONFIG_TCG_PASS_AREG0 case.

Remove dyngen-exec.h and all references to it. Although included by
hw/spapr_hcall.c, it does not seem to use it....

895c2d04 09/15/2012 08:51 pm Blue Swirl

target-mips: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>
Acked-by: Aurelien Jarno <>

64254eba 09/15/2012 08:44 pm Blue Swirl

target-microblaze: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>

cf7e0c80 09/15/2012 08:44 pm Aurelien Jarno

target-cris: Switch to AREG0 free mode

Add an explicit CPUCRISState parameter instead of relying on AREG0, and
use cpu_ld* in translation and interrupt handling. Remove AREG0 swapping
in tlb_fill(). Switch to AREG0 free mode

Signed-off-by: Blue Swirl <>...

485d0035 09/15/2012 08:44 pm Blue Swirl

target-sh4: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Acked-by: Aurelien Jarno <>
Signed-off-by: Blue Swirl <>

32ac0ca2 09/15/2012 08:44 pm Blue Swirl

target-lm32: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>

31871141 09/15/2012 08:44 pm Blue Swirl

target-m68k: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>

04a130ea 09/15/2012 08:44 pm Blue Swirl

target-unicore32: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0
and switch to AREG0 free mode.

Tested-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

d31dd73e 09/15/2012 08:44 pm Blue Swirl

target-arm: final conversion to AREG0 free mode

Convert code load functions and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>
Reviewed-by: Peter Maydell <>

8bacde8d 09/15/2012 06:35 pm Natanael Copa

configure: properly check if -lrt and -lm is needed

Fixes build against uClibc.

uClibc provides 2 versions of clock_gettime(), one with realtime
support and one without (this is so you can avoid linking in -lrt
unless actually needed). This means that the clock_gettime() don't...

e84d5956 09/14/2012 10:46 am Yann E. MORIN

configure: fix seccomp check

Currently, if libseccomp is missing but the user explicitly requested
seccomp support using --enable-seccomp, configure silently ignores the
situation and disables seccomp support.

This is unlike all other tests that explicitly fail in such situation....

56ab2ad1 09/13/2012 10:50 am Aurelien Jarno

configure: usbredir fixes

usbredir is only used by system emulation, so add the libraries to
libs_softmmu instead of LIBS.

Cc: Michael Tokarev <>
Cc: Gerd Hoffmann <>
Signed-off-by: Aurelien Jarno <>
Signed-off-by: Hans de Goede <>...

a639ab04 09/13/2012 08:31 am Alon Levy

hw/qxl: support client monitor configuration via device

Until now we used only the agent to change the monitor count and each
monitor resolution. This patch introduces the qemu part of using the
device as the mediator instead of the agent via virtio-serial....

be4a8928 09/11/2012 08:43 am Hans de Goede

usb-redir: Convert to new libusbredirparser 0.5 API

This gives us support for 64 bit ids which is needed for using XHCI with
the new hcd generated ids.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

4b1c11fd 09/10/2012 09:53 pm Daniel P. Berrange

Add ability to force enable/disable of tools build

The qemu-img, qemu-nbd and qemu-io tools are built conditionally
based on whether any softmmu target is enabled. These are useful
self-contained tools which can be used in many other scenarios.
Add new --enable-tools/--disable-tools args to configure to allow...

66d5499b 09/10/2012 09:53 pm Daniel P. Berrange

Add ability to disable build of all targets

Allow passing of '--target-list=' to configure to request that
all targets are to be disabled. This allows for doing a very
fast tools-only build of things like qemu-img, qemu-io, qemu-nbd.

Signed-off-by: Daniel P. Berrange <>...

6a38e0dc 09/10/2012 08:51 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    kvm: i386: Add classic PCI device assignment
    kvm: i386: Add services required for PCI device assignment
    kvm: Introduce kvm_has_intx_set_mask
    kvm: Introduce kvm_irqchip_update_msi_route...
8bf188aa 09/10/2012 06:57 pm Michael Tokarev

use --libexecdir instead of ignoring it first and reinventing it later

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version
of bridge helper" put the bridge helper executable into a fixed
${prefix}/libexec/ location, instead of using ${libexecdir} for...

69fc2553 09/10/2012 04:32 pm Aurelien Jarno

Merge branch 'spice.v59' of git://anongit.freedesktop.org/spice/qemu

  • 'spice.v59' of git://anongit.freedesktop.org/spice/qemu:
    Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP
    qxl: Add set_client_capabilities() interface to QXLInterface
    spice: make number of surfaces runtime-configurable....
19b0516f 09/10/2012 02:38 pm Blue Swirl

target-s390x: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0.

Remove temporary wrappers and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>
[agraf: fix conflicts]
Signed-off-by: Alexander Graf <>

62fe8331 09/09/2012 04:48 pm Christian Borntraeger

qemu: Use valgrind annotations to mark kvm guest memory as defined

valgrind with kvm produces a big amount of false positives regarding
"Conditional jump or move depends on uninitialised value(s)". This
happens because the guest memory is allocated with qemu_vmalloc which...

2e0e3c39 09/05/2012 06:11 pm Alon Levy

configure: print spice-protocol and spice-server versions

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

020af1c4 09/05/2012 06:11 pm Alon Levy

qxl: add QXL_IO_MONITORS_CONFIG_ASYNC

Revision bumped to 4 for new IO support, enabled for spice-server >=
0.11.1. New io enabled if revision is 4. Revision can be set to 4.

[ kraxel: 3 continues to be the default revision. Once we have a new
stable spice-server release and the qemu patches to enable...

99afc91d 08/22/2012 06:47 pm Daniel P. Berrange

qapi: add 'query-target' command to return target arch

Add a 'query-target' QAPI command to allow management applications
to determine what target architecture a QEMU binary is emulating
without having to parse the binary name or -help output

$ qmp-shell -p /tmp/qemu...
f794573e 08/16/2012 09:41 pm Eduardo Otubo

Adding support for libseccomp in configure and Makefile (v8)

Adding basic options to the configure script to use libseccomp or not.
The default is set to 'no'. If the flag --enable-libseccomp is used, the
script will check for its existence using pkg-config....

bbea4050 08/16/2012 09:41 pm Peter Maydell

configure: Don't override user's --cpu on MacOS and Solaris

Both MacOS and Solaris have special case handling for the CPU
type, because the check_define probes will return i386 even if
the hardware is 64 bit and x86_64 would be preferable. Move
these checks earlier in the configure probing so that we can...

a0b7cf6b 08/16/2012 09:41 pm Peter Maydell

configure: Define OS_OBJECT_USE_OBJC=0 for MacOSX builds

MacOSX 10.8 ("Mountain Lion") defaults to trying to use automated
reference counting on certain objects. This means that the system
header files will use some Objective C syntax constructs even when...

3c4a4d0d 08/16/2012 09:41 pm Peter Maydell

Support using a different compiler for Objective-C files

MacOSX 10.8 ("Mountain Lion") requires us to compile our one
Objective-C source file with clang even if the rest of QEMU
requires a real gcc, because the system headers we use make
use of Apple's "Blocks" extension to C/ObjC, and mainline...

5a4d701a 08/16/2012 05:52 pm Jan Kiszka

audio: Make pcspk card selectable again

[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "KOI8-R" character set. ]
[ Some special characters may be displayed incorrectly. ]

Since we moved pcspk into hwlib, CONFIG_PCSPK is no longer defined per...

92fc4b58 08/14/2012 10:01 pm Blue Swirl

x86: switch to AREG0 free mode

Add an explicit CPUX86State parameter instead of relying on AREG0.

Remove temporary wrappers and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>

633decd7 08/14/2012 12:12 am Anthony Liguori

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

  • qmp/queue/qmp: (48 commits)
    target-ppc: add implementation of query-cpu-definitions (v2)
    target-i386: add implementation of query-cpu-definitions (v2)
    qapi: add query-cpu-definitions command (v2)...
74ee59a8 08/13/2012 07:19 pm Luiz Capitulino

monitor: drop unused monitor debug code

In the old QMP days, this code was used to find out QMP commands that
might be calling monitor_printf() down its call chain.

This is almost impossible to happen today, because the qapi converted
commands don't even have a monitor object. Besides, it's been more than...

d517872e 08/13/2012 05:25 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    kvm: Add documentation comment for kvm_irqchip_in_kernel()
    kvm: Decouple 'GSI routing' from 'kernel irqchip'
    kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip'...
c075a723 08/11/2012 06:07 pm Blue Swirl

configure: fix double check tests with Clang

Configuring with Clang compiler with Werror would not work after
improved checks:
/tmp/qemu-conf--25992
.c:4:32: error: self-comparison always evaluates
to true [-Werror,-Wtautological-compare]
int main(void) { return preadv == preadv; }...

8dc38a78 08/11/2012 06:07 pm Peter Maydell

configure: Check for -Werror causing failures when compiling tests

Add support for checking whether test case code can compile without
warnings, by recompiling each successful test with -Werror. If the
-Werror version doesn't pass, we bail out. This gives us the same...

4f23a1e6 08/11/2012 12:36 pm Guan Xuetao

unicore32-softmmu: Add unicore32-softmmu build support

This patch adds unicore32-softmmu build support, include configure,
makefile, arch_init, and all missing functions needed by softmmu.
Although all missing functions are empty, unicore32-softmmu could...

08312a63 08/09/2012 04:16 pm Peter Maydell

configure: Don't implicitly hardcode list of KVM architectures

The code creating the symlink from linux-headers/asm to the
architecture specific linux-headers/asm-$arch directory was
implicitly hardcoding a list of KVM supporting architectures.
Add a default case for the common "Linux architecture name and...

9b4c0b56 08/04/2012 04:25 pm Peter Maydell

configure: Fix set-but-not-used warning in Xen 4.1 probe

The Xen 4.1 probe never uses the return value from xc_interface_open(),
so was provoking a compiler warning on newer gcc. Fix by not bothering
to put the return value anywhere.

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

69deef08 08/04/2012 04:25 pm Peter Maydell

configure: Don't run Xen compile checks in subshells

The Xen compile checks are currently run inside subshells. This
is unnecessary and has the effect that if do_cc() exits with
an error message then this only causes the subshell to exit,
not the whole of configure, which is confusing. Remove the...

f6ccf1f4 08/01/2012 04:42 pm Anthony PERARD

configure: Fix xen probe with Xen 4.2 and later

The xs.h header is now deprecated and produces a warning. This prevents the
configure script from enabling Xen with xen-unstable whom will become 4.2. As
this header is not anymore common to every version of Xen, we just remove it...

0b22ef0f 07/31/2012 11:06 pm Peter Maydell

configure: -I\$(SRC_PATH) goes in QEMU_INCLUDES not QEMU_CFLAGS

If the smartcard configure check passes, add '-I\$(SRC_PATH)/libcacard'
to QEMU_INCLUDES, not QEMU_CFLAGS. Otherwise the unexpanded SRC_PATH
will cause a warning in every following configure test....

3014ee00 07/31/2012 11:06 pm Peter Maydell

configure: Fix compile warning in utimensat/futimens test

Fix compile warning in the utimensat/futimens test ("implicit
declaration of function 'utimensat'", ditto futimens) by
adding a missing include.

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

fea08e08 07/31/2012 11:05 pm Peter Maydell

configure: Fix warnings in VDE library probe

Fix compile warnings in the VDE library probe ("passing argument 1 of
'vde_open_real' discards 'const' qualifier from pointer target type",
ditto argument 2).

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

7edc3fed 07/31/2012 11:05 pm Peter Maydell

configure: Fix compile warning in PNG test

Fix compile warning (variable 'png_ptr' set but not used) in the
PNG detection test code.

Signed-off-by: Peter Maydell <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

7ace252a 07/31/2012 11:05 pm Stefan Weil

configure: Fix errors in test for__sync_fetch_and_and

The old test code raises two compiler warnings which are errors since
commit 417c9d72d48275d19c60861896efd4962d21aca2.

These errors could result in compilations with compiler flag
-march486 (so all nice features of newer processors got lost)....

caa50971 07/31/2012 11:05 pm Peter Maydell

configure: -march=i486 belongs in QEMU_CFLAGS, not CFLAGS

The distinction between QEMU_CFLAGS and CFLAGS is that the
former is for flags without which QEMU can't compile, whereas
the latter is for flags like "-g -O2" which the user can
safely override. "-march=i486" is in the former category, and...

1e845c78 07/31/2012 11:05 pm Stefan Weil

configure: Replace bash code by standard shell code

"+=" does not work with dash and other simple /bin/sh implementations.

The new code prepends the flag while the old code either did not work
(it continued after an error message which typically was not read) or...

cc939743 07/31/2012 11:05 pm Stefan Weil

configure: Fix build with capabilities

Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
normally run with -Werror. Some of these tests now fail because they
raised a compiler warning.

This patch fixes support for capabilities.

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

e35bcb0c 07/31/2012 11:05 pm Stefan Weil

configure: Fix build with ALSA audio driver

Since commit 417c9d72d48275d19c60861896efd4962d21aca2,
all configure tests normally run with -Werror.

Some of these tests now fail because they raised a compiler warning.

Here a build breakage for ALSA (configure --audio-drv-list=alsa) is fixed....

6ca026cb 07/31/2012 11:05 pm Peter Maydell

configure: Don't run configure tests with -Werror enabled

Don't run configure tests with -Werror in the compiler flags. The idea
of -Werror is that it makes problems very obvious to developers, so
they get fixed quickly. However, when running configure tests, failures...

06d71fa1 07/31/2012 11:04 pm Peter Maydell

configure: Split valgrind test into pragma test and valgrind.h test

Split the configure test that checks for valgrind into two, one
part checking whether we have the gcc pragma to disable unused-but-set
variables, and the other part checking for the existence of valgrind.h....

d962783e 07/28/2012 12:13 am Jia Liu

target-or32: Add linux user support

Add QEMU OpenRISC linux user support.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

e67db06e 07/28/2012 12:12 am Jia Liu

target-or32: Add target stubs and QOM cpu

Add OpenRISC target stubs, QOM cpu and basic machine.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

61dc008f 07/20/2012 02:25 am Anthony Liguori

Revert "audio: Make PC speaker audio card available by default"

This reverts commit 504972922da9b562f15e13544d3efca84b46b8fd which broke the
build for ARM.

I don't think this change is necessary. If I'm wrong, please recommit this
changeset with an appropriate fix for ARM....

50497292 07/19/2012 07:07 pm Jan Kiszka

audio: Make PC speaker audio card available by default

[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "KOI8-R" character set. ]
[ Some special characters may be displayed incorrectly. ]

Signed-off-by: Jan Kiszka <>...

3f4349dc 07/17/2012 05:48 pm Kevin Wolf

coroutine-ucontext: Help valgrind understand coroutines

valgrind tends to get confused and report false positives when you
switch stacks and don't tell it about it.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Paolo Bonzini <>

417c9d72 07/14/2012 01:48 pm Alexander Graf

configure: add -Werror to QEMU_CFLAGS early

We want all configure tests pass with -Werror if it is enabled. So we
need to update QEMU_CFLAGS early on to make sure we also pass it in to
all the compile test jobs.

This fixes a warning-became-error bug in nss for me with the default...

3cc0cd61 07/12/2012 01:59 pm Peter Maydell

ARM: Make target_phys_addr_t 64 bits and physaddrs 40 bits

Make target_phys_addr_t 64 bits for ARM targets, and set
TARGET_PHYS_ADDR_SPACE_BITS to 40. This should have no effect for ARM
boards where physical addresses really are 32 bits (except perhaps a...

f595e737 07/02/2012 12:10 pm Stefan Weil

configure: Remove help for --disable-vnc-thread, --enable-vnc-thread

Commit 2624bab836662d37f08336408a99d97652fc9c4d removed these
configure arguments. Now the help text for both is removed, too.

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

2624bab8 06/28/2012 12:27 am Daniel P. Berrange

Remove support for non-threaded VNC server

QEMU now has a fundamental requirement for pthreads, so there
is no compelling reason to retain support for the non-threaded
VNC server. Remove the --{enable,disable}-vnc-thread configure
arguments, and all CONFIG_VNC_THREAD conditionals...

a307beb6 06/28/2012 12:26 am Andreas Färber

configure: Assure existence of linux-headers/ build directory

Commit ec5b06d (configure: ensure directory exists when creating symlinks)
moved the creation of directories into the symlink() function but forgot
the case where no symlink is created.

This leads to build errors on arm Linux due to -I../linux-headers....

e0a3dc7c 06/26/2012 11:09 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    tci: Support INDEX_op_bswap64_i64
    target-i386: Use QEMU instead of Qemu
    Makefile.hw: avoid overly large 'make clean' rm command
    configure: Fix typo
    arm_gic: Send dbg msgs to stderr not stdout...
3978f461 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/compile-xs' into staging

  • sstabellini/compile-xs:
    xenstore: Use <xenstore.h>
    xen: Reorganize includes of Xen headers.