History | View | Annotate | Download (64.3 kB)
Merge commit 'linux-user/linux-user-for-upstream' into staging
Suppress warnings about 'warn_unused_result' attribute directive
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
implementations of dup3 and fallocate that are good enough to fool LTP
updated fallocate check to new configure, added dup3 check as suggestedby Jan-Simon Möller.
Riku: updated to apply to current git.
Signed-off-by: Ulrich Hecht <uli@suse.de>Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
configure: clean temporary executable files even on Windows
Signed-off-by: malc <av1474@comtv.ru>
Fix bswap in comment
Replace bsawp -> bswap.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Move dependency generation falgs out of configure
configure: clean up temporary dependency files
Windows Waveform Audio driver (no ADC support yet)
Introduce QList unit-tests
This suite contains tests to assure that QList API works as expected.
To execute it you should have check installed and build QEMU withcheck support enabled (--enable-check-utests) and then run:
$ ./check-qlist
Patchworks-ID: 35333...
Generate gdbstub-xml.c only when needed
First user of new config-devices.mak
Patchworks-ID: 35198Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add new config-devices.mak for each target
We generate config-devices.h from there automatically.We need to do it in main Makefile, because we are going to need a mainMakefile for them.
Patchworks-ID: 35196Signed-off-by: Juan Quintela <quintela@redhat.com>...
Move generation of config-target.h to Makefile from configure
Patchworks-ID: 35194Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Move generation of config-host.h to Makefile from configure
Use timestamp based appreach to avoid not needed recompilation.Add it to rules.mak
Many thanks to Paolo Bonzini for helpding the design, and the debug.
Patchworks-ID: 35190Signed-off-by: Juan Quintela <quintela@redhat.com>...
Rename config.{h, mak} config-target.{h, mak}
Add config.h file that includes config-target.h and config-host.h
Patchworks-ID: 35193Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Don't include config-host.mak from inside config.mak
Include it directly in Makefile.target
Patchworks-ID: 35189Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
AIOLIBS is not used anywhere
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp: It needs to use QEMU_CFLAGS not CFLAGS
Add Wold-style* flags
This time, I add them in configure only if target compiler supports it
Check availability of uuid header / library
If available, the Universally Unique Identifier libraryis used by the vdi block driver.
Other parts of QEMU (vl.c) could also use it.
Use GNU ld to link roms on OpenSolaris
OpenSolaris ld seems to miss the equivalent of GNU ld's "-Ttext 0".
Compile some user files only once for all targets
Don't compile roms if not building system targets
Probe for fdatasync()
fix typo in configure --help
Signed-off-by: Andre Przywara <andre.przywara@amd.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
configure: change "found" to "find"
Change "ERROR: configure was not able to found it" to"ERROR: configure was not able to find it".
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Revert "Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca"
This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae.
Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca
While i386, x86_64 and Sparc64/OpenBSD still worked afterdf70204db53e3611af986f434e74a882bce190ca, Sparc32 and Sparc64 Linux hostsbroke.
Partially revert the commit: make the restored code conditional to...
Add configure option to compile user targets as PIE
Build uset targers as true PIE if user want to keep qemuself-virtualizable.
v5: - Split into to patches: drop link hack and add PIE support - do not build PIE by default and drop toolchain check
v4:...
Fix text relocations in linux-user targets
There is a link hack in linux-user which produces an executable thatlooks like PIE, but always has text relocations since all object filesisn't position-independent (compiled without -fpic/-fpie). Dynamic loader...
Do not link usermode targets with libhw*.a
Usermode targets are hardware-independed.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>Acked-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Add #defines needed by OpenSolaris, fix breakage by the #defines
We need to define XOPEN_SOURCE and EXTENSIONS macros in order to getCMSG and TIOCWIN macros defined. But then _POSIX_C_SOURCE gets defined, whichis (incorrectly) used as an indicator for existence of posix_memalign() in osdep.c....
Fix OpenSolaris build breaking typos
Fix a Sparse warning about redefinition of offsetof()
configure: fix Linux AIO detection
We should set $linux_aio to 'no' if detection failed, otherwiseits contents will be empty, which is a bug as we test for 'yes'or 'no'.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
fix VNC SASL detection
This test was missing the change to != no.
qemu-io: Improve portability (win32 now supported).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Bring pcbios, seabios, and vgabios into the tree as git submodules. Right now,they aren't integrated into the build but we can do that incrementally.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Introduce QString unit-tests
This suite contains tests to assure that QString API works as expected.
$ ./check-qstring
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>...
Introduce QDict unit-tests
This suite contains tests to assure that QDict API works as expected.
$ ./check-qdict
Add check support
Check is a unit testing framework for C.
All the QObjects have unit-tests and more will be written for thefuture data types.
More info about check can be found at:
http://check.sourceforge.net/
Introduce QInt unit-tests
This suite contains tests to assure that QInt API works as expected.
$ ./check-qint
Relax pthreads check to avoid win32
ide: move code to hw/ide/
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
raw-posix: add Linux native AIO support
Now that do have a nicer interface to work against we can add Linux nativeAIO support. It's an extremly thing layer just setting up an iocb forthe io_submit system call in the submission path, and registering an...
Add fdt to new feature convention
Add xen to new feature convention
Add kvm to new feature convention
Extra error message is only given if --enable-kvm was given
Add sparse to new feature convention
Once there, move to a proper test to see if we are going to use it or not
Rename build_docs to docs
All other features are named foo and enabled with --enable-foo.
Add sdl to new feature convention
Add vnc_tls to new feature convencion
Add vnc_sasl to new feature convencion
Add curses to new feature convencion
Add curl to new feature convencion
Add nptl to new feature convencion
Add bluez to new feature convencion
Once there, remove extra check for package and output if bluez was found or not as the other features
Add build_docs to new feature convention
Make vnc configure options less verbose.
Rest of libraries don't print themselves
Use the same structure for list of libs in curses and pthread
Add feature configure help
Add error message for feature not found
Add brlapi to new feature convencion
Add vde to new feature convencion
linux-user: add eventfd support
Straightforward implementation. This syscall is rare enough that wedon't need to support the odder cases, just disable it if host glibcis too old.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
make pthreads mandatory
As requested by Anthony make pthreads mandatory. This means we will alwayshave AIO available on posix hosts, and it will also allow enabling the I/Othread unconditionally once it's ready.
Signed-off-by: Christoph Hellwig <hch@lst.de>...
Unbreak large mem support by removing kqemu
kqemu introduces a number of restrictions on the i386 target. The worst is thatit prevents large memory from working in the default build.
Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...
Add a configure switch to enable / disable all user targets. I felt compelled to do it for symmetry, mostly it is useful to disable user targets when you don't want to build them.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Third attempt to invoke create_config properly
Second attempt failed due to $_ not being standard and as such it'sinterpretation by certain shells when they were symlinked to /bin/shand invoked as such led to unpredictable results. So instead of trying...
Do not use $SHELL to invoke our scripts
http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html
<quote>SHELL A pathname of the user's preferred command language interpreter. If this interpreter does not conform to the XSI Shell Command Language in the XCU specification, Shell Command Language,...
convert gprof flags to style of rest of Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
Move libsunpath to use the same style than everything else
CURL libs are used both by tools and softmmu
Add cocoa libs at Darwin selection time
Consolidate audio flags in configure
We also need TARGET_<arechname> in Makefiles
Disable aio in mingw32
Add libs_tools support
Libraries used by qemu-<tools>
VDE libs are used both by tools and softmmu
Move dis-* selection to configure
Make slirp include dir globlal in cflags
We already include it everywhere
Generate CONFIG_AUDIO_PT_INT in configure
Fold TARGET_GPROF handling in configure
Generate more conmmon CFLAGS
Added CONFIG_NEED_MMU for microblaze and cris
fix typo, there should be bsd_user there
Move alpha CFLAGS target to configure
Move ia64 QEMU_CFLAGS target to configure
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
permit to add things to LDFLAGS for target
refactor linker_script common part and change quoting
permit to add things to CFLAGS per target
Test if we need -lutil in ,/configure
Fold CURSES_LIBS into libsoftmmu_libs
Fold VNC_TLS_LIBS into libs_softmmu
Fold VNC_SASL_LIBS into libs_softmmu
Fold XEN_LIBS into libs_softmmu
Fold BLUEZ_LIBS into libs_softmmu
Fold FDT_LIBS into libs_softmmu
Fold BRLAPI_LIBS into libs_softmmu