| Branch: | Revision:

root / Makefile @ feature-archipelago

History | View | Annotate | Download (18.4 kB)

# Date Author Comment
d47e95c0 03/04/2014 03:09 pm Peter Maydell

Merge remote-tracking branch 'remotes/mcayland/qemu-sparc' into staging

  • remotes/mcayland/qemu-sparc:
    sun4m: Add Sun CG3 framebuffer initialisation function
    sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM
    sun4m: fix slavio timer RUN/STOP bit...
57f45b62 03/04/2014 03:02 pm Stefan Weil

Makefile: Add missing dependency for system emulation (fix build)

Comment from Makefile.objs:

The system emulation needs this dependency (which was missing in Makefile),
otherwise builds without tools (or massive parallel builds) fail.

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

9eb08a43 02/27/2014 12:01 pm Mark Cave-Ayland

sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM

The CG3 framebuffer is a simple 8-bit framebuffer for use with operating
systems such as early Solaris that do not have drivers for TCX.

Signed-off-by: Mark Cave-Ayland <>...

6dedf052 02/24/2014 05:38 pm Peter Maydell

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

  • remotes/bonzini/configure:
    build: softmmu targets do not have a "main.o" file
    configure: Disable libtool if -fPIE does not work with it (bug #1257099)
    block: convert block drivers linked with libs to modules...
17969268 02/20/2014 02:14 pm Fam Zheng

rules.mak: introduce DSO rules

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

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

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

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

module: implement module loading

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

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

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

Makefile: install modules with "make install"

Install all the modules to ${MODDIR}.

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

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

Makefile: introduce common-obj-m and block-obj-m for DSO

$(common-obj-m) will include $(block-obj-m), like $(common-obj-y) does
for $(block-obj-y).

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

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

rules.mak: fix $(obj) to a real relative path includes rule.mak and unnested common-obj-y, then prefix
them with '../', this will ignore object specific QEMU_CFLAGS in subdir

$(obj)/curl.o: QEMU_CFLAGS += $(CURL_CFLAGS)...
e6bf23f8 02/19/2014 12:08 pm Mohamad Gebai

Adapt Makefiles to the new LTTng ust interface

Add generation of new files for LTTng ust.

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

bf2eaf71 01/15/2014 09:34 pm Eduardo Habkost

Add bios-256k.bin to BLOBS on Makefile

The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but
"make install" isn't installing it, so qemu-system-x86_64 won't run out
of the box. Add it to BLOBS so it gets installed.

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

da87dd7b 11/21/2013 06:38 pm Mark Cave-Ayland

sun4m: Add FCode ROM for TCX framebuffer

Upstream OpenBIOS now implements SBus probing in order to determine the
contents of a physical bus slot, which is required to allow OpenBIOS to
identify the framebuffer without help from the fw_cfg interface.

SBus probing works by detecting the presence of an FCode program...

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

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

  1. By Jan Krupa (4) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      hw/i386/Makefile.obj: use $(PYTHON) to run .py scripts consistently
      configure: Use -B switch only for Python versions which support it...
3751e722 11/13/2013 01:48 pm Jan Krupa

qemu-char: add Czech keymap file

This patch adds Czech keyboard layout to available keymap files
and Makefile.

Signed-off-by: Jan Krupa <>
Signed-off-by: Michael Tokarev <>

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

configure: Add config.status to recreate the current configuration

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

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

2cdfb123 10/11/2013 05:50 pm Wenchao Xia

build: add command check-clean

This command will package the clean operations in tests. Now root Makefile
simply calls the command and do not care the details of it any more. Original
the built binaries for test will not be removed, now they will be deleted...

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

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

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

Makefile: Remove some more files when cleaning

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

d076a2ad 09/18/2013 03:57 pm Luiz Capitulino

QMP: fix qmp-commands.txt generation path

This file should be generated in the BUILD_DIR, as all other docs.

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Eric Blake <>

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

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

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

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

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

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

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

7e75e33e 08/27/2013 03:21 pm Stefan Weil

w32: Fix broken out-of-tree builds (missing version.o)

Commit 0b516ef0dfad9a7b34c675c98e8ec92ab4d38466 added version.o to all
executables, but broke out-of-tree builds: for those builds the pattern
rule %.o: %.rc from rules.mak does not match, so version.o was no longer...

0b516ef0 08/12/2013 05:19 pm Stefan Weil

w32: Add missing version.o to all executables (fix regression)

QEMU executables for w32, w64 had included meta information built from
version.rc. These rules were changed several times some months ago.

The latest version added version.o to the tools, but not to the system...

f53ec699 07/29/2013 12:43 pm Stefan Weil

w32, w64: Add build rule for installer

The new rules in Makefile allow building installers for QEMU on Windows
using NSIS, a package which is also available for Linux distributions
(so cross builds are possible).

The rules for NSIS are in qemu.nsi which also uses two new images....

965f486c 06/21/2013 09:52 pm Peter Maydell

Makefile: pass include directives to dtc via CPPFLAGS, not CFLAGS

The dtc submodule's makefile expects -I include directives to be
in CPPFLAGS, not CFLAGS. Getting this wrong meant that the include
directive would not be applied when generating the dependency .d...

8a3e8f7f 06/11/2013 10:45 pm Andreas Färber

Makefile: Install qemu-img and qemu-nbd man pages only if built

When splitting openSUSE's qemu and qemu-linux-user packages we noticed
that for linux-user-only builds unrelated man pages got installed.
It's surely possible to delete them before packaging, but not installing...

f7da9c17 06/10/2013 07:36 pm Anthony Liguori

gtk: use better icon

The current icon looks pretty terrible rendered in Gnome. This
switches to a transparent SVG which looks much nicer.

Signed-off-by: Anthony Liguori <>

0b613881 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Move remaining helpers from cmd.c

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

587da2c3 06/06/2013 12:27 pm Kevin Wolf

Make qemu-io commands available in HMP

It was decided to not make this command available in QMP in order to
make clear that this is not supposed to be a stable API and should be
used only for testing and debugging purposes.

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

797ac58c 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Split off commands to qemu-io-cmds.c

This is the implementation of all qemu-io commands that make sense to be
called from the qemu monitor, i.e. everything except open, close and

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>...

f2e3978b 05/30/2013 07:37 pm Laszlo Ersek

Makefile: create ".../var/run" when installing the POSIX guest agent

Otherwise the default local state directory of POSIX qga won't exist after
installation with a non-standard ${prefix} or DESTDIR.

For now qga is the only user of ".../var" (= $qemu_localstatedir) too, so...

0b400e79 05/23/2013 04:44 pm Michael Roth

qapi: enable generation of native list code

Also, fix a dependency issue with libqemuutil: qemu-sockets.c needs

Signed-off-by: Michael Roth <>
Reviewed-by: Laszlo Ersek <>
Reviewed-by: Amos Kong <>...

fba90ac1 05/03/2013 08:04 pm Paolo Bonzini

win32: fix compilation again

While commit c02817e5bfbb27955cac970019e6670dc427bc41 fixed compilation
without an installed libtool, moving the dependencies to rules.mak does
not work because the version-*-y variables are not defined yet. Building
in a clean tree thus fails....

c02817e5 04/27/2013 01:28 am Paolo Bonzini

win32: move Makefile dependencies on version-obj-y to rules.mak

This makes the test on $(LIBTOOL) work. Otherwise, LIBTOOL
is /bin/false by the time the test is done.

Fixes Win32 compilation without a working cross-libtool.

Signed-off-by: Paolo Bonzini <>

6821cdc7 04/27/2013 01:28 am Paolo Bonzini

win32: add generic RC rules to rules.mak

Signed-off-by: Paolo Bonzini <>

0c1fecdd 04/26/2013 09:18 pm Alexander Graf

S390: ccw firmware: Add compiled blob

Now that we have all the source code ready, add a compiled blob into
the QEMU source tree, so that people without access to an s390 compiler
can run the s390-ccw firmware.

Signed-off-by: Alexander Graf <>

9005a51b 04/26/2013 03:48 am Peter Crosthwaite

Makefile: Don't build shared libfdt

The submodule DTC should just build and use DTC as static (the whole
motivation for using submod is lack of widespread distro support).

The .so causes build failures on some platforms, so adjust the make
target to just build the static lib....

e3351000 04/26/2013 03:48 am Peter Crosthwaite

Makefile: Use QEMU_FLAGS for DTC compilation

Build DTC as QEMU is built. Fixes the issue with mingw build which can't
handles DTC's default CFLAGS.

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Edgar E. Iglesias <>

1bfffe21 04/24/2013 09:23 pm Anthony Liguori

Merge remote-tracking branch 'alon/libcacard_ccid.1' into staging

  1. By Alon Levy (15) and others
  2. Via Alon Levy
    • alon/libcacard_ccid.1: (28 commits)
      libcacard/cac: change big switch functions to single return point
      dev-smartcard-reader: empty implementation for Mechanical (fail correctly)...
f3aa844b 04/24/2013 08:18 pm Paolo Bonzini

build: include config-{, all-}devices.mak after defining CONFIG_SOFTMMU and CONFIG_USER_ONLY

Moving the inclusions closer to Makefile, and before rules.mak, makes
Makefile and more consistent with each other.

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

5354e4d2 04/24/2013 11:47 am Marc-André Lureau

libcacard: fix mingw64 cross-compilation

Compile and link with version.lo

Signed-off-by: Marc-André Lureau <>
Reviewed-by: Alon Levy <>

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

9fd02979 04/15/2013 06:22 pm Sander Eikelenboom

Update Makefile to actually install the new efi-enabled nic roms that are used by default.

Commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f made a switch use the efi-enabled nic roms by default.
This patch updates the Makefile to install the roms so they can actually be used....

bb585a78 04/08/2013 07:13 pm Paolo Bonzini

build: enable using $(CONFIG_FOO) on the rhs of config files

Signed-off-by: Paolo Bonzini <>

45be2f5d 03/28/2013 03:19 pm Lluís Vilanova

trace: Provide a generic tracing event descriptor

Uses tracetool to generate a backend-independent tracing event description
(struct TraceEvent).

The values for such structure are generated with the non-public "events"
backend ("events-c" frontend).

The generation of the defines to check if an event is statically enabled is also...

b1999e87 03/15/2013 06:36 pm David Gibson

Fix TAGS creation

Currently the Makefile creates TAGS for emacs with the command:
find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
That works only if xargs ends up invoking etags just once. If xargs runs
etags several times, as it will if there are enough files, then the later...

88070801 03/09/2013 02:00 pm Andreas Färber Emit dependency file to directory where included

Placing the config-devices.mak.d file alongside the config-devices.mak
file in -softmmu/ lead to it getting included into through
-softmmu/Makefile in addition to ./Makefile, leading to confusion....

916359f6 03/09/2013 02:00 pm Andreas Färber

Makefile: Add subdir dependency on config-devices-all.mak

What 23bf49b5eca716aaad073f2b47613434e1515cb5 really seemed to try to
fix is that Makefile could recurse into *-softmmu/ subdirectories before
a new *-softmmu/config-devices.mak was generated from pci.mak....

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

0c3c89d6 01/26/2013 03:30 pm Paolo Bonzini

build: remove *.lo, *.a, *.la files from all subdirectories on make clean

.lo files in stubs/, util/ and libcacard/ were not cleaned.
Fix this.

Cc: Blue Swirl <>
Reported-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>...

82cb6b04 01/26/2013 03:15 pm Paolo Bonzini

build: remove extra-obj-y

extra-obj-y is somewhat complicated to understand. Replace it with a
special CONFIG_ALL symbol that is defined only at toplevel.
This limits the case of directories defining more than one
*-obj-y target.

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

00082344 01/26/2013 03:15 pm Paolo Bonzini

build: remove universal-obj-y

All of universal-obj-y, user-obj-y (right now unused) and common-obj-y can
be unified into common-obj-y if we take care of defining CONFIG_SOFTMMU
and CONFIG_USER_ONLY in the toplevel makefile. This is similar to how
we define symbols for hardware components....

781c0c33 01/17/2013 03:32 pm Stefan Hajnoczi

Makefile: drop recursive libcacard clean

Commit eb8eb53e5846a957cf333f2e1ec8cb6e0c04 ("libcacard: rewrite
Makefile in non-recursive style") refactored libcacard/Makefile so it
can be included by the top-level Makefile.

The top-level clean target still loops over subdirectories, including...

af381ebe 01/16/2013 08:15 pm Paolo Bonzini

build: fix Win32 clean build

The version.o file did not appear explicitly as a dependency, and
this caused clean builds to fail. Force its build by making the
Makefile depend on version.o.

(We cannot add it to libqemuutil.a, because it doesn't export any...

a507db95 01/14/2013 06:27 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/pixman.v6' into staging

  • kraxel/pixman.v6:
    pixman: pass extra cflags and ldflags

Signed-off-by: Anthony Liguori <>

f9943cd5 01/14/2013 01:50 pm Gerd Hoffmann

pixman: pass extra cflags and ldflags

Store --extra-cflags and --extra-ldflags in config-host.mak,
then pass them on to the pixman configure script.

Cc: Scott Wood <>
Signed-off-by: Gerd Hoffmann <>

576d5506 01/12/2013 07:42 pm Paolo Bonzini

build: move base QAPI files to libqemuutil.a

Signed-off-by: Paolo Bonzini <>

bf0842b7 01/12/2013 07:42 pm Paolo Bonzini

build: move version-obj-y to the generic LINK rule

There is no reason for it to be in block-obj-y, in particular.

Signed-off-by: Paolo Bonzini <>

ff667e2e 01/12/2013 07:42 pm Paolo Bonzini

build: fold trace-obj-y into libqemuutil.a

Signed-off-by: Paolo Bonzini <>

e4b42e6e 01/12/2013 07:42 pm Paolo Bonzini

build: rename oslib-obj-y to util-obj-y

This prepares the creation of libqemuutil.a in the next patch.

Signed-off-by: Paolo Bonzini <>

8a090705 01/12/2013 07:42 pm Paolo Bonzini

build: move util-obj-y to libqemuutil.a

Use a static library to eliminate repetition in the linking rules.

Signed-off-by: Paolo Bonzini <>

f157ebba 01/12/2013 07:42 pm Paolo Bonzini

build: move files away from tools-obj-y, common-obj-y, user-obj-y

Split them between libqemuutil.a and, for those used by qemu-img/io/nbd,

Static libraries ensure that binaries such as qemu-ga do not include
unused modules.

Signed-off-by: Paolo Bonzini <>

a372823a 01/12/2013 07:42 pm Paolo Bonzini

build: move qobject files to qobject/ and libqemuutil.a

Signed-off-by: Paolo Bonzini <>

992aeb8e 01/12/2013 07:42 pm Paolo Bonzini

libcacard: rewrite Makefile in non-recursive style

Signed-off-by: Paolo Bonzini <>

b6fc675b 01/12/2013 06:19 pm Paolo Bonzini

libcacard: require libtool to build it

Do not fail at build time, instead just disable the library if libtool
is not present.

Signed-off-by: Paolo Bonzini <>

5708fc66 01/12/2013 06:19 pm Paolo Bonzini

stubs: fully replace qemu-tool.c and qemu-user.c

Signed-off-by: Paolo Bonzini <>

7e973bb2 01/11/2013 09:30 am Laszlo Ersek

Makefile: install the "acpi-dsdt.aml" and "q35-acpi-dsdt.aml" blobs too

The WARNING message from commit f7e4dd6c made me notice.

Signed-off-by: Laszlo Ersek <>
Signed-off-by: Gerd Hoffmann <>

96610da2 01/09/2013 12:38 am Tomoki Sekiyama

qemu-ga: sample fsfreeze hooks

Adds sample hook scripts for --fsfreeze-hook option of qemu-ga.
- fsfreeze-hook : execute scripts in fsfreeze-hook.d/
- fsfreeze-hook.d/ : quiesce MySQL before snapshot

Signed-off-by: Tomoki Sekiyama <>...

eac236ea 12/23/2012 10:28 pm Lluís Vilanova

build: Use separate makefile for "trace/"

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Lluís Vilanova <>
Changes in v2:

  • Do not depend on "qemu-timer-common.o".
  • Use "$(obj)" in rules to refer to the build sub-directory....
2870dc34 12/19/2012 09:31 am Paolo Bonzini

qemu-ga: move qemu-ga files to qga/

Signed-off-by: Paolo Bonzini <>

9d9199a0 12/19/2012 09:29 am Paolo Bonzini

build: adjust setting of QEMU_INCLUDES

Make it correct for nested directories, and move the static part
from Makefile to configure.

Signed-off-by: Paolo Bonzini <>

525877c9 12/19/2012 09:29 am Paolo Bonzini

build: move rules from Makefile to */Makefile.objs

Signed-off-by: Paolo Bonzini <>

76cad711 12/19/2012 09:29 am Paolo Bonzini

build: kill libdis, move disassemblers to disas/

Signed-off-by: Paolo Bonzini <>

8e98e2e8 12/19/2012 09:29 am Paolo Bonzini

build: kill libuser

Signed-off-by: Paolo Bonzini <>

7937e75b 12/19/2012 09:29 am Paolo Bonzini

vscclient: use per-target variables

Signed-off-by: Paolo Bonzini <>

5f0cef1a 12/17/2012 07:56 pm Paolo Bonzini

libcacard: simplify rules for recursive build

Signed-off-by: Paolo Bonzini <>

a85903ff 11/24/2012 10:03 pm Wenchao Xia

Build system fix distclean error for pixman

Currently Makefile test if pixman have configure log, but the script directly
return error if that file do not exist. This patch fix it.

Signed-off-by: Wenchao Xia <>
Reviewed-by: Peter Maydell <>...

16529ced 11/19/2012 11:48 am Stefan Weil

Makefile: Add missing dependency (fix parallel builds)

The executables in i386-softmmu, i386-linux-user, ...
depend on the recently added libqemustub.a.

Signed-off-by: Stefan Weil <>
Signed-off-by: Paolo Bonzini <>

3bc2f570 11/18/2012 09:19 pm Paolo Bonzini

build: replace weak symbols with a static library

Weak symbols were a nice idea, but they turned out not to be a good one.
Toolchain support is just too sparse, in particular llvm-gcc is totally

This patch uses a surprisingly low-tech approach: a static library....

feb33ea7 11/14/2012 02:46 pm Gerd Hoffmann

pixman: cleanup properly on make distclean

Signed-off-by: Gerd Hoffmann <>

c28fa5a0 11/14/2012 02:28 pm Gerd Hoffmann

pixman: pass cflags, add -fPIC

Pass on CFLAGS to the pixman configure script.
Add -fPIC to the cflags, needed to make the final link succeed.

Signed-off-by: Gerd Hoffmann <>

4d5bdd0b 11/14/2012 02:28 pm Gerd Hoffmann

pixman: disable gtk

gtk is only needed to build test cases.
Disable it to simplify the build.

Signed-off-by: Gerd Hoffmann <>

42da6041 11/14/2012 01:59 pm Gerd Hoffmann

pixman: set --host for cross builds

Set --host when calling pixman configure while doing cross builds so
pixman's autoconf picks up the cross build tools correctly.

Signed-off-by: Gerd Hoffmann <>

4ba79505 11/01/2012 06:14 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/pixman.v3' into staging

  • kraxel/pixman.v3: (22 commits)
    pixman: drop obsolete fields from DisplaySurface
    pixman/vnc: remove dead code.
    pixman/vnc: remove rgb_prepare_row* functions
    pixman/vnc: use pixman images in vnc....
e2134eb9 11/01/2012 02:59 pm Gerd Hoffmann

pixman: windup in configure & makefiles

Signed-off-by: Gerd Hoffmann <>

f563a5d7 10/31/2012 11:42 am Paolo Bonzini

Merge remote-tracking branch 'origin/master' into threadpool

Signed-off-by: Paolo Bonzini <>

136594f1 10/30/2012 10:30 am Paolo Bonzini

build: do not include main loop where it is not actually used

Signed-off-by: Paolo Bonzini <>

f3192e8f 10/30/2012 10:18 am Paolo Bonzini

build: move cutils.o and qemu-timer-common.o to oslib-obj-y

Signed-off-by: Paolo Bonzini <>

0191253c 10/30/2012 10:18 am Paolo Bonzini

janitor: move iovector functions out of cutils.c

This removes the dependency of cutils.c on iov.c, and lets us remove
iov.o from several builds.

Signed-off-by: Paolo Bonzini <>

d1bd2423 10/27/2012 05:41 pm Peter Maydell

Makefile: Forbid out-of-tree build from a source tree that has been built in

If we try to do an out-of-tree build but the source tree we're building from
has been used in the past for an in-tree build then things will go
confusingly wrong. Specifically, some parts of the build process will pull...

101f9cbc 10/23/2012 11:39 pm Paolo Bonzini

qemu-sockets: add socket_listen, socket_connect, socket_parse

These are QAPI-friendly versions of the qemu-sockets functions. They
support IP sockets, Unix sockets, and named file descriptors, using a
QAPI union to dispatch to the correct function.

Reviewed-by: Luiz Capitulino <>...

69758c22 10/23/2012 08:05 pm Paolo Bonzini

build: add QAPI files to the tools

We need them because qemu-sockets will soon be using SocketAddress.

Acked-by: Luiz Capitulino <>
Signed-off-by: Paolo Bonzini <>

7748b8cb 10/19/2012 09:39 pm Mike Frysinger

allow make {dist, }clean work w/out configure

There's no reason to require configure to run before running a clean
target, so check MAKECMDGOALS before.

Signed-off-by: Mike Frysinger <>
Signed-off-by: Aurelien Jarno <>

c9159fe9 10/06/2012 12:07 am Stefan Weil

Remove libhw

The entries for libhw* are no longer needed in .gitignore.

There is also no longer a difference between common-obj-y and
hw-obj-y, so one of those two macros is sufficient.

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

4be403c8 10/05/2012 03:46 am Avi Kivity

Make target_phys_addr_t 64 bits unconditionally

The hassle and compile time overhead of maintaining both 32-bit and 64-bit
capable source isn't worth the tiny performance advantage which is seen on
a minority of configurations. Switch to compiling libhw only once, with...

8bdd3d49 09/26/2012 02:44 am Stefan Weil

configure: Allow builds without any system or user emulation

The old code aborted configure when no emulation target was selected.
Even after removing the 'exit 1', it tried to read from STDIN
when QEMU was configured with

configure' '--disable-user' '--disable-system'...
ba6212d8 09/21/2012 04:12 pm Eduardo Habkost

Eliminate cpus-x86_64.conf file

This file is not needed anymore, as QEMU won't ship any config-based
cpudefs out of the box, relying only on the builtin CPU models.

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Igor Mammedov <>...

c054b3fd 09/12/2012 04:50 pm Benoît Canet

qemu-img: Add json output option to the info command.

This option --output=[human|json] make qemu-img info output on
human or JSON representation at the choice of the user.

example: {
"snapshots": [ {
"vm-clock-nsec": 637102488,
"name": "vm-20120821145509",...

d1186a33 08/15/2012 09:25 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    ivshmem, qdev-monitor: fix order of qerror parameters
    iov_send_recv(): Handle zero bytes case even if OS does not
    framebuffer: Fix spelling in comment (leight -> height)...
e743ccec 08/15/2012 05:18 pm Peter Maydell

Makefile: Avoid explicit list of directories in clean target

Avoid having an explicit list of directories in the 'clean'
target by using 'find' to remove all .o and .d files instead.

Signed-off-by: Peter Maydell <>
Reviewed-by: Eric Blake <>...