Statistics
| Branch: | Revision:

root / configure @ a8aec295

History | View | Annotate | Download (117 kB)

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

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

build: rename TARGET_ARCH2 to TARGET_NAME

Do not introduce any new use yet.

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

301255e6 06/14/2013 03:51 pm Anthony Liguori

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

  1. By Michael Tokarev (4) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches-next: (26 commits)
      piix: fix some printf errors when debug is enabled
      cputlb: fix debug logs
      create qemu_openpty_raw() helper function and move it to a separate file...
5f13731f 06/14/2013 03:51 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/qom-cpu' into staging

  1. By Andreas Färber (12) and others
  2. Via Andreas Färber
    • afaerber/qom-cpu:
      spapr_rtas: Abstract rtas_start_cpu() with qemu_get_cpu()
      spapr_rtas: Abstract rtas_query_cpu_stopped_state() with qemu_get_cpu()...
6a91c7c9 06/12/2013 06:20 pm Jani Kokkonen

tcg/aarch64: implement user mode qemu ld/st

also put aarch64 in the list of archs that do not need an ldscript.

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

1f080313 06/12/2013 06:20 pm Claudio Fontana

configure: permit compilation on arm aarch64

support compiling on aarch64.

Reviewed-by: Peter Maydell <>
Signed-off-by: Claudio Fontana <>
Reviewed-by: Richard Henderson <>
Message-id: ...

66926895 06/12/2013 06:20 pm Peter Maydell

configure: Drop CONFIG_ATFILE test

Nobody uses the CONFIG_ATFILE test now, so just drop it.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>
Tested-by: Claudio Fontana <>
Message-id:

224ead26 06/11/2013 10:45 pm Ed Maste

configure: remove ${config_host_ld} variable

It was only used in one place (and already expanded in one other).

Signed-off-by: Ed Maste <>
Signed-off-by: Michael Tokarev <>

45f0b043 06/11/2013 10:45 pm Ed Maste

configure: Disable host-bsd USB on FreeBSD

It hasn't built since FreeBSD 8.x, and is disabled by a patch in the
FreeBSD ports tree. FreeBSD is migrating to QEMU's libusb support.

Signed-off-by: Ed Maste <>
Signed-off-by: Michael Tokarev <>

2a78636b 06/11/2013 07:16 pm Andreas Färber

dump: Drop qmp_dump_guest_memory() stub and build for all targets

qmp_dump_guest_memory() calls dump_init() and returns an Error when
cpu_get_dump_info() returns an error, as done by the stub.
So there is no need to have a stub for qmp_dump_guest_memory()....

c22d8e04 06/11/2013 07:10 pm Andreas Färber

memory_mapping: Drop qemu_get_memory_mapping() stub

dump.c:dump_init() never checked for the return code anyway.
If paging is not enabled, it will fall back to an identity map.
If paging is enabled and getting memory mapping list is not
implemented, qemu_get_guest_memory_mapping() will return an error....

b64ec4e4 06/04/2013 01:11 pm Fam Zheng

block: add block driver read only whitelist

We may want to include a driver in the whitelist for read only tasks
such as diagnosing or exporting guest data (with libguestfs as a good
example). This patch introduces a readonly whitelist option, and for
backward compatibility, the old configure option --block-drv-whitelist...

6e92f823 06/03/2013 09:24 pm Peter Maydell

configure: Autogenerate default target list

Autogenerate the default target list based on what files exist
in default-configs; this allows us to remove one of the places
that has to be kept up to date with a complete list of every
target we support.

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

25b48338 06/03/2013 09:24 pm Peter Maydell

configure: Report unknown target names more helpfully

If the user specifies a target list themselves, check each entry
to make sure it's a target we recognise. This allows us to print
a helpful error message, rather than falling through (where we
would probably eventually end up hitting the uninformative...

a585140d 06/01/2013 01:25 pm Alexey Kardashevskiy

qemu: fix out of tree cross compile

The symlink to "asm" platform linux headers is made in the build tree by
the configure script but gcc is not told to look for them there.

The patch fixes this.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Michael Tokarev <>

a3605bf6 06/01/2013 01:25 pm Michael Tokarev

don't run pkg-config for features explicitly disabled

We test pkg-config for curses and curl even if those are explicitly
disabled. Move these tests inside `if "$feature" != "no"' sections.

Signed-off-by: Michael Tokarev <>

cbc8d595 06/01/2013 01:25 pm Ed Maste

configure: remove confusing file manipulation

The configure script had some code to manipulate config-host.ld~ (i.e.,
a common backup filename), comparing it with the newly-generated file.
I believe the sense of the comparison was backwards.

Since it seemed to serve little purpose anyway, remove it to avoid any...

cfeda5f4 06/01/2013 01:25 pm Ed Maste

configure: try pkg-config ncurses first

When probing for ncurses, try pkg-config first rather than after
explicit -lncurses and -lcurses. This fixes static linking in the case
that ncurses has additional dependencies, such as -ltinfo (as on FreeBSD).

Signed-off-by: Ed Maste <>...

5a699bbb 05/30/2013 07:37 pm Laszlo Ersek

configure: don't save any fixed local_statedir for win32

... because now we can get the dynamic value with
qemu_get_local_state_pathname().

The only user of the fixed value was the guest agent, which we've moved to
qemu_get_local_state_pathname() in the previous patch....

4f6ab397 05/26/2013 02:14 pm Brad Smith

Remove OSS support for OpenBSD

Remove the OSS support for OpenBSD. The OSS API has not been usable
for quite some time.

Signed-off-by: Brad Smith <>
Reviewed-by: Laszlo Ersek <>
Reviewed-by: Andreas Färber <>...

1405b629 05/15/2013 04:49 pm Stefan Weil

w32: Fix configure test for -march=i486

The latest version of MinGW needs a test for __sync_val_compare_and_swap
to fix a missing symbol linker error.

Reported-by: Igor Mitsyanko <>
Signed-off-by: Stefan Weil <>
Message-id: ...

2d16c8e9 05/15/2013 04:49 pm Peter Maydell

configure: Detect uuid on MacOSX (fixes compile failure)

Commit 7791dba3ec broke compilation on MacOSX, because it introduced
a new include of util.h. On MacOSX this includes pwd.h which in turn
includes the system uuid/uuid.h, which causes a compile failure if...

3556c233 05/13/2013 05:52 pm Paolo Bonzini

qom: allow turning cast debugging off

Cast debugging can have a substantial cost (20% or more). Instead of adding
special-cased "fast casts" in the hot paths, we can just disable it in
releases. The tracing facilities we just added make it easier to analyze...

e89e33e1 05/06/2013 06:30 pm Dominik Dingel

S390: BIOS create link to src folder for .img file

For *.img files, there will be a link created directly to the src folder,
like for all other blobs.

Signed-off-by: Dominik Dingel <>
Signed-off-by: Alexander Graf <>

8e515b12 05/06/2013 02:52 pm Peter Maydell

configure: Check that "libtool" is not the MacOSX one

The "libtool" binary on MacOSX is not GNU libtool, and doesn't support
anything like the same set of command line options. Test whether we
have accidentally picked this up (by looking for whether it handles...

781e9545 05/03/2013 02:58 pm Eiichi Tsukata

trace: Add ftrace tracing backend

This patch adds a ftrace tracing backend which sends trace event to
ftrace marker file. You can effectively compare qemu trace data and
kernel(especially, kvm.ko when using KVM) trace data.
The ftrace backend is restricted to Linux only....

372e47e9 05/01/2013 07:52 pm Andreas Färber

configure: Pick up libseccomp include path

openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.

Cc:
Signed-off-by: Andreas Färber <>
Signed-off-by: Michael Tokarev <>

98af93fd 04/29/2013 08:16 pm Paolo Bonzini

audio: replace audio card configuration with default-configs

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

36cd6f6f 04/29/2013 08:16 pm Paolo Bonzini

audio: remove the need for audio card CONFIG_* symbols

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

ffa48cf5 04/29/2013 08:16 pm Paolo Bonzini

audio: remove HAS_AUDIO

Several targets can have wavcapture/-soundhw support via PCI cards.
HAS_AUDIO is a useless limitation, remove it.

Signed-off-by: Paolo Bonzini <>
Message-id: ...

f6547f07 04/29/2013 08:16 pm Paolo Bonzini

audio: remove CONFIG_* symbols

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

df5e0ef7 04/27/2013 03:16 am Richard Henderson

tcg-arm: Convert to CONFIG_QEMU_LDST_OPTIMIZATION

Move the slow path out of line, as the TODO's mention.
This allows the fast path to be unconditional, which can
speed up the fast path as well, depending on the core.

Signed-off-by: Richard Henderson <>

9933c305 04/26/2013 09:18 pm Christian Borntraeger

s390-ccw.img: build s390-ccw rom on s3900 system by default

Lets build the s390-ccw rom if on s390. Also fix the separate build
folder case.

Signed-off-by: Christian Borntraeger <>
Signed-off-by: Alexander Graf <>

4fc16838 04/26/2013 02:26 pm Richard W.M. Jones

block/ssh: Require libssh2 >= 1.2.8.

libssh2 >= 1.2.8 is required to enable this block device (because
that version introduced the libssh2_session_handshake call).

Change the test to use pkg-config exclusively. If the user requests
--enable-libssh2 and the minimum version is not available, then the...

37746c5e 04/24/2013 11:47 am Marc-André Lureau

build-sys: must link with -fstack-protector

It is needed to give that flag to the linker as well, but latest
libtool 2.4.2 still swallows that argument, so let's pass it with
libtool -Wc argument.

qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference to `__stack_chk_guard'...

3f5cc97e 04/23/2013 09:43 am Gerd Hoffmann

usb-host: raise libusbx minimum version to 1.0.13

Allows to remove one FIXME. Makes LIBUSB_LOG_LEVEL_WARNING build errors
go away. And starting with that version libusb has a LIBUSBX_API_VERSION
define which allows to easily #ifdef version dependencies should that...

5e9be92d 04/19/2013 05:18 pm Nicholas Bellinger

vhost-scsi: new device supporting the tcm_vhost Linux kernel module

The WWPN specified in configfs is passed to "-device vhost-scsi-pci".
The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so it is not
available from the QEMU command-line. Instead, I hardcode it to zero....

5b5e3037 04/18/2013 03:12 pm Paolo Bonzini

configure: QEMU_INCLUDES are the same for all subtargets

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

1ddd592f 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_short/ushort instead of target_short/ushort

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

f8fd4fc4 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_int/uint instead of target_int/uint

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

6cfd9b52 04/18/2013 03:12 pm Paolo Bonzini

elfload: only give abi_long/ulong the alignment specified by the target

Previously, this was done for target_long/ulong, and propagated to
abi_long/ulong via a typedef. But target_long/ulong should not
have any specific alignment, it is never used to access guest...

918fc54c 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_llong/ullong instead of target_llong/ullong

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

727e5283 04/18/2013 03:12 pm Paolo Bonzini

configure: move CONFIG_QEMU_LDST_OPTIMIZATION to config-host.mak

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

f544a488 04/18/2013 03:12 pm Paolo Bonzini

configure: move common libraries to config-host.mak

Move -lm to the end of the line, so that it can be picked up as a
dependency by pixman in the static build case.

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>...

2b6b7099 04/18/2013 03:12 pm Paolo Bonzini

configure: eliminate target_libs_softmmu

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

15c08efe 04/18/2013 03:12 pm Paolo Bonzini

configure: CONFIG_NO_XEN is duplicated

We already define it in Makefile.target. But we need to avoid a
curious double negation in order to eliminate it.

Tested-by: Stefano Stabellini <>
Reviewed-by: Peter Maydell <>...

09dada40 04/18/2013 03:12 pm Paolo Bonzini

configure: remove duplicate test

We already had a test to add -march=i486 when needed. Make the
existing test independent of vhost-net, so that it is also used
under Win32.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

79f3b12f 04/18/2013 02:50 pm Peter Crosthwaite

configure: Put cross compile flags in EXTRA_CFLAGS

The cross compile CFLAGS are needed to properly build pixman (and any other
submodules). Only the EXTRA_CFLAGS set is passed to submodules not QEMU_CFLAGS,
so put the cross compile flags in EXTRA_CFLAGS instead....

a540f158 04/18/2013 02:50 pm Peter Crosthwaite

configure/Make: Build libfdt from submodule DTC

Configure to use the DTC submodule to build libfdt when no system libfdt
is found. Prompt to install the DTC submodule if --enable-fdt is set but
no DTC can be found.

DTC has no out-of-tree build capability, so the configure will symlink...

e6f53fd5 04/17/2013 06:28 pm Markus Armbruster

Fix warnings suppressors to honor --disable-werror

Replace

#pragma GCC diagnostic ignored FOO
[Troublesome code...]
#pragma GCC diagnostic error FOO

by

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored FOO
[Troublesome code...]...
c4efe1ca 04/17/2013 06:26 pm Anthony Liguori

qtest: add libqos including PCI support

This includes basic PCI support for the PC platform. Enough
abstraction should be present to support non-PC platforms too.

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

2b2325ff 04/16/2013 01:04 pm Gerd Hoffmann

use libusb for usb-host

Reimplement usb-host on top of libusb.
Reasons to do this:

(1) Largely rewritten from scratch, nice opportunity to kill historical
cruft.
(2) Offload usbfs handling to libusb.
(3) Have a single portable code base instead of bsd + linux variants....
4ceb193d 04/16/2013 01:06 am Anthony Liguori

Merge remote-tracking branch 'bonzini/hw-dirs' into staging

  • bonzini/hw-dirs:
    exec: remove useless declarations from memory-internal.h
    memory: move core typedefs to qemu/typedefs.h
    include: avoid useless includes of exec/ headers
    sysemu: avoid proliferation of include/ subdirectories...
1e6e9aca 04/15/2013 09:09 pm Richard Henderson

tcg-ppc64: Use getauxval for ISA detection

Glibc 2.16 includes an easy way to get feature bits previously
buried in /proc or the program startup auxiliary vector. Use it.

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

3b8acc11 04/15/2013 04:16 pm Paolo Bonzini

configure: fix TPM logic

A non-native i386 or x86_64 emulator should not have TPM passthrough
support, since the TPM is only present for those hosts.

Reviewed-by: Andreas Färber <>
Signed-off-by: Paolo Bonzini <>

fd123245 04/15/2013 04:16 pm Jan Kiszka

Add linux-headers to QEMU_INCLUDES

virtio/dataplane/vring.c requires the Linux headers and is built for all
targets. So we need to add the corresponding include to QEMU_INCLUDES to
avoid that outdated distribution headers are used.

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

0a12ec87 04/15/2013 11:18 am Richard W.M. Jones

block: Add support for Secure Shell (ssh) block device.

qemu-system-x86_64 -drive file=ssh://hostname/some/image

QEMU will ssh into 'hostname' and open '/some/image' which is made
available as a standard block device.

You can specify a username (ssh://user@host/...) and/or a port number...

9a2d462e 04/15/2013 11:18 am Richard W.M. Jones

block: ssh: Use libssh2_sftp_fsync (if supported by libssh2) to flush to disk.

libssh2_sftp_fsync is an extension to libssh2 to support fsync(2) over
sftp, which is itself an extension of OpenSSH.

If both libssh2 and the ssh daemon support it, this will allow...

c30d1aea 04/12/2013 03:33 pm Peter Maydell

cpu-exec: Allow "-d exec" in non-debug builds (drop CONFIG_DEBUG_EXEC)

The CONFIG_DEBUG_EXEC define compiles out a single qemu_log_mask()
call, which is a pretty trivial cost even for something in the main
cpu_exec() loop. Having this be conditionally defined means that...

47b5264e 04/08/2013 09:12 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/hw-dirs' into staging

  1. By Paolo Bonzini
  2. Via Paolo Bonzini
    • bonzini/hw-dirs: (35 commits)
      hw: move private headers to hw/ subdirectories.
      MAINTAINERS: update for source code movement
      hw: move last file to hw/arm/...
6e790746 04/08/2013 07:13 pm Paolo Bonzini

hw: move virtio devices to hw/ subdirectories

Signed-off-by: Paolo Bonzini <>

76ad07a4 04/08/2013 06:38 pm Peter Maydell

configure: Provide and use convenience error reporting function

Provide a convenience function for reporting an error and exiting,
and update various places in the configure script to use it.
This allows us to be a little more consistent about how format...

7c2acc70 04/08/2013 06:38 pm Peter Maydell

configure: Don't fall back to gthread coroutine backend

The gthread coroutine backend is broken and does not produce a working
QEMU; it is only useful for some very limited debugging situations.
Clean up the backend selection logic in configure so that it now runs...

9d4563c4 04/02/2013 10:05 pm Paolo Bonzini

configure: remove unset variables

These variables have not been set for a long time. Do not
include them in config-host.mak.

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

c7b4c367 04/01/2013 06:36 pm Anthony Liguori

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

  1. By Dunrong Huang (1) and others
  2. Via Stefan Hajnoczi
    • stefanha/trivial-patches:
      hw/tcx: Remove unused 'addr' field and the property that sets it
      hw/i386/pc: format load_linux function...
5e3a0f41 03/30/2013 04:08 pm Stefan Weil

w32: Fix build with older gcc (unresolved symbol)

The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support
__sync_val_compare_and_swap by default.

Using -march=i686 fixes that and should also result in better code.

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

9941afde 03/28/2013 11:23 am Dunrong Huang

configure: show debug-info option in --help output

"--enable-debug-info" and "--disable-debug-info" were not shown
in --help output.

Signed-off-by: Dunrong Huang <>
Signed-off-by: Stefan Hajnoczi <>

d15a9c23 03/23/2013 04:25 pm Anthony Green

Add top level changes for moxie

Signed-off-by: Anthony Green <>
Signed-off-by: Blue Swirl <>

f7c61bf8 03/23/2013 04:23 pm Blue Swirl

Merge branch 'for-upstream' of git://github.com/mwalle/qemu

  • 'for-upstream' of git://github.com/mwalle/qemu:
    configure: rename OpenGL feature to GLX
    configure: proper OpenGL/GLX probe
    target-lm32: use HELPER macro
    target-lm32: flush tlb after clearing env...
a7b66fa7 03/22/2013 02:23 pm Doug Goldstein

Advertise --libdir in configure --help output

The configure script allows you to supply a libdir via --libdir but was
not advertising this in --help.

Signed-off-by: Doug Goldstein <>
CC:
Signed-off-by: Stefan Hajnoczi <>

d3fcbb16 03/18/2013 08:40 pm Michael Walle

configure: proper OpenGL/GLX probe

Probe for GL and GLX symbols and X11 library. This fixes a build error
where the header files are available but the libraries are not.

Signed-off-by: Michael Walle <>

b1e5fff4 03/18/2013 08:40 pm Michael Walle

configure: rename OpenGL feature to GLX

As the probe now actually checks for the availability of GLX, rename it
accordingly. The only user of this feature is the milkymist-tmu2 model.

Signed-off-by: Michael Walle <>

6582d3e8 03/14/2013 09:50 pm Anthony Liguori

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

  1. By Peter Maydell (5) and others
  2. Via Riku Voipio
    • riku/linux-user-for-upstream:
      linux-user/syscall.c: Don't warn about unimplemented get_robust_list
      linux-user: Implement accept4...
ab214c29 03/12/2013 08:40 pm Stefan Berger

Build the TPM frontend code

Build the TPM frontend code that has been added so far.

Signed-off-by: Stefan Berger <>
Reviewed-by: Corey Bryant <>
Reviewed-by: Joel Schopp <>
Message-id: ...

a8fd1aba 03/11/2013 02:34 pm Peter Maydell

linux-user: Implement sendfile and sendfile64

Implement the sendfile and sendfile64 syscalls. This implementation
passes all the LTP test cases for these syscalls.

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

6e72a00f 03/11/2013 02:56 am Anthony Liguori

Merge remote-tracking branch 'bonzini/hw-dirs' into staging

  • bonzini/hw-dirs:
    sh: move files referencing CPU to hw/sh4/
    ppc: move more files to hw/ppc
    ppc: move files referencing CPU to hw/ppc/
    m68k: move files referencing CPU to hw/m68k/
    i386: move files referencing CPU to hw/i386/...
6a245c66 03/11/2013 02:33 am Anthony Liguori

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

  1. By Lei Li (2) and others
  2. Via Stefan Hajnoczi
    • stefanha/trivial-patches:
      Fix the wrong description in qemu manual
      pci_host: Drop write-only address_space field
      rng-random: Use qemu_open / qemu_close...
358689fe 03/08/2013 02:15 pm Michal Privoznik

configure: Require at least spice-protocol-0.12.3

As of 5a49d3e9 we assume SPICE_PORT_EVENT_BREAK to be defined.
However, it is defined not in 0.12.2 what we require now, but in
0.12.3. Therefore in order to prevent build failure we must
adjust our minimal requirements....

4652b792 03/08/2013 11:14 am Jan Kiszka

configure: Create link to icon bitmap for out-of-tree builds

This allows to pick up the icon when starting QEMU directly from an
out-of-tree build directory.

Signed-off-by: Jan Kiszka <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

3c33ea96 03/05/2013 06:51 pm Paolo Bonzini

iscsi: look for pkg-config file too

Due to library conflicts, Fedora will have to put libiscsi in
/usr/lib/iscsi. Simplify configuration by using a pkg-config
file. The Fedora package will distribute one, and the patch
to add it has been sent to upstream libiscsi as well....

76c48503 03/05/2013 04:11 pm Aurelien Jarno

Merge branch 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
    MAINTAINERS: add entry for ARM KVM guest cores
    configure: Enable KVM on ARM
    hw/kvm/arm_gic: Implement support for KVM in-kernel ARM GIC...
597e2cec 03/05/2013 04:04 pm Richard Henderson

mipsn32-linux-user: Configure the architecture properly

N32 is a 64-bit cpu with a 32-bit address space. We have
existing cpp defines for this situation, but weren't using them.

This does mean that the linux-user/mipsn32 directory must be
merged with the linux-user/mips64 directory, and differences...

51cd14d3 03/05/2013 02:58 am Richard Henderson

mips-linux-user: Enable mips64 and mipsn32 linux-user targets

At this point we can enable compilation, though things
still don't work.

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

68b05c42 03/05/2013 02:45 am Peter Maydell

configure: Enable KVM on ARM

Enable KVM on ARM hosts, now that all the necessary components
for it exist.

Signed-off-by: Peter Maydell <>
Reviewed-by: Paolo Bonzini <>

320ba5fe 03/01/2013 04:01 pm Paolo Bonzini

build: always link device_tree.o into emulators if libfdt available

Signed-off-by: Paolo Bonzini <>

e4c8b28c 03/01/2013 04:01 pm Paolo Bonzini

ppc: express FDT dependency of pSeries and e500 boards via default-configs/

Signed-off-by: Paolo Bonzini <>

ab400449 02/26/2013 09:30 pm Hu Tao

show --disable-gtk and --enable-gtk in the help message

Signed-off-by: Hu Tao <>
Message-id:
Signed-off-by: Anthony Liguori <>

528de90a 02/26/2013 09:29 pm Daniel P. Berrange

Add support for enabling build with GTK3

Add a arg to configure to switch from GTK2 (default) to
GTK3 (optional) build for QEMU.

./configure --with-gtkabi=3.0

will choose GTK3, while

./configure --with-gtkabi=2.0

will choose GTK2 (and remains the current default)...

28d2e5b2 02/22/2013 10:48 pm Stefan Weil

ui/gtk: Support versions of VTE before 0.26

This is needed for current Debian stable (Squeeze).

VTE versions before 0.26 did not support VtePty.

Lower the version requirement and use alternate code which works for Debian.

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

c95e3080 02/22/2013 10:48 pm Kevin Wolf

Reenable -Wstrict-prototypes

One part of this patch reverts commit 22bc9a46, which disabled the
warning. The rest of it deals with the warning by adding a #pragma for
newer gcc and by disabling -Werror for compilers that can't deal with
the #pragma.

Signed-off-by: Kevin Wolf <>...

5cbb0828 02/22/2013 05:53 pm Anthony Liguori

ui/gtk: require at least GTK 2.18 and VTE 0.26

This gives us the bare amount of features we need. We can add work arounds
for older versions and lower the requirement but this should be a good
starting point.

Suggested-by: Daniel Berrange <>...

22bc9a46 02/22/2013 12:34 am Anthony Liguori

build: disable Wstrict-prototypes

GTK won't build with strict-prototypes due to gtkitemfactory.h:

/* We use () here to mean unspecified arguments. This is deprecated
 * as of C99, but we can't change it without breaking compatibility.
 * (Note that if we are included from a C++ program () will mean...
a4ccabcf 02/22/2013 12:34 am Anthony Liguori

ui: add basic GTK gui (v5)

This is minimalistic and just contains the basic widget infrastructure. The GUI
consists of a menu and a GtkNotebook. To start with, the notebook has its tabs
hidden which provides a UI that looks very similar to SDL with the exception of...

834574ea 02/22/2013 12:34 am Anthony Liguori

gtk: add translation support (v5)

This includes a de_DE translation from Kevin Wolf and an it translation from
Paolo Bonzini.

Cc: Paolo Bonzini <>
Cc: Kevin Wolf <>
Cc: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>...

4075975d 02/19/2013 01:30 pm Gerd Hoffmann

usb-host: move legacy cmd line bits

The code handling the "-usbdevice host:..." legacy command line
syntax is moved to the new hw/usb/host-legacy.c file.

Signed-off-by: Gerd Hoffmann <>