Statistics
| Branch: | Revision:

root / configure @ 0ed8b6f6

History | View | Annotate | Download (101.5 kB)

# Date Author Comment
d962783e 07/28/2012 12:13 am Jia Liu

target-or32: Add linux user support

Add QEMU OpenRISC linux user support.

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

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

target-or32: Add target stubs and QOM cpu

Add OpenRISC target stubs, QOM cpu and basic machine.

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

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

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

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

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

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

audio: Make PC speaker audio card available by default

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

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

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

coroutine-ucontext: Help valgrind understand coroutines

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

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

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

configure: add -Werror to QEMU_CFLAGS early

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

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

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

ARM: Make target_phys_addr_t 64 bits and physaddrs 40 bits

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

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

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

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

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

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

Remove support for non-threaded VNC server

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

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

configure: Assure existence of linux-headers/ build directory

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

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

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

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

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

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

  • sstabellini/compile-xs:
    xenstore: Use <xenstore.h>
    xen: Reorganize includes of Xen headers.
7a542b67 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/xen-pt' into staging

  • sstabellini/xen-pt:
    Introduce Xen PCI Passthrough, MSI
    Introduce apic-msidef.h
    Introduce Xen PCI Passthrough, PCI config space helpers
    Introduce Xen PCI Passthrough, qdevice
    qdev-properties: Introduce pci-host-devaddr....
2f5a189c 06/24/2012 02:04 am Blue Swirl

ppc: Move load and store helpers, switch to AREG0 free mode

Add an explicit CPUPPCState parameter instead of relying on AREG0
and rename op_helper.c (which only contains load and store helpers)
to mem_helper.c. Remove AREG0 swapping in
tlb_fill().

Switch to AREG0 free mode. Use cpu_ld{l,uw}_code in translation...

4e1797f9 06/22/2012 11:47 am Stefan Weil

configure: Fix typo

The typo did not cause an error because open_by_handle_at
was only compared to "yes".

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

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 <>

e108a3c1 06/21/2012 02:44 pm Anthony PERARD

xenstore: Use <xenstore.h>

In the next release of Xen (4.2), xs.h became deprecated.

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

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()...