History | View | Annotate | Download (14.3 kB)
gtk: add translation support (v5)
This includes a de_DE translation from Kevin Wolf and an it translation fromPaolo Bonzini.
Cc: Paolo Bonzini <pbonzini@redhat.com>Cc: Kevin Wolf <kwolf@redhat.com>Cc: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
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 <blauwirbel@gmail.com>Reported-by: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
build: remove extra-obj-y
extra-obj-y is somewhat complicated to understand. Replace it with aspecial 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 <pbonzini@redhat.com>...
build: remove universal-obj-y
All of universal-obj-y, user-obj-y (right now unused) and common-obj-y canbe unified into common-obj-y if we take care of defining CONFIG_SOFTMMUand CONFIG_USER_ONLY in the toplevel makefile. This is similar to howwe define symbols for hardware components....
Makefile: drop recursive libcacard clean
Commit eb8eb53e5846a957cf333f2e1ec8cb6e0c04 ("libcacard: rewriteMakefile in non-recursive style") refactored libcacard/Makefile so itcan be included by the top-level Makefile.
The top-level clean target still loops over subdirectories, including...
build: fix Win32 clean build
The version.o file did not appear explicitly as a dependency, andthis caused clean builds to fail. Force its build by making theMakefile depend on version.o.
(We cannot add it to libqemuutil.a, because it doesn't export any...
Merge remote-tracking branch 'kraxel/pixman.v6' into staging
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 <scottwood@freescale.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
build: move base QAPI files to libqemuutil.a
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
build: move version-obj-y to the generic LINK rule
There is no reason for it to be in block-obj-y, in particular.
build: fold trace-obj-y into libqemuutil.a
build: rename oslib-obj-y to util-obj-y
This prepares the creation of libqemuutil.a in the next patch.
build: move util-obj-y to libqemuutil.a
Use a static library to eliminate repetition in the linking rules.
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,block-obj-y.
Static libraries ensure that binaries such as qemu-ga do not includeunused modules.
build: move qobject files to qobject/ and libqemuutil.a
libcacard: rewrite Makefile in non-recursive style
libcacard: require libtool to build it
Do not fail at build time, instead just disable the library if libtoolis not present.
stubs: fully replace qemu-tool.c and qemu-user.c
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 <lersek@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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/mysql-flush.sh.sample : quiesce MySQL before snapshot
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>...
build: Use separate makefile for "trace/"
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>--Changes in v2:
qemu-ga: move qemu-ga files to qga/
build: adjust setting of QEMU_INCLUDES
Make it correct for nested directories, and move the static partfrom Makefile to configure.
build: move rules from Makefile to */Makefile.objs
build: kill libdis, move disassemblers to disas/
build: kill libuser
vscclient: use per-target variables
libcacard: simplify rules for recursive build
Build system fix distclean error for pixman
Currently Makefile test if pixman have configure log, but the script directlyreturn error if that file do not exist. This patch fix it.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
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 <sw@weilnetz.de>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
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 totallybroken.
This patch uses a surprisingly low-tech approach: a static library....
pixman: cleanup properly on make distclean
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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.
pixman: disable gtk
gtk is only needed to build test cases.Disable it to simplify the build.
pixman: set --host for cross builds
Set --host when calling pixman configure while doing cross builds sopixman's autoconf picks up the cross build tools correctly.
Merge remote-tracking branch 'kraxel/pixman.v3' into staging
pixman: windup in configure & makefiles
Merge remote-tracking branch 'origin/master' into threadpool
build: do not include main loop where it is not actually used
build: move cutils.o and qemu-timer-common.o to oslib-obj-y
janitor: move iovector functions out of cutils.c
This removes the dependency of cutils.c on iov.c, and lets us removeiov.o from several builds.
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 fromhas been used in the past for an in-tree build then things will goconfusingly wrong. Specifically, some parts of the build process will pull...
qemu-sockets: add socket_listen, socket_connect, socket_parse
These are QAPI-friendly versions of the qemu-sockets functions. Theysupport IP sockets, Unix sockets, and named file descriptors, using aQAPI union to dispatch to the correct function.
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>...
build: add QAPI files to the tools
We need them because qemu-sockets will soon be using SocketAddress.
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
allow make {dist, }clean work w/out configure
There's no reason to require configure to run before running a cleantarget, so check MAKECMDGOALS before.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Remove libhw
The entries for libhw* are no longer needed in .gitignore.
There is also no longer a difference between common-obj-y andhw-obj-y, so one of those two macros is sufficient.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Make target_phys_addr_t 64 bits unconditionally
The hassle and compile time overhead of maintaining both 32-bit and 64-bitcapable source isn't worth the tiny performance advantage which is seen ona minority of configurations. Switch to compiling libhw only once, with...
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 STDINwhen QEMU was configured with
configure' '--disable-user' '--disable-system'...
Eliminate cpus-x86_64.conf file
This file is not needed anymore, as QEMU won't ship any config-basedcpudefs out of the box, relying only on the builtin CPU models.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>Reviewed-by: Igor Mammedov <imammedo@redhat.com>...
qemu-img: Add json output option to the info command.
This option --output=[human|json] make qemu-img info output onhuman or JSON representation at the choice of the user.
example: { "snapshots": [ { "vm-clock-nsec": 637102488, "name": "vm-20120821145509",...
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
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 <peter.maydell@linaro.org>Reviewed-by: Eric Blake <eblake@redhat.com>...
block: Enable qemu_open/close to work with fd sets
When qemu_open is passed a filename of the "/dev/fdset/nnn" format (where nnn is the fdset ID), an fd with matching accessmode flags will be searched for within the specified monitorfd set. If the fd is found, a dup of the fd will be returned...
Makefile: add qapi.py dependencies
Commit 427a1a2cb1d35b83b6302886f46289f6d617134d ("qapi: avoid reservedkeywords") modifies qapi.py, which is used by qapi-types.py and otherPython scripts. Because Makefile has no dependencies for qapi.py theqapi code generator will not be rerun and the following build error is...
usb: Clean common object and dependency files
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qom: Clean libuser object and dependency files
build: Fix linking failure for qemu-ga
This patch will fix the following linking failed:
LINK qemu-gagcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directorygcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory...
build: get dependency file directories from object file names
After commit dcff25f2cd8c11a9368cc2369aeb0319c32d9e26, Dependency fileare taken from the directories that have a Makefile.objs file. This isnot enough, since files can be included from other directories....
build: include qapi-generated/ files in qga/Makefile.objs
No reason to leave them out, and it will ensure that the dependenciesare picked up. Later we can perhaps move the files to anotherdirectory to avoid ../ usage.
build: fix build breakage due to bad merge
34bb443ee74df3780d86044dbf6492eb798c5807 broke the build but in a subtle way.The patch on the ML was actually based on the 1.1.1 stable branch(accidentally). When I merged it from the ML, the fuzzing got resolved in a...
build: add make dist target (v2)
Let's stop screwing up releases by having a script do the work that Anthony'sfat fingers can't seem to get right.
Cc: Michael Roth <mdroth@linux.vnet.ibm.com>Reviewed-by: Eric Blake <eblake@redhat.com>Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>...
make: Remove 'build-all' rule
It is not needed, because the 'all' rule does the same.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Merge remote-tracking branch 'mjt/mjt-iov2' into staging
PPC: e500: dt: start with empty device tree
Now that all of the device tree bits are generated during runtime, wecan get rid of the device tree blob and instead start from scratch withan empty device tree.
Signed-off-by: Alexander Graf <agraf@suse.de>
Makefile: Remove macro qapi-dir
As qapi-dir was now a constant, it can be replaced by its value.
Install 'bepo' keymap already included in Qemu source
The 'bepo' layout (a french dvorak-like keyboard layout) was addedabout one year ago, (see commit 2a3c633c1eb8692716220195b6d3fe78b7e411d0),but I missed to declare to install it.
Signed-off-by: Frédéric Boiteux <fboiteux@free.fr>...
Makefile: Remove BUILD_DIR from qapi-dir
qapi-dir does not need an absolute path. All other build directoriesare relative. When BUILD_DIR is removed, the build output looks better(no long lines with absolute paths when everything else uses shortlines):...
libcacard: build fixes
Link trace objects to fix these errors: LINK vscclientoslib-posix.o: In function `trace_qemu_vfree':/src/qemu/obj-amd64/./trace.h:39: undefined reference to `trace1'oslib-posix.o: In function `trace_qemu_memalign':/src/qemu/obj-amd64/./trace.h:31: undefined reference to `trace3'...
make: automatically include dependencies in recursive subdir rules (v2)
I think I understand enough of what's going on in these rules to ensure this isright. But I could certainly use a second or third opinion...
build: install qmp-commands.txt
File is targeted for install, but is never installed.
Signed-off-by: Bruce Rogers <brogers@suse.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
consolidate qemu_iovec_memset{,_skip}() into single function and use existing iov_memset()
This patch combines two functions into one, and replacesthe implementation with already existing iov_memset() fromiov.c.
The new prototype of qemu_iovec_memset():...
build: libcacard Makefile cleanups
Build vscclient from toplevel Makefile, limit usage of vpath.
build: limit usage of vpath
All paths are now explicitly given, and the object tree mimicsthe source tree, so there is no need to apply special vpaths.
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...
build: move fsdev/ objects to nested Makefile.objs
build: do not sprinkle around GENERATED_HEADERS dependencies
Keeping GENERATED_HEADERS dependencies up-to-date everywhere is complex.We can simply make the Makefile depend on them, and they will be builtbefore all other targets.
move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2)
Changes v1 -> v2: - userconfig variable is now bool, not int
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Merge remote-tracking branch 'stefanha/tracing' into staging
sdl: Add QEMU mascot icon for use with SDL
This is a bitmap file (32x32x4) derived from the official QEMU mascot(which was designed by Benoît Canet). I stripped the text from the SVGto get a nearly square image and converted the result to BMP withoutany manual optimization....
Generic elimination of auto-generated files
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
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-specificdirectory is confusing.
The current C code that uses CONFIG_QEMU_DATADIR should be safe, as now...
Makefile: use $(qemu_confdir) instead of $(sysconfdir)/qemu
Instead of hardcoding the directory suffix, use the qemu-specificdirectory variable.
config-host.mak: rename docdir to qemu_docdir
make: Always set LC_ALL=C for makeinfo
Otherwise the generated file qemu-doc.html will contain "Anhang" instead of "Appendix" with a German locale (de_DE.UTF-8).
make: fix clean rule by removing build file in qom/
Make clean does not clean the 'qom' directory, leaving *.o and *.d files. Thispatch fixes this.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
buildfix: check for old pod2man versions
Older pod2man don't have a --utf8 switch, check for this in conffigureand use it only when present. Fixes build on RHEL-5.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
test: remove qemu-ga reference
This was added by mistake a while back.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Support utf8 chars in pod docs
We've at least one UTF8 char in the qemu texi doc:
$ grep Tibor qemu-doc.texi by Tibor "TS" Schütz. $ man ./qemu.1 | grep Tibor by Tibor "TS" SchA~Xtz.
This patch allows utf8 in man/pod docs.
Initially it was split into two parts and sent on 2012-02-02....
qom: Add QOM support to user emulators
Link the Object base class and the module infrastructure for classregistration. Introduce $(universal-obj-y) for objects that are morecommon than $(common-obj-y), so that those only get built once.
Call QOM module init for type registration....
build: Include config-host.mak as soon as possible
Current code depends on variables defined in config-host.mak before it isactually included.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>Cc: Anthony Liguori <aliguori@us.ibm.com>...
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
Merge remote-tracking branch 'aneesh/for-upstream' into staging
./configure: add option for disabling VirtFS
Signed-off-by: Meador Inge <meadori@codesourcery.com>Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
qemu-ga: fixes for win32 build of qemu-ga
Various stubs and #ifdefs to compile for Windows using mingwcross-build. Still has 1 linker error due to a dependency on theforthcoming win32 versions of the GAChannel/transport class.
Makefile: Add dependency to fix linux-user-only build
Make qemu-bridge-helper explicitly depend on $(GENERATED_HEADERS)so that it doesn't fail to build when we configured for linux-usertargets only. (Build breakage introduced in commit 7b93fad.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
kvmvapic: Add option ROM
This imports and builds the original VAPIC option ROM of qemu-kvm.Its interaction with QEMU is described in the commit that introduces thecorresponding device model.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Avi Kivity <avi@redhat.com>
make: Remove duplicate use of GLIB_CFLAGS
Makefile, Makefile.hw, Makefile.target and libcacard/Makefileadded GLIB_CFLAGS to QEMU_CFLAGS.
Makefile.objs does this, too, and is included by all otherMakefiles, so GLIB_CFLAGS were added twice (reported by malc)....
Add basic version of bridge helper
This patch adds a helper that can be used to create a tap device attached toa bridge device. Since this helper is minimal in what it does, it can begiven CAP_NET_ADMIN which allows qemu to avoid running as root while still...
Makefile: Remove linux-headers/asm symlink on distclean
configure creates a linux-headers/asm symlink. Remove this whendoing a distclean.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>