Statistics
| Branch: | Revision:

root / configure @ 93d7ae8e

History | View | Annotate | Download (101.1 kB)

# Date Author Comment
eb6fda0f 06/21/2012 07:06 pm Anthony PERARD

configure: Introduce --enable-xen-pci-passthrough.

Signed-off-by: Anthony PERARD <>
Acked-by: Stefano Stabellini <>
Reviewed-by: Konrad Rzeszutek Wilk <>

8be74dc0 06/19/2012 09:32 pm Avi Kivity

configure: fix -enable-debug with newer toolchains

Fedora 17's toolchain wants optimization enabled for _FORTIFY_SOURCE;
so disable _FORTIFY_SOURCE when debugging.

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

acc55ba8 06/11/2012 11:20 pm Stefan Weil

configure: Fix build for some versions of glibc (9pfs)

Some versions declare open_by_handle_at, but don't define AT_EMPTY_PATH.
Extend the check in configure to test both preconditions.

Signed-off-by: Stefan Weil <>
Acked-by: Stefano Stabellini <>...

3525c42f 06/11/2012 08:15 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    configure: report missing libraries for virtfs
    trace/simple.c: fix deprecated glib2 interface
    Clarify comments of tb_invalidate_phys_[page_]range
f492b82d 06/10/2012 11:09 pm Max Filippov

target-xtensa: switch to AREG0-free mode

Add env parameter to every helper function that needs it, update
'configure' script.

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

263ddcc8 06/08/2012 12:01 pm Harsh Prateek Bora

configure: report missing libraries for virtfs

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Stefan Hajnoczi <>

2dee8d54 06/07/2012 10:21 am Paolo Bonzini

build: do not create directories at configure time

Signed-off-by: Paolo Bonzini <>

ec5b06d7 06/07/2012 10:21 am Anthony Liguori

configure: ensure directory exists when creating symlink

Signed-off-by: Anthony Liguori <>

00c705fb 06/07/2012 10:21 am Paolo Bonzini

build: libcacard Makefile cleanups

Build vscclient from toplevel Makefile, limit usage of vpath.

Signed-off-by: Paolo Bonzini <>

be1029ec 06/07/2012 10:21 am Paolo Bonzini

build: convert libhw to nested Makefile.objs

After this patch, the libhw* directories will have a hierarchy
that mimics the source tree. This is useful because we do have
a couple of files there that are in the top source directory.

Signed-off-by: Paolo Bonzini <>

c353f261 06/07/2012 10:21 am Paolo Bonzini

build: move per-target hw/ objects to nested Makefile.objs

This completes the move to nested Makefiles for virtio and a few
other files that were not part of obj-TARGET-y, but still were
compiled separately for each target.

Signed-off-by: Paolo Bonzini <>

3d5a3f9a 06/07/2012 10:21 am Paolo Bonzini

build: move target-independent hw/ objects to nested Makefile.objs

This patch starts converting the hw/ directory. Some files in hw/
are compiled once, some twice (32-/64-bit), some once per target.
Each category is moved in a separate patch.

After this patch, the files that are compiled once will show the...

9cdc8df3 06/07/2012 08:19 am Paolo Bonzini

build: move libobj-y variable to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

5e8861a0 06/07/2012 08:17 am Paolo Bonzini

build: move obj-TARGET-y variables to nested Makefile.objs

Also drop duplicate occurrence of device-hotplug.o.

Signed-off-by: Paolo Bonzini <>

7fc5152c 06/07/2012 08:17 am Paolo Bonzini

build: move *-user/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

9fecbed0 06/04/2012 07:49 pm Wen Congyang

target-i386: Add API to write elf notes to core file

The core file contains register's value. These APIs write registers to
core file, and them will be called in the following patch.

Signed-off-by: Wen Congyang <>
Signed-off-by: Luiz Capitulino <>

fae001f5 06/04/2012 07:49 pm Wen Congyang

implement cpu_get_memory_mapping()

Walk cpu's page table and collect all virtual address and physical address mapping.
Then, add these mapping into memory mapping list. If the guest does not use paging,
it will do nothing. Note: the I/O memory will be skipped....

8ab1bf12 05/24/2012 09:06 pm Luiz Capitulino

configure: check if environ is declared

Some systems may declare environ automatically, others don't. Check for it.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Michael Roth <>

2ae4748f 05/14/2012 08:27 am Stefan Weil

configure: Use QEMU instead of Qemu

This new 'Qemu' was recently added.
Replace it by the official all upper case 'QEMU'.

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

aabfd88d 05/08/2012 07:15 pm Andreas Färber

configure: Reindent VirtFS check

Avoid tab-indention and fit in with the surrounding code.

Signed-off-by: Andreas Färber <>
Cc: Aneesh Kumar K.V <>
Signed-off-by: Anthony Liguori <>

17500370 05/08/2012 07:15 pm Andreas Färber

configure: Assure printing "yes" or "no" for VirtFS support

When auto-detecting VirtFS support, virtfs="". Set it to "no" after
checking whether it was explicitly requested through --enable-virtfs.

Signed-off-by: Andreas Färber <>
Cc: Aneesh Kumar K.V <>...

e45bca68 05/08/2012 05:37 pm Anthony Liguori

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

  • bonzini/scsi-next:
    scsi: Add assertion for use-after-free errors
    scsi: remove useless debug messages
    scsi: set VALID bit to 0 in fixed format sense data
    scsi: do not require a minimum allocation length for REQUEST SENSE...
fa6acb0c 05/04/2012 11:39 am Ronnie Sahlberg

ISCSI: Add support for thin-provisioning via discard/UNMAP and bigger LUNs

Update the configure test for libiscsi support to detect version 1.3
or later. Version 1.3 of libiscsi provides both READCAPACITY16 as well
as UNMAP commands.

Update the iscsi block layer to use READCAPACITY16 to detect the size of...

7e3efdac 05/03/2012 11:45 am Alon Levy

spice: require spice-protocol >= 0.8.1

Requiring spice-server >= 0.8.2 is not enough since spice-server.pc
doesn't require spice-protocol (any version). Until that is fixed
upstream an explicit requirement in qemu fixes compilation broken since

commit 2e1a98c9c1b90ca093278c6b43244dc46604d7b7...

15a0f3bf 05/02/2012 02:46 am Anthony Liguori

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

  • stefanha/tracing:
    configure: check for supported Python 2.x versions
    tracetool: avoid pkgutil.iter_modules() Python 2.7 function
    tracetool: avoid str.rpartition() Python 2.5 function
    tracetool: use Python 2.4-compatible import() arguments...
725cbc68 05/02/2012 02:46 am Anthony Liguori

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

  • stefanha/trivial-patches:
    iohandler: Use bool for boolean struct member and remove holes
    async: Use bool for boolean struct members and remove a hole
    configure: Fix creation of symbolic links for MinGW toolchain
e120d449 05/01/2012 10:15 pm Stefan Hajnoczi

configure: check for supported Python 2.x versions

The tracetool code requires Python 2.4, which was released in 2004.
Check for a supported Python version so we can give a clear error
message.

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

560d375f 05/01/2012 01:49 pm Andreas Färber

configure: Add libraries for qemu-ga on Solaris

Move socket-related Solaris libraries to $solarisnetlibs and use them
for both $LIBS and $libs_qga.

Fixes build on illumos without --disable-guest-agent.

Signed-off-by: Lee Essen <>...

72b8b5a1 05/01/2012 12:12 pm Stefan Weil

configure: Fix creation of symbolic links for MinGW toolchain

The MinGW toolchain on w32/w64 hosts does not create symbolic links,
but implements 'ln -s' similar to 'cp -r'.

In incremental out of tree builds, this resulted in files which
were not updated when their counterparts in the QEMU source tree...

14821030 05/01/2012 01:17 am Pavel Borzenkov

configure: add '--disable-cocoa' switch

When SDL support is disabled, there is no way to build QEMU without
Cocoa support on MacOS X. This patch adds '--disable-cocoa' switch and
allows to build QEMU without both SDL and Cocoa frontends.

Signed-off-by: Pavel Borzenkov <>...

0adb1246 05/01/2012 01:17 am Andreas Färber

Drop darwin-user

It's been orphaned, not compiling for a long time and despite Apple's
drop of their Rosetta ppc emulation technology with Mac OS X Lion no one
has stepped up to fix it.

Testing necessary changes wrt QOM'ification thus is impossible, so we...

08de3949 04/28/2012 12:15 pm Andreas Färber

configure: Don't build bsd-user on Mac OS X by default

Fixes the build when combined with the drop of darwin-user.
Enthusiasts can still try building it using --enable-bsd-user.

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

be5ea8ed 04/26/2012 09:14 pm Anthony Liguori

Revert "configure: Virtfs doesn't require libcap."

This reverts commit d10f9056bacf7991fd6a5f63ac2e0190e84ea3a7 due to a build
breakage.

See http://spunk.home.kraxel.org/bb/builders/ubuntu-default/builds/52

Signed-off-by: Anthony Liguori <>

9afa52ce 04/24/2012 05:50 pm Eduardo Habkost

config-host.mak: reorder variables a bit

Cosmetic change.

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

528ae5b8 04/24/2012 05:50 pm Eduardo Habkost

configure: change meaning of --datadir to Autoconf convention

Autoconf uses --datadir for the /usr/share directory, not the
program-specific subdirectory inside /usr/share. This changes configure
to match autoconf behavior.

Note that this will break compatibility with existing build scripts....

023d3d67 04/24/2012 05:50 pm Eduardo Habkost

configure: add --with-confsuffix option

This will allow the user to make Qemu use a different subdirectory name
inside $datadir and $sysconfdir, instead of "/qemu".

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

d10f9056 04/24/2012 05:50 pm Kusanagi Kouichi

configure: Virtfs doesn't require libcap.

Only proxy helper does.

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Kusanagi Kouichi <>
Signed-off-by: Anthony Liguori <>

e3c56761 04/24/2012 05:50 pm Peter Portante

Remove extra pthread switch

remove the extra pthread switch which might be there
from the package config check for gthreads.

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

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

configure: rename $datadir to $qemu_datadir

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

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

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

configure: rename $docdir to $qemu_docdir

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

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

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

configure: rename $confdir to $qemu_confdir

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

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

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

config-host.mak: rename datadir to qemu_datadir

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

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

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

config-host.mak: rename confdir to qemu_confdir

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

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

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

config-host.mak: rename docdir to qemu_docdir

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

5100cb44 04/24/2012 05:50 pm Eduardo Habkost

config-host.mak: remove CONFIG_QEMU_SHAREDIR

There is no code using that variable according to 'git grep', so kill
it.

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

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

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

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

tracetool: Rewrite infrastructure as python modules

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

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

xen,configure: detect Xen 4.2

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

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

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

configure: pa_simple is not needed anymore

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

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

configure: Insist on a Python 2, not Python 3

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

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

configure: Remove useless uses of ARCH_CFLAGS

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

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

configure: Fix wrong preprocessor statement

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

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

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

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

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

Replace Qemu by QEMU in w32 installation path (prefix)

The official spelling is QEMU.

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

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

configure: require glib 2.12, 2.20 for mingw32

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

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

configure: Link qga against UST tracing related libraries

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

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

configure: Link QEMU against 'liburcu-bp'

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

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

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

configure: fix mingw32 libs_qga typo

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

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

target-lm32: add simple disassembler

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

Signed-off-by: Michael Walle <>

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

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

Signed-off-by: Michael Walle <>

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

buildfix: check for old pod2man versions

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

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

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

Fix conversion from lower to upper case with Turkish locale

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

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

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

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

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

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

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

Sparc: avoid AREG0 wrappers for memory access helpers

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

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

Signed-off-by: Blue Swirl <>

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

qom: Introduce CPU class

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

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

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

usb: the big rename

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

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

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

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

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

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

Signed-off-by: Gal Hammer <>

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

coroutine: adding configure choose mechanism for coroutine backend

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

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

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

coroutine: adding configure option for sigaltstack coroutine backend

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

v2: changed from enable/disable configure flags

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

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

configure: Test for libiberty.a (mingw32)

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

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

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

osdep: Remove local definition of macro offsetof

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

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

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

configure: Quote the configure args printed in config.log

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

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

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

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

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

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

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

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

arm: add device tree support

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

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

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

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

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

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

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

Move definition of HOST_LONG_BITS to qemu-common.h

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

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

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

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

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

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

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

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

libcacard: link with glib for g_strndup

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

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

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

qxl: require spice >= 0.8.2

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

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

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

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

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

build: allow turning off debuginfo

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

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

./configure: add option for disabling VirtFS

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

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

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

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

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

libcacard configure fixes

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

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

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

configure: Remove OpenBSD workaround for curses probe

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

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

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

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

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

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

Add support for net bridge

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

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

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

Add cap reduction support to enable use as SUID

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

setcap cap_net_admin=ep qemu-bridge-helper

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

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

Add basic version of bridge helper

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

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

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

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

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

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

./configure: add link check for nss-smartcard

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

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

qom: add the base Object class (v2)

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

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

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

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

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

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

kvm: Move kvmclock into hw/kvm folder

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

Signed-off-by: Jan Kiszka <>

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

configure: Modify detection of supported warning options

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

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

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

test: eliminate libcheck tests and have make check use gtester

Signed-off-by: Anthony Liguori <>