Statistics
| Branch: | Revision:

root / configure @ e6c3b0f7

History | View | Annotate | Download (79.8 kB)

# Date Author Comment
e6c3b0f7 10/23/2010 05:46 pm Paolo Bonzini

unbreak "make" from tests directory

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

dcc38d1c 10/21/2010 12:15 am Marcelo Tosatti

signalfd compatibility

Port qemu-kvm's signalfd compat code.

commit 5a7fdd0abd7cd24dac205317a4195446ab8748b5
Author: Anthony Liguori <>
Date: Wed May 7 11:55:47 2008 -0500

Use signalfd() in io-thread
This patch reworks the IO thread to use signalfd() instead of sigtimedwait()...
1e027be7 10/20/2010 11:52 pm Markus Armbruster

configure: Support disabling warnings in $gcc_flags

-Wall enables a bunch of warnings at once. configure puts it after
$gcc_flags. This makes it impossible to disable warnings enabled by
-Wall there. Fix by putting configured flags last.

Signed-off-by: Markus Armbruster <>...

ae0bfb79 10/13/2010 09:38 pm Blue Swirl

ppc: remove video.x

Only Mac-on-Linux stuff used video.x, OpenBIOS does not need it.

Remove video.x MoL hacks.

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

ba807829 10/09/2010 11:23 am Stefan Weil

configure: Send error message from spice check to /dev/null

pkg-config is not always available (e.g. on win32 hosts),
but we don't want to see the 'command not found' error message.

Redirect stdout and stderr to /dev/null.

v2:

  • Removed changes which should not have been here....
10d554c6 10/09/2010 11:18 am Stefan Weil

configure: Remove unneeded defines from checks

_GNU_SOURCE is already defined in QEMU_CFLAGS which
is passed to gcc in shell function compile_prog.

Removing the definition from several checks avoids compiler warnings
(which are now written to config.log)....

832ce9c2 10/09/2010 11:17 am Scott Wood

configure: include stddef.h for NULL

This fixes an observed failure to detect madvise() on Linux.

To avoid similar issues, all other tests that use NULL but don't already
have stddef.h (or another header that is defined to provide NULL,
such as stdio.h, unistd.h, or time.h) are also fixed....

4447d609 10/05/2010 10:14 pm Anthony Liguori

Merge remote branch 'spice/submit.6' into staging

Conflicts:
configure

Signed-off-by: Anthony Liguori <>

bd00d539 10/03/2010 09:31 am Andreas Färber

configure: Don't rely on special pthreads library

Haiku has pthreads integrated into its libroot.so library. No linker arguments
are needed for it, so don't fail if -lpthread and similar don't link.

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

179cf400 10/03/2010 09:31 am Andreas Färber

configure: Add basic support for Haiku

For compatibility with BeOS, Haiku's error codes are negative whereas recent
POSIX versions require them to be positive. As spotted by François, some
parts of QEMU code rely on this, so use a mapper library to convert them...

9fe6de94 09/26/2010 07:07 pm Blue Swirl

mingw: add version information to the executables

Add QEMU version information to the executables, based on earlier
work by C. W. Betts and Robert Riebisch.

Signed-off-by: Blue Swirl <>

0ba8681e 09/26/2010 09:57 am Loïc Minier

Avoid exit in trap as it breaks with some shells

Don't call exit in the trap handler as it causes the return code to be
zero with some buggy shells (dash and pdksh at least) and is useless
here anyway.

Signed-off-by: Loïc Minier <>...

e78815a5 09/25/2010 02:26 pm Andreas Färber

Introduce qemu_madvise()

vl.c has a Sun-specific hack to supply a prototype for madvise(),
but the call site has apparently moved to arch_init.c.

Haiku doesn't implement madvise() in favor of posix_madvise().
OpenBSD and Solaris 10 don't implement posix_madvise() but madvise()....

cd4ec0b4 09/21/2010 07:36 pm Gerd Hoffmann

add spice into the configure file

da1d85e3 09/21/2010 07:35 pm Gerd Hoffmann

configure: add logging

Write compile commands and messages to config.log.
Useful for debugging configure.

952afb71 09/19/2010 11:36 am Blue Swirl

mingw: use ASLR, no-SEH and DEP if available

If the linker supports the flags --dynamicbase, --no-seh,
or --nxcompat, use them.

Tested on Windows Vista: Process Explorer reports that ASLR and DEP
are in use. No effect seen on Wine or Windows XP.

Signed-off-by: Blue Swirl <>

0b65b9e1 09/18/2010 10:02 am Blue Swirl

Use gcc warning flag -Wnested-externs

If the compiler supports the warning flag -Wnested-externs, use it.

Avoid the only warning by moving the declaration of xml_builtin to a
more proper place.

Signed-off-by: Blue Swirl <>

3ffd710e 09/18/2010 10:01 am Blue Swirl

Use gcc warning flag -Wempty-body

If the compiler supports the warning flag -Wempty-body, use it.

Adjust the code to avoid the warnings.

Signed-off-by: Blue Swirl <>

a21493e0 09/18/2010 10:01 am Blue Swirl

Use a few more gcc warning flags

If the compiler supports the following warning flags, use them:

-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers
-Wmissing-include-dirs

Currently, these flags don't produce any warnings.

Signed-off-by: Blue Swirl <>

6e15cb5f 09/18/2010 08:53 am Blue Swirl

Use gcc warning flag -Wtype-limits

If the compiler supports the warning flag -Wtype-limits, use it.

Signed-off-by: Blue Swirl <>

94a420b1 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add trace-events file for declaring trace events

This patch introduces the trace-events file where trace events can be
declared like so:

qemu_malloc(size_t size) "size %zu"
qemu_free(void *ptr) "ptr %p"

These trace event declarations are processed by a new tool called...

26f7227b 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add simple built-in tracing backend

This patch adds a simple tracer which produces binary trace files. To
try out the simple backend:

$ ./configure --trace-backend=simple
$ make

After running QEMU you can pretty-print the trace:

$ ./simpletrace.py trace-events trace.log...

22890ab5 09/10/2010 12:22 am Prerna Saxena

trace: Support for dynamically enabling/disabling trace events

This patch adds support for dynamically enabling/disabling of trace events.
This is done by internally maintaining each trace event's state, and
permitting logging of data from a trace event only if it is in an...

9410b56c 09/10/2010 12:22 am Prerna Saxena

trace: Specify trace file name

Allow users to specify a file for trace-outputs at configuration.
Also, allow trace files to be annotated by <pid> so each qemu instance has
unique traces.

The trace file name can be passed as a config option:
--trace-file=/path/to/file...

7e24e92a 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add LTTng Userspace Tracer backend

This patch adds LTTng Userspace Tracer (UST) backend support. The UST
system requires no kernel support but libust and liburcu must be
installed.

$ ./configure --trace-backend ust
$ make

Start the UST daemon:
$ ustd &...

52ba784d 08/26/2010 07:18 pm Hollis Blanchard

Fix "make install" with a cross toolchain

We must be able to use a non-native strip executable, but not all
versions of 'install' support the --strip-program option (e.g.
OpenBSD). Accordingly, we can't use 'install -s', and we must run strip
separately....

efe556ad 07/27/2010 01:36 am Corentin Chary

vnc: tight add PNG encoding

Introduce a new encoding: VNC_ENCODING_TIGHT_PNG [1] (-269) with a new
tight filter VNC_TIGHT_PNG (0x0A). When the client tells it supports the Tight PNG
encoding, the server will use tight, but will always send encoding pixels using...

bd023f95 07/27/2010 01:36 am Corentin Chary

vnc: threaded VNC server

Implement a threaded VNC server using the producer-consumer model.
The main thread will push encoding jobs (a list a rectangles to update)
in a queue, and the VNC worker thread will consume that queue and send
framebuffer updates to the output buffer....

96763cf9 07/27/2010 01:36 am Corentin Chary

vnc: better default values for VNC options

vnc_jpeg and vnc_png are now "auto" by default, this means that
if the dependencies are installed (libjpeg or libpng), then they
will be enabled.

vnc_thread is disabled by default. It should be enabled by default...

3e230dd2 07/27/2010 01:35 am Corentin Chary

ui: move all ui components in ui/

Move sdl, vnc, curses and cocoa UI into ui/ to cleanup
the root directory. Also remove some unnecessary explicit
targets from Makefile.

aliguori: fix build when srcdir != objdir

Signed-off-by: Corentin Chary <>...

2f6f5c7a 07/27/2010 01:23 am Corentin Chary

vnc: tight: add JPEG and gradient subencoding with smooth image detection

Add gradient filter and JPEG compression with an heuristic to detect how
lossy the comppression will be. This code has been adapted from
libvncserver/tight.c.

JPEG support can be enabled/disabled at compile time with --enable-vnc-jpeg...

48bb3750 06/30/2010 12:07 am Richard Henderson

tcg-s390: new TCG Target

Original patch from Ulrich Hecht, further work from Alexander Graf
and Richard Henderson.

Cc: Ulrich Hecht <>
Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

758e8e38 06/22/2010 11:15 pm Venkateswararao Jujjuri (JV)

virtio-9p: Make infrastructure for the new security model.

This patch adds required infrastructure for the new security model.

- A new configure option for attr/xattr.
- if CONFIG_VIRTFS will be defined if both CONFIG_LINUX and CONFIG_ATTR defined.
- Defines routines related to both security models....

d66ed0ea 06/13/2010 01:28 pm Aurelien Jarno

tcg-s390: correctly detect s390 with a 64-bit kernel

Signed-off-by: Aurelien Jarno <>

28d7cc49 06/11/2010 07:16 pm Richard Henderson

tcg-s390: Adjust compilation flags.

Force -m31/-m64 based on s390/s390x target.

Force -march=z990. The TCG backend will always require the
long-displacement facility, so the compiler may as well make
use of that as well.

Signed-off-by: Richard Henderson <>...

4d58be06 06/11/2010 07:15 pm Richard Henderson

s390x: Don't use a linker script for user-only.

The default placement of the application at 0x80000000 is fine,
and will avoid the default placement for most other guests.

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

5d8a4f8f 06/10/2010 01:16 am Richard Henderson

tcg-i386: Merge 64-bit generation.

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

1c0fd160 06/10/2010 01:14 am Aurelien Jarno

configure: display sysconfdir in summary

Signed-off-by: Aurelien Jarno <>

6bde81cb 06/10/2010 01:09 am Paolo Bonzini

configure: ignore unknown --xyzdir options

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

683035de 06/10/2010 01:09 am Paolo Bonzini

configure: move directory defaults earlier

Unify with existing special-purpose configure code for win32.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

ca35f780 06/10/2010 01:09 am Paolo Bonzini

move computation of tools and roms outside of config-host.mak generation

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

7ee2822c 06/10/2010 01:09 am Paolo Bonzini

rename CONFIG_QEMU_PREFIX

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

f2b9e1e3 06/10/2010 01:09 am Paolo Bonzini

configure: unify handling of xyzdir variables

Making an xyzdir variable for each directory prepares for the next
patches introducing config-host.h defines and configure options for them.
It also fixes the problem where overriding prefix at "make install"...

99d7cc75 06/10/2010 01:09 am Paolo Bonzini

configure: move all directory entries in config-host.mak close

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

1dabe05c 06/10/2010 01:09 am Paolo Bonzini

configure: expand ${prefix} in create_config

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

0b24e75f 06/10/2010 01:09 am Paolo Bonzini

configure: introduce more --xyzdir options

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

a447d4dc 06/10/2010 01:09 am Paolo Bonzini

configure: bail out early on invalid -cpu option

It would fail later anyway.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

f55fe278 06/10/2010 01:09 am Paolo Bonzini

configure: avoid using expr

Just a personal preference against duplicating hieroglyphics.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

0bfe8cc0 06/10/2010 01:09 am Paolo Bonzini

configure: dyngen is long time gone

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

e7b45cc4 06/10/2010 01:09 am Paolo Bonzini

configure: introduce sysconfsuffix

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

190e9c59 06/10/2010 01:09 am Paolo Bonzini

configure: introduce confdir and confsuffix

confsuffix was write-only, flesh it out.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

4021d247 06/10/2010 01:09 am Aurelien Jarno

configure: remove some bashisms

Signed-off-by: Aurelien Jarno <>

d44cff22 06/08/2010 08:12 pm Richard Henderson

Fix --enable-user-pie compilation.

We forgot to propagate -fpie to the libdis-user directory.

Signed-off-by: Richard Henderson <>
Acked-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

b40292e7 06/01/2010 09:48 pm Jan Kiszka

QMP: Introduce commands documentation

One of the most important missing feature in QMP today is its
supported commands documentation.

The plan is to make it part of self-description support, however
self-description is a big task we have been postponing for a...

fec0e3e8 05/19/2010 09:46 am Stefan Weil

Fix cross compilation

This patch enhances the algorithm which finds the correct settings for SDL.
For cross compilations (when cross_prefix is set), it looks for sdl-config
with cross prefix. Here is the complete search order:

$(cross_prefix}pkg-config (old, only used for cross compilation)...

048d179f 05/05/2010 06:32 pm Paul Brook

Avoid libaio for usermode

Linux AIO is aonly used by system emulation, so should not be linked into
the userspace emulatior.

Signed-off-by: Paul Brook <>

74db920c 05/03/2010 08:17 pm Gautham R Shenoy

virtio-9p: Create a commandline option -fsdev

This patch creates a new command line option named -fsdev to hold any file
system specific information.

The option will currently hold the following attributes:
-fsdev fstype id=id,path=path_to_share
where
fstype: Type of the file system....

a4b388ff 04/27/2010 06:50 am Richard Henderson

target-alpha: Enable NPTL.

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

6495a044 04/25/2010 03:59 pm Richard Henderson

linux-user: Remove ELFLOAD32.

The ABI-specific types used by linux_binprm and image_info
are different after forcing TARGET_ABI32 on. Which means
that the parameters that load_elf_binary_multi sees are not
those that loader_exec passed. This is inherently broken...

f038e8f7 04/14/2010 01:23 am Stefan Weil

Use correct cflags for kvm-kmod when cross compiling

Using $pkgconfig instead of pkg-config will use
${cross_prefix}pkg-config if that is available.

This fix is needed for cross compilations without
modified PATH. Without the fix, PATH must be modified
to find the cross pkg-config before the native...

fd76e73a 04/08/2010 12:11 pm Richard Henderson

tcg-hppa: Finish the port.

Delete inline functions from tcg-target.h that don't need to be there,
move the others to tcg-target.c. Add 'Z', 'I', 'J' constraints for
0, signed 11-bit, and signed 5-bit respectively. Add GUEST_BASE support
similar to ppc64, with the value stored in a register. Add missing...

355b1943 04/05/2010 02:28 am Paul Brook

Split TLB addend and target_phys_addr_t

Historically the qemu tlb "addend" field was used for both RAM and IO accesses,
so needed to be able to hold both host addresses (unsigned long) and guest
physical addresses (target_phys_addr_t). However since the introduction of...

903ec55c 04/01/2010 10:51 pm Aurelien Jarno

ia64 disas support

Taken from binutils SVN, using last GPLv2 version.

Signed-off-by: Aurelien Jarno <>

477ba620 04/01/2010 10:51 pm Aurelien Jarno

tcg: initial ia64 support

A few words about design choices:
  • On IA64, instructions should be grouped by bundle, and dependencies
    between instructions declared. A first version of this code tried to
    schedule instructions automatically, but was very complex and too...
d5970055 04/01/2010 09:56 pm Michael S. Tsirkin

vhost: vhost net support

This adds vhost net device support in qemu. Will be tied to tap device
and virtio by following patches. Raw backend is currently missing,
will be worked on/submitted separately.

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

f01576f1 03/30/2010 08:45 pm Juergen Lock

Get bsd-user host page protection code working on FreeBSD hosts

Use kinfo_getvmmap(3) on FeeBSD >= 7.x and /compat/linux/proc on older
FreeBSD. (kinfo_getvmmap is preferred since /compat/linux/proc is
usually only mounted on hosts also using the Linuxolator.)...

cc01cc8e 03/27/2010 06:31 pm Aurelien Jarno

tcg-mips: add guest base support

Signed-off-by: Aurelien Jarno <>

c05c7a73 03/26/2010 06:15 pm Riku Voipio

linux-user: add inotify_init1 syscall support

New syscall which gets actively used when you have a
fresh kernel.

Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

9953b2fc 03/21/2010 09:47 pm Blue Swirl

Compile most IDE devices only once

Signed-off-by: Blue Swirl <>

4d904533 03/21/2010 10:28 am Blue Swirl

Compile disassemblers only once

Signed-off-by: Blue Swirl <>

ca2fb938 03/13/2010 01:07 pm Andre Przywara

configure: fix --sysconfdir specification

--sysconfdir requires a parameter (the path), this should be reflected
in the case pattern.

Reported-by: Frank Arnold <>
Signed-off-by: Andre Przywara <>
Signed-off-by: Aurelien Jarno <>

b1aa27c4 03/12/2010 08:45 pm Paul Brook

Remove userspace target_phys_addr_t

TARGET_PHYS_ADDR_BITS isn't meaningful for userspace emulation, so don't
define it.

Signed-off-by: Paul Brook <>

f8aa6c7b 03/09/2010 05:03 pm Stefan Weil

configure: Fix wrong stderr redirection

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

37116c89 03/09/2010 05:03 pm Stefan Weil

configure: Fix code which creates config.mak files

These files are created by configure and grow
unnecessarily at each new call of configure:

roms/seabios/config.mak
roms/vgabios/config.mak
libhw32/config.mak
libhw64/config.mak

libhw32/config.mak and libhw64/config.mak set...

01668d98 03/07/2010 12:07 am Stefan Weil

Documentation: Modify rule for html output (better looking output format)

To create html output from texi input, texi2html was used.
Output from makeinfo looks cleaner, so replace the old rule
and use makeinfo now.

For those who want to use their own variant of html output,...

e94a7936 02/19/2010 11:32 pm Stefan Weil

mingw32: Enable C99/POSIX format strings

Starting with mingw32-runtime 3.15, C99/POSIX
format strings (%zu, %lld, ...) are supported
by defining __USE_MINGW_ANSI_STDIO=1.

As QEMU uses such format strings, unconditionally
define this macro. It won't hurt on older revisions...

b4475aa2 02/19/2010 11:18 pm Luiz Capitulino

Monitor: Debugging support

Add configure options (--enable-debug-mon and --disable-debug-mon)
plus the MON_DEBUG() macro.

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

74f42e18 02/08/2010 01:29 pm TeLeMan

configure: fix the static compilation for sdl

The static compilation for sdl is broken after
79427693174a553d62f3da44aacd3f19ba8df3a7.

Signed-off-by: TeLeMan <>
Signed-off-by: Aurelien Jarno <>

d2807bc9 02/08/2010 01:24 pm Dirk Ullrich

configure: Add --enable-docs and --disable-docs to --help

This patch adds the documentation-related options "--enable-docs" and
"--disable-docs" to the help message of "configure".

Signed-off-by: Dirk Ullrich <>
Signed-off-by: Aurelien Jarno <>

79427693 02/06/2010 11:22 pm Loïc Minier

Add -static earlier to LDFLAGS for compile_prog()

Add -static to LDFLAGS earlier as to run the compile_prog() tests with
this flags, this will avoid turning on features for which a shared
library is available but not a static one.

Signed-off-by: Loïc Minier <>...

02ecd9fc 02/06/2010 10:34 pm Aurelien Jarno

configure: remove debugging code introduced in aa527b65d8187b97d73f889b6cae7b6ac6f82d32

Signed-off-by: Aurelien Jarno <>

aa527b65 02/06/2010 10:22 pm Aurelien Jarno

configure: fix compilation on hosts without -fstack-protector-all

Commit a0f291fc101a7ab3e40850a329da2cc2f2cd1f2d has enabled
-fstack-protector-all on all targets, as the configure test is bogus.
GCC only emits a warning and not an error if this option is not...

6792aa11 01/28/2010 11:27 pm Loïc Minier

Solaris: test for presence of commands with has()

Signed-off-by: Loïc Minier <>
Signed-off-by: Blue Swirl <>

0dba6195 01/28/2010 11:26 pm Loïc Minier

Add and use has() and path_of() funcs

Add has() and path_of() funcs and use them across configure; has()
will test whether a command or builtin is available; path_of() will
search the PATH for executables and return the full pathname if found.

Signed-off-by: Loïc Minier <...

a0dfd8a4 01/28/2010 11:15 pm Loïc Minier

Check for sdl-config before calling it

Check whether sdl-config is available before calling it, otherwise
./configure triggers a warning:
./configure: 957: sdl-config: not found

If neither the .pc file not sdl-config are present, disable SDL support....

84958305 01/26/2010 10:59 pm Kirill A. Shutemov

Enable _FORTIFY_SOURCE=2

_FORTIFY_SOURCE is a Glibc feature which adds memory and string function
protection.

Signed-off-by: Kirill A. Shutemov <>
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a0f291fc 01/26/2010 10:59 pm Juan Quintela

Check availavility of -fstack-protector-all

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

07381cc1 01/24/2010 05:37 pm Anthony Liguori

Support --sysconfdir in configure to specify path to configuration files

The default value is ${prefix}/etc/qemu. --sysconfdir can be used to override
the default to an absolute path. The expectation is that when installed to
/usr, --sysconfdir=/etc/qemu will be used....

f91672e5 01/14/2010 01:14 am Paolo Bonzini

use cross-prefix for pkgconfig

Since pkgconfig can give different output for different targets,
it should be tried with the cross-compilation prefix first.

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

67c274d3 01/14/2010 01:14 am Paolo Bonzini

fixes to the static compilation case for sdl

After the next commit, pkg-config could be used for the shared library
configuration case and sdl-config for static libraries. So I prepare
the test here by doing two changes:

at the same time I remove useless backslashes from the invocation of...

9316f803 01/14/2010 01:14 am Paolo Bonzini

use pkg-config for sdl whenever available

Together with the first patch this enables using the prefixed
pkg-config, thus picking up the correct flags for SDL.

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

4e2b0658 01/14/2010 01:14 am Paolo Bonzini

use pkg-config for libcurl whenever available

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

ffd8b67f 01/12/2010 10:32 pm Jan Kiszka

kvm: Use kvm-kmod headers if available

Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM
kernel headers. Use it when available and not overruled by --kerneldir.

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

dae5079a 01/12/2010 10:32 pm Jan Kiszka

kvm: Detect availability of kvm_para.h

Will be required for upcoming KVM cpuid leaf. Host kernels >= 2.6.32 as
well as future kvm-kmod releases (more recent than kvm-kmod-2.6.32.3)
do/will provide them.

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

59bc10ee 01/09/2010 12:55 am Paolo Bonzini

finish VPATH -> vpath translation

This adds a few more vpath suffixes and points the remaining two paths
explicitly to $(SRC_PATH) in order to eliminate the VPATH assignment
from config-host.mak.

Signed-off-by: Paolo Bonzini <>
Cc: Juan Quintela <>...

0e8c9214 01/07/2010 08:08 pm Andreas Färber

Drop --whole-archive and static libraries

Juan has contributed a cool Makefile infrastructure that enables us to drop
static libraries completely:

Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
and link those object files directly into the executables....

2bff4b6f 12/23/2009 05:34 pm Blue Swirl

Compile qemu-nbd also on OpenBSD and Solaris

basename() needs #include <libgen.h>.

No prototype for daemon() is available on Solaris, but link
succeeds.

Signed-off-by: Blue Swirl <>

299060a0 12/19/2009 05:16 pm Kirill A. Shutemov

user_only: compile everything with -fpie

We really need compile all sources for user target with -fpie when
use --enable-user-pie.

It's regression introduced by commit add16157d72454.

Signed-off-by: Kirill A. Shutemov <>
Cc: Blue Swirl <>...

990b3e19 12/13/2009 09:32 pm Richard Henderson

target-alpha: Enable softfloat.

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

20ff6c80 12/12/2009 03:59 pm Anthony Liguori

Do not abort on qemu_malloc(0) in production builds

qemu_malloc() does not allow size=0 to be passed in and aborts on this behavior.

Unfortunately, there is good reason to believe that within qemu, there are a
number of, so far, undetected places that assume size=0 can be safely passed....