Statistics
| Branch: | Revision:

root / configure @ 327ed10f

History | View | Annotate | Download (132.1 kB)

# Date Author Comment
aa0d1f44 02/25/2014 08:34 pm Paolo Bonzini

modules: do not include gmodule-2.0 in static builds

gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks
static builds. It is a glib bug, but we need to support --static builds for
the linux-user targets, and in the end all that is needed to fix this is:...

e7a1d6c5 02/25/2014 12:50 pm Peter Maydell

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

Block patches

  1. gpg: Signature made Fri 21 Feb 2014 21:42:24 GMT using RSA key ID C88F2FD6
  2. gpg: Good signature from "Kevin Wolf <>"
  • remotes/kevin/tags/for-upstream: (54 commits)...
6dedf052 02/24/2014 05:38 pm Peter Maydell

Merge remote-tracking branch 'remotes/bonzini/configure' into staging

  • remotes/bonzini/configure:
    build: softmmu targets do not have a "main.o" file
    configure: Disable libtool if -fPIE does not work with it (bug #1257099)
    block: convert block drivers linked with libs to modules...
98b21dcd 02/24/2014 04:53 pm Peter Maydell

configure: check that C++ compiler actually works

Check that the C++ compiler works with the C compiler; if it
does not, then don't pass CXX to the build process. This
fixes a regression where QEMU was no longer building if the
build environment didn't have a C++ compiler (introduced...

95c6bff3 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum mechanism.

This patchset enables the core of the quorum mechanism.
The num_children reads are compared to get the majority version and if this
version exists more than threshold times the guest won't see the error at all.

If a block is corrupted or if an error occurs during an IO or if the quorum...

7a87a7b3 02/21/2014 04:38 pm Peter Maydell

Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging

Tracing pull request

  1. gpg: Signature made Wed 19 Feb 2014 15:42:20 GMT using RSA key ID 81AB73C8
  2. gpg: Good signature from "Stefan Hajnoczi <>"
  3. gpg: aka "Stefan Hajnoczi <>"...
774d566c 02/21/2014 12:39 pm Peter Maydell

tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32)

Win32 doesn't have a cpuid.h, and MacOSX may have one but without
the __cpuid() function we use, which means that commit 9d2eec20
broke the build for those platforms. Fix this by tightening up...

17969268 02/20/2014 02:14 pm Fam Zheng

rules.mak: introduce DSO rules

Add necessary rules and flags for shared object generation.
The new rules introduced here are:

1) %.o in $(common-obj-m) is compiled to %.o, then linked to %.so.

2) %.mo in $(common-obj-m) is the placeholder for %.so for pattern...

e26110cf 02/20/2014 02:14 pm Fam Zheng

module: implement module loading

This patch adds loading, stamp checking and initialization of modules.

The init function of dynamic module is no longer directly called as
attribute((constructor)) in static linked version, it is called
only after passed the checking of presense of stamp symbol:...

d3399d7c 02/20/2014 02:14 pm Fam Zheng

block: convert block drivers linked with libs to modules

The converted block drivers are:

curl
iscsi
rbd
ssh
glusterfs

Signed-off-by: Fam Zheng <>
Signed-off-by: Paolo Bonzini <>

66518bf6 02/20/2014 02:14 pm Don Slutz

configure: Disable libtool if -fPIE does not work with it (bug #1257099)

Adjust TMPO and added TMPB, TMPL, and TMPA. libtool needs the names
to be fixed (TMPB).

Add new functions do_libtool and libtool_prog.

Add check for broken gcc and libtool.

Signed-off-by: Don Slutz <>...

ba1183da 02/20/2014 02:12 pm Fam Zheng

rules.mak: fix $(obj) to a real relative path

Makefile.target includes rule.mak and unnested common-obj-y, then prefix
them with '../', this will ignore object specific QEMU_CFLAGS in subdir
Makefile.objs:

$(obj)/curl.o: QEMU_CFLAGS += $(CURL_CFLAGS)...
6ebc91e5 02/20/2014 02:12 pm Fam Zheng

block: use per-object cflags and libs

No longer adds flags and libs for them to global variables, instead
create config-host.mak variables like FOO_CFLAGS and FOO_LIBS, which is
used as per object cflags and libs.

This removes unwanted dependencies from libcacard....

13b6ce0e 02/20/2014 02:12 pm Paolo Bonzini

darwin: do not use -mdynamic-no-pic

While -mdynamic-no-pic can speed up the code somewhat, it is only used
on the legacy PowerPC Mac OS X, and I am not sure if anyone is still
testing that. Disabling PIC can cause problems when enabling modules,
so do not do that....

bf15f63c 02/19/2014 12:08 pm Mohamad Gebai

Fix configure script for LTTng 2.x

Signed-off-by: Mohamad Gebai <>
Signed-off-by: Stefan Hajnoczi <>

46eef33b 02/17/2014 01:44 pm Brad

Fix QEMU build on OpenBSD on x86 archs

This resolves the build issue with building the ROMs on OpenBSD on x86 archs.
As of OpenBSD 5.3 the compiler builds PIE binaries by default and thus the
whole OS/packages and so forth. The ROMs need to have PIE disabled....

3f281822 02/15/2014 02:10 pm Stewart Smith

configure: add hint of libfdt to DTC dependency not found message

Most distros package it as libfdt, and mentioning libfdt here makes it
much easier to find the package you're missing.

Signed-off-by: Stewart Smith <>
Reviewed-by: Stefan Weil <>...

21684af0 02/15/2014 02:10 pm Stewart Smith

configure: add hints to a remedy for feature_not_found errors

Modify feature_not_found to accept an optional second parameter to be
printed after the generic feature not found error.

Modify most calls to feature_not_found to provide hints as to the
packages that may be missing. The few calls remaining without a remedy...

628a746c 02/12/2014 06:42 pm Peter Maydell

Merge remote-tracking branch 'remotes/kevin/tags/for-anthony' into staging

Block patches

  1. gpg: Signature made Sun 09 Feb 2014 08:12:51 GMT using RSA key ID C88F2FD6
  2. gpg: Good signature from "Kevin Wolf <>"
  • remotes/kevin/tags/for-anthony:...
6542aa9c 02/09/2014 10:12 am Peter Lieven

block: add native support for NFS

This patch adds native support for accessing images on NFS
shares without the requirement to actually mount the entire
NFS share on the host.

NFS Images can simply be specified by an url of the form:
nfs://<host>/<export>/<filename>[?param=value[&param2=value2[&...]]]...

999b53ec 02/08/2014 04:50 pm Claudio Fontana

disas: Implement disassembly output for A64

Use libvixl to implement disassembly output in debug
logs for A64, for use with both AArch64 hosts and targets.

Signed-off-by: Claudio Fontana <>
[PMM: * added support for target disassembly...

c2304b52 01/26/2014 01:06 pm Marcel Apfelbaum

configure: added acpi unit-test files

Ensure configure will set-up links for the files
if the build is created in other directory.

Signed-off-by: Marcel Apfelbaum <>
Signed-off-by: Michael S. Tsirkin <>

7c815372 01/22/2014 01:07 pm Bharata B Rao

gluster: Implement .bdrv_co_write_zeroes for gluster

Support .bdrv_co_write_zeroes() from gluster driver by using GlusterFS API
glfs_zerofill() that off-loads the writing of zeroes to GlusterFS server.

Signed-off-by: Bharata B Rao <>...

debe40fb 01/10/2014 09:05 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  • stefanha/block:
    commit: Remove unused check
    qemu-iotests: Update test cases for commit active
    commit: Support commit active layer
    block: Add commit_active_start()
    mirror: Move base to MirrorBlockJob...
08fb77ed 01/01/2014 04:03 pm Stefan Weil

configure: Rewrite code for help message

In the new form most lines of the code now look like the final output:
there is no leading echo command and the lines are shorter.

The resulting output is nearly identical: the only difference is a blank
character which was deliberately removed:...

f6f0b7d9 01/01/2014 04:03 pm Stefan Weil

configure: Python tests must be done before help message

The help message uses $python and displays its value, so that macro
should be tested and set early.

With this modification, configure --help displays the correct value
(usually python -B) and no longer creates several *.pyc files....

219c2521 12/20/2013 10:11 am Stefan Weil

block/iscsi: Fix compilation for libiscsi 1.4.0 (API change)

Function iscsi_read10_task got additional parameters starting with version
libiscsi 1.5.0.

libiscsi 1.4.0 is still widely used (Debian wheezy, jessie and other Linux
distributions currently provide packages for QEMU which use it), so we...

6a669427 12/17/2013 09:42 pm Peter Maydell

target-arm: Support fp registers in gdb stub

Register the aarch64-fpu XML and implement the necessary
read/write handlers so we can support reading and writing
of FP registers in the gdb stub.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

70a5f682 12/17/2013 09:42 pm Peter Maydell

configure: Enable KVM for aarch64 host/target combination

Enable KVM if the host and target CPU are both aarch64. Note
that host aarch64 + target arm is not valid for KVM acceleration:
the 64 bit kernel does not support the ioctl interface for
32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created...

bf6e3cc4 12/13/2013 09:10 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  1. By Paolo Bonzini (4) and Peter Lieven (1)
  2. Via Paolo Bonzini
    • bonzini/scsi-next:
      help: add id suboption to -iscsi
      scsi-disk: fix WRITE SAME with large non-zero payload
      block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}...
58952137 12/09/2013 02:33 pm Vincenzo Maffione

net: Adding netmap network backend

This patch adds support for a network backend based on netmap.
netmap is a framework for high speed packet I/O. You can use it
to build extremely fast traffic generators, monitors, software
switches or network middleboxes. Its companion software switch...

063c3378 12/09/2013 12:28 pm Peter Lieven

block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}

this converts read, write and flush functions from aio to coroutines
eliminating almost 200 lines of code.

The requirement for libiscsi is bumped to version 1.4.0 which was
released in may 2012....

c0caec17 11/25/2013 07:49 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pc very last minute fixes for 1.7

This has a fix for a crasher bug with pci bridges,
boot failure fix for s390 on 32 bit hosts,
and fixes build for hosts with old glib.

There's also a fix for --iasl configure flag - it can be used...

e007dbec 11/24/2013 03:43 pm Michael S. Tsirkin

configure: make --iasl option actually work

--iasl option was added to CC option parsing section by mistake,
it's not effective there and attempts to use cause
an 'unknown option' error.

Fix this up.

Tested-by: Marcel Apfelbaum <>
Signed-off-by: Michael S. Tsirkin <>

45d285ab 11/21/2013 06:38 pm Peter Maydell

configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

Our rules.mak adds '-rR' to MAKEFLAGS to indicate that we will be
explicitly specifying everything and not relying on any default
variables or rules. However we were accidentally relying on the...

38dc7490 11/19/2013 10:59 pm Anthony Liguori

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

  1. By Jan Krupa (4) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      hw/i386/Makefile.obj: use $(PYTHON) to run .py scripts consistently
      configure: Use -B switch only for Python versions which support it...
52510f8b 11/16/2013 10:29 pm Stefan Weil

configure: Use -B switch only for Python versions which support it

Commit 1d984a67a95d88f3e708b077dab8adeb47c38c93 added the -B switch
unconditionally. This breaks Python versions before 2.6 which don't
support that switch.

Now configure adds -B only if it is accepted by the Python interpreter....

deb0f500 11/13/2013 09:47 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  1. By Jeff Cody (26) and others
  2. Via Stefan Hajnoczi
    • stefanha/block: (37 commits)
      block: Round up total_sectors
      block: vhdx qemu-iotest - log replay of data sector
      block: qemu-iotests for vhdx, add write test support...
4f18b782 11/07/2013 02:58 pm Jeff Cody

block: vhdx - add header update capability.

This adds the ability to update the headers in a VHDX image, including
generating a new MS-compatible GUID.

As VHDX depends on uuid.h, VHDX is now a configurable build option. If
VHDX support is enabled, that will also enable uuid as well. The...

bdf523e6 11/07/2013 08:02 am Stefan Weil

configure: Add config.status to recreate the current configuration

The latest configure invocation was saved in config-host.mak and could
be extracted from that file to recreate the configuration.

Now it is saved in a new file config.status which can be directly executed...

61cc919f 11/06/2013 05:58 am Mike Frysinger

configure: detect endian via compile test

This avoids needing to execute a program and keeping an (incomplete)
list when cross-compiling.

Signed-off-by: Mike Frysinger <>
Reviewed-by: Richard Henderson <>
Tested-by: James Hogan <> [mips]...

ef5cfe5b 10/31/2013 06:01 pm Anthony Liguori

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

  • mjt/trivial-patches:
    audio/mixeng_template.h: fix inline declaration
    misc: Spelling and grammar fixes in comments
    docs/ccid.txt: fix the typo
    qapi: fix documentation example
    .gitignore: ignore qmp-commands.txt...
b0eb759f 10/31/2013 05:58 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci, pc, acpi fixes, enhancements

This includes some pretty big changes:
- pci master abort support by Marcel
- pci IRQ API rework by Marcel
- acpi generation support by myself

Everything has gone through several revisions, latest versions have been on...

2b170eff 10/26/2013 12:01 pm Michael Tokarev

configure: create fsdev/ directory

In some cases when building with parallelism (make -jN),
build fails because the directory where output files are
supposed to be does not exist. In particular, when make
decides to build virtfs-proxy-helper.1 before other files...

a31a8642 10/14/2013 05:48 pm Michael S. Tsirkin

acpi: add rules to compile ASL source

Detect presence of IASL compiler and use it
to process ASL source. If not there, use pre-compiled
files in-tree. Add script to update the in-tree files.

Note: distros are known to silently update iasl
so detect correct iasl flags for the installed version on each run as...

ec9135cd 10/10/2013 09:44 pm Richard Henderson

configure: Remove CONFIG_QEMU_LDST_OPTIMIZATION

No longer used.

Signed-off-by: Richard Henderson <>

802b5081 10/10/2013 09:31 pm Richard Henderson

tcg-hppa: Remove tcg backend

Signed-off-by: Richard Henderson <>

28b9d47d 10/01/2013 01:14 am Anthony Liguori

Merge remote-tracking branch 'rth/tcg-ppc-pull' into staging

  1. By Richard Henderson (19) and Paolo Bonzini (2)
  2. Via Richard Henderson
    • rth/tcg-ppc-pull: (21 commits)
      tcg-ppc64: Implement CONFIG_QEMU_LDST_OPTIMIZATION
      tcg-ppc64: Add _noaddr functions for emitting forward branches...
d7f0efcb 10/01/2013 01:13 am Anthony Liguori

Merge remote-tracking branch 'kraxel/audio.1' into staging

  1. By Bandan Das (3) and Gerd Hoffmann (1)
  2. Via Gerd Hoffmann
    • kraxel/audio.1:
      audio: remove CONFIG_MIXEMU configure option
      hda-codec: make mixemu selectable at runtime
      hda-codec: refactor common definitions into a header file...
7f12d649 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Implement CONFIG_QEMU_LDST_OPTIMIZATION

Signed-off-by: Richard Henderson <>

e3608d66 09/25/2013 04:50 am Richard Henderson

configure: Allow command-line configure for ppc32

Similar to manually selecting i386 for an x86_64 host.

Signed-off-by: Richard Henderson <>

19b0dfc1 09/24/2013 11:29 am Bandan Das

audio: remove CONFIG_MIXEMU configure option

Signed-off-by: Bandan Das <>
Signed-off-by: Gerd Hoffmann <>

2e6ae666 09/23/2013 07:52 pm Anthony Liguori

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

  1. By Stefan Weil (8) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      tests/.gitignore: ignore test-throttle
      exec: Fix broken build for MinGW (regression)
      kvm: Fix compiler warning (clang)...
e600cdf3 09/20/2013 07:09 pm Michal Privoznik

configure: Undefine _FORTIFY_SOURCE prior using it

Currently, we are enforcing the _FORTIFY_SOURCE=2 without any
previous detection if the macro has been already defined, e.g.
by environment, or is just enabled by compiler by default.

Signed-off-by: Michal Privoznik <>...

b5613fdc 09/19/2013 12:28 pm Gerd Hoffmann

usb: remove old usb-host code

The usb-host code has been rewritten for qemu 1.5 to use libusb,
the old code has been left in as temporary fallback. Now we are
two releases further out, targeting the 1.7 release. No major
issues with the new code poped up until now. Time to remove it...

70c60c08 09/12/2013 11:12 am Stefan Hajnoczi

coroutine: add ./configure --disable-coroutine-pool

The 'gthread' coroutine backend was written before the freelist (aka
pool) existed in qemu-coroutine.c.

This means that every thread is expected to exit when its coroutine
terminates. It is not possible to reuse threads from a pool....

f93296ea 09/12/2013 11:12 am Wenchao Xia

qemu-iotests: add unix socket help program

This program can do a sendmsg call to transfer fd with unix
socket, which is not supported in python2.

The built binary will not be deleted in clean, but it is a
existing issue in ./tests, which should be solved in another...

2d1fe187 09/11/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130910' into staging

ARM queue: * aarch64 preparation patchset (excluding the defconfigs, so this
doesn't actually enable the new targets yet) * minor bugfixes and cleanups * disable "-cpu any" in system emulation mode...

6a49fa95 09/10/2013 09:11 pm Alexander Graf

configure: Add handling code for AArch64 targets

Add the necessary code to configure to handle AArch64 as a target
CPU (we already have some code for supporting it as host). Note
that this doesn't enable the AArch64 targets yet.

Signed-off-by: Alexander Graf <>...

b39297ae 09/09/2013 10:17 pm Tomoki Sekiyama

qemu-ga: Add Windows VSS provider and requester as DLL

Adds VSS provider and requester as a qga-vss.dll, which is loaded by
Windows VSS service as well as by qemu-ga.

"provider.cpp" implements a basic stub of a software VSS provider.
Currently, this module only relays a frozen event from VSS service to the...

83f73fce 09/09/2013 10:17 pm Tomoki Sekiyama

configure: Support configuring C++ compiler

Add configuration for C++ compiler in configure and Makefiles.
The C++ compiler is choosed as following:
- ${CXX}, if it is specified.
- ${cross_prefix}g++, if ${cross_prefix} is specified.
- Otherwise, c++ is used....

d9840e25 09/09/2013 10:17 pm Tomoki Sekiyama

qemu-ga: Add configure options to specify path to Windows/VSS SDK

To enable VSS support in qemu-ga for Windows, header files included in
VSS SDK are required.
The VSS support is enabled by the configure option like below:
./configure --with-vss-sdk="/path/to/VSS SDK"...

5a93d5c2 09/03/2013 08:31 pm Anthony Liguori

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

  1. By Stefan Weil (6) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      aio / timers: use g_usleep() not sleep()
      adlib: sort offsets in portio registration
      qmp: fix integer usage in examples...
c72b26ec 09/02/2013 07:08 pm Richard Henderson

configure: Allow x32 as a host

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

65d5d3f9 09/01/2013 06:26 pm Stefan Weil

configure: Remove unneeded redirections of stderr (pkg-config --exists)

Predicate options (--exists, --atleast-version, ...) of pkg-config dont't
print error messages to stderr, so redirecting stderr is not necessary.

Combining a predicate option with --modversion is not necessary for tests....

ca871ec8 09/01/2013 06:26 pm Stefan Weil

configure: Remove unneeded redirections of stderr (pkg-config --cflags, --libs)

For existing libraries, pkg-config --cflags and pkg-config --libs won't
print error messages to stderr, so redirecting stderr is not necessary.

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

1d984a67 09/01/2013 06:14 pm Stefan Weil

configure: Don't write .pyc files by default (python -B)

When a Python script is run, Python normally writes bytecode into a .pyc file.
QEMU's build process uses several Python scripts which are called from
configure or make.

The generated .pyc files take disk space without being of much use, because...

71429097 09/01/2013 06:06 pm Peter Maydell

configure: disable clang -Wstring-plus-int warning

Some versions of clang will warn about adding integers to strings:

disas/i386.c:4753:23: error: adding 'char' to a string does not append
to the string [-Werror,-Wstring-plus-int]
oappend ("%es:" + intel_syntax);...

cd758dd0 08/22/2013 08:10 pm Alex Bligh

aio / timers: Add prctl(PR_SET_TIMERSLACK, 1, ...) to reduce timer slack

Where supported, called prctl(PR_SET_TIMERSLACK, 1, ...) to
set one nanosecond timer slack to increase precision of timer
calls.

Signed-off-by: Alex Bligh <>
Signed-off-by: Stefan Hajnoczi <>

4e0c6529 08/22/2013 08:10 pm Alex Bligh

aio / timers: add ppoll support with qemu_poll_ns

Add qemu_poll_ns which works like g_poll but takes a nanosecond
timeout.

Signed-off-by: Alex Bligh <>
Signed-off-by: Stefan Hajnoczi <>

64160cd2 08/05/2013 04:06 pm Anthony Liguori

Merge remote-tracking branch 'filippov/tags/20130729-xtensa' into staging

xtensa queue 2013-07-29

  • filippov/tags/20130729-xtensa:
    target-xtensa: check register window inline
    target-xtensa: don't generate dead code to access invalid SRs
    tests/tcg/xtensa: Fix out-of-tree build...
e8ef31a3 08/02/2013 05:02 pm Michael Tokarev

qemu-ga: build it even if !system

Move qemu-ga build check out of if softmmu.. into its own section.
We want to build qemu-ga for guest even if system build isn't
done. It is controlled separately using --enable-guest-agent.
Additionally, give error message if guest agent is requested but...

98626572 07/29/2013 06:37 pm Markus Armbruster

tests: QAPI schema parser tests

The parser handles erroneous input badly. To be improved shortly.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

aaa2ebc5 07/29/2013 05:35 pm Andreas Färber

tests/tcg/xtensa: Fix out-of-tree build

Signed-off-by: Andreas Färber <>
Signed-off-by: Max Filippov <>

7d7b2ad4 07/27/2013 12:54 am Eduardo Otubo

seccomp: no need to check arch in syscall whitelist

v2 update:
- set libseccomp 2.1.0 as requirement on configure script.

Since libseccomp 2.0 there's no need to check the architecture type
anymore.

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

f0ef1cf4 07/26/2013 09:04 pm Anthony Liguori

Merge remote-tracking branch 'rth/tcg-next' into staging

  1. By Claudio Fontana (1) and others
  2. Via Richard Henderson
    • rth/tcg-next:
      tcg: Remove temp_buf
      tcg/aarch64: Implement tlb lookup fast path
      tcg/aarch64: implement ldst 12bit scaled uimm offset...
874ec3c5 07/25/2013 11:56 pm Anthony Liguori

Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging

  • riku/linux-user-for-upstream: (21 commits)
    linux-user: Handle compressed ISA encodings when processing MIPS exceptions
    linux-user: Unlock mmap_lock when resuming guest from page_unprotect...
2da776db 07/23/2013 12:12 pm Michael R. Hines

rdma: core logic

Code that does need to be visible is kept
well contained inside this file and this is the only
new additional file to the entire patch.

This file includes the entire protocol and interfaces
required to perform RDMA migration.

Also, the configure and Makefile modifications to link...

24cb36a6 07/22/2013 09:54 pm Peter Maydell

configure: Make NPTL non-optional

Now all linux-user targets support building with NPTL, we can make it
mandatory. This is a good idea because: * NPTL is no longer new and experimental; it is completely standard * in practice, linux-user without NPTL is nearly useless for...

2667e71c 07/22/2013 09:54 pm Peter Maydell

linux-user: Enable NPTL for x86-64

Add x86-64 implementation of cpu_set_tls() (like the kernel, we
just have to call do_arch_prctl() to set FS); this allows us to
enable NPTL.

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

bc22eb44 07/22/2013 09:54 pm Alexander Graf

linux-user: Add i386 TLS setter

We can easily set the TLS on i386. Add code to do so.

Signed-off-by: Alexander Graf <>
[PMM: also remove "target_nptl=no" line from configure, for
consistency with other patches in this series]
Signed-off-by: Peter Maydell <>...

1ccd9374 07/22/2013 09:54 pm Peter Maydell

linux-user: Enable NPTL for m68k

For m68k, per-thread data is a purely kernel construct with no
CPU level support. Implement it via a field in the TaskState structure,
used by cpu_set_tls() and the set_thread_area/get_thread_area
syscalls. This allows us to enable compilation with NPTL....

f5147c93 07/22/2013 09:54 pm Peter Maydell

linux-user: Enable NPTL for SPARC targets

Provide the missing cpu_set_tls(), and resolve the FIXME in
cpu_clone_regs() by clearing the carry flag for the child.
This allows us to turn on building with NPTL for SPARC.

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

442a59c8 07/22/2013 09:54 pm Peter Maydell

linux-user: Enable NPTL for OpenRISC

The OpenRISC kernel ignores CLONE_SETTLS in its copy_thread()
implementation, so a cpu_set_tls() implementation is a no-op.
cpu_clone_regs() was setting the syscall return value in the
wrong register -- it is gpr11, not gpr2. With these two...

790d4406 07/22/2013 09:54 pm Peter Maydell

configure: Enable threading for unicore32-linux-user

unicore32-linux-user provides cpu_set_tls(), so the failure
to enable target_nptl was presumably an oversight. Enable it.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>...

d769c641 07/22/2013 09:53 pm Peter Maydell

configure: Enable threading on all ppc and mips linux-user targets

Though threading (target_nptl) was enabled on the base PPC and MIPS
targets, it wasn't enabled for the variants mipsn32, mipsn32el,
mips64, mips64el, ppc64 or ppc46abi32 (probably an oversight)....

fa78f3db 07/22/2013 09:53 pm Peter Maydell

configure: Don't say target_nptl="no" if there is no linux-user target

For architectures with no linux-user target, don't claim no NPTL
support. This has no behavioural change, but it means that we
won't accidentally add a new linux-user target without threading...

aa004f5f 07/22/2013 09:53 pm Peter Maydell

configure: Flip default of target_nptl

Most targets either (a) support threading or (b) don't have a
linux-user/bsd-user target, so make it default to 'yes', with those
targets that don't support threading having to specifically say so.

This is a mechanical no-behaviour-change commit; some of the...

e01bee08 07/19/2013 07:29 am Bharata B Rao

gluster: Use pkg-config to configure GlusterFS block driver

Use pkg-config to determine the version and library dependency
for GlusterFS block driver.

Signed-off-by: Bharata B Rao <>
Signed-off-by: Stefan Hajnoczi <>

0c14fb47 07/19/2013 07:29 am Bharata B Rao

gluster: Add discard support for GlusterFS block driver.

Implement bdrv_aio_discard for gluster.

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

0d185e63 07/18/2013 07:21 pm Peter Maydell

configure: Provide more helpful message if libvte not present

If the system has GTK but not libvte, it's more helpful to
tell the user that libvte is missing than to simply say that
GTK is not present.

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

f290e498 07/15/2013 11:21 pm Richard Henderson

Merge git://github.com/hw-claudio/qemu-aarch64-queue into tcg-next

c6d8ed24 07/15/2013 02:13 pm Jani Kokkonen

tcg/aarch64: Implement tlb lookup fast path

Supports CONFIG_QEMU_LDST_OPTIMIZATION

Signed-off-by: Jani Kokkonen <>
Reviewed-by: Richard Henderson <>
Reviewed-by: Claudio Fontana <>

964c6fa1 07/09/2013 09:13 pm Richard Henderson

configure: Simplify alternate .text segment

For bsd-user and linux-user emulation modes QEMU needs to be linked at an
alternate .text segment address, so that it's out of the way of the guest
executable. Instead of including modified linker scripts for each arch,...

464e3671 06/21/2013 09:54 pm Peter Maydell

configure: Add signed*signed check to [u]int128_t test

clang 3.3 with -fsanitize=undefined will fail to link code containing an
int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable....

f2c4ddd9 06/21/2013 09:52 pm Andreas Färber

configure: Fix "ERROR: ERROR: " for missing/incompatible DTC

error_exit already prepends "ERROR: ", so no need to print it manually.

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

e169e1e1 06/14/2013 05:34 pm Peter Maydell

configure: Require libfdt for arm, ppc, microblaze softmmu targets

A number of our softmmu targets (PPC, ARM, Microblaze) now more or
less require flattened device tree support for various board models
to work correctly. Make libfdt mandatory if the target list includes...

c02a9552 06/14/2013 05:33 pm Paolo Bonzini

build: drop TARGET_TYPE

Just use the TARGET_NAME free string.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Eric Blake <>
Message-id:
Signed-off-by: Peter Maydell <>

96ce6545 06/14/2013 05:33 pm Peter Crosthwaite

configure: dtc: Probe for libfdt_env.h

Currently QEMU provides a local clone of the file libfdt_env.h in
/include. This file is supposed to come with the libfdt package and is
only needed for broken installs of libfdt. Now that we have submodule
dtc, just ignore these broken installs and prompt for the dtc submodule...

2e59915d 06/14/2013 05:33 pm Paolo Bonzini

main: use TARGET_ARCH only for the target-specific #define

Everything else needs to match the executable name, which is
TARGET_NAME.

Before:
$ sh4eb-linux-user/qemu-sh4eb --help
usage: qemu-sh4 [options] program [arguments...]
Linux CPU emulator (compiled for sh4 emulation)...