aboutsummaryrefslogtreecommitdiffstats
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2009-10-21Merge commit 'linux-user/linux-user-for-upstream' into stagingAnthony Liguori1-0/+36
2009-10-18Suppress warnings about 'warn_unused_result' attribute directiveBlue Swirl1-0/+20
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-10-15implementations of dup3 and fallocate that are good enough to fool LTPUlrich Hecht1-0/+36
updated fallocate check to new configure, added dup3 check as suggested by 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>
2009-10-15configure: clean temporary executable files even on Windowsmalc1-1/+1
Signed-off-by: malc <av1474@comtv.ru>
2009-10-11Fix bswap in commentStefan Weil1-2/+2
Replace bsawp -> bswap. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-10-11Move dependency generation falgs out of configuremalc1-3/+2
Signed-off-by: malc <av1474@comtv.ru>
2009-10-11configure: clean up temporary dependency filesmalc1-1/+2
Signed-off-by: malc <av1474@comtv.ru>
2009-10-10Windows Waveform Audio driver (no ADC support yet)malc1-2/+14
Signed-off-by: malc <av1474@comtv.ru>
2009-10-08Introduce QList unit-testsLuiz Capitulino1-1/+1
This suite contains tests to assure that QList API works as expected. To execute it you should have check installed and build QEMU with check support enabled (--enable-check-utests) and then run: $ ./check-qlist Patchworks-ID: 35333 Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Generate gdbstub-xml.c only when neededJuan Quintela1-1/+1
First user of new config-devices.mak Patchworks-ID: 35198 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Add new config-devices.mak for each targetJuan Quintela1-0/+5
We generate config-devices.h from there automatically. We need to do it in main Makefile, because we are going to need a main Makefile for them. Patchworks-ID: 35196 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Move generation of config-target.h to Makefile from configureJuan Quintela1-17/+0
Patchworks-ID: 35194 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Rename config.{h, mak} config-target.{h, mak}Juan Quintela1-58/+58
Add config.h file that includes config-target.h and config-host.h Patchworks-ID: 35193 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Move generation of config-host.h to Makefile from configureJuan Quintela1-19/+1
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: 35190 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-08Don't include config-host.mak from inside config.makJuan Quintela1-2/+0
Include it directly in Makefile.target Patchworks-ID: 35189 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-06AIOLIBS is not used anywhereJuan Quintela1-1/+0
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-05Add -Wold-style-* flagsJuan Quintela1-0/+10
This time, I add them in configure only if target compiler supports it Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-05slirp: It needs to use QEMU_CFLAGS not CFLAGSJuan Quintela1-1/+1
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-04Check availability of uuid header / libraryStefan Weil1-0/+36
If available, the Universally Unique Identifier library is used by the vdi block driver. Other parts of QEMU (vl.c) could also use it. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-10-02Use GNU ld to link roms on OpenSolarisBlue Swirl1-0/+1
OpenSolaris ld seems to miss the equivalent of GNU ld's "-Ttext 0". Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-27Compile some user files only once for all targetsBlue Swirl1-0/+5
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-27Don't compile roms if not building system targetsBlue Swirl1-1/+2
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-20Probe for fdatasync()Blue Swirl1-0/+16
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-16fix typo in configure --helpAndre Przywara1-1/+1
Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-09-13configure: change "found" to "find"Sebastian Herbszt1-1/+1
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>
2009-09-13Revert "Fix Sparc/Linux host breakage by ↵Blue Swirl1-2/+1
df70204db53e3611af986f434e74a882bce190ca" This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-13Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190caBlue Swirl1-1/+2
While i386, x86_64 and Sparc64/OpenBSD still worked after df70204db53e3611af986f434e74a882bce190ca, Sparc32 and Sparc64 Linux hosts broke. Partially revert the commit: make the restored code conditional to !CONFIG_USER_PIE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12Add configure option to compile user targets as PIEKirill A. Shutemov1-0/+14
Build uset targers as true PIE if user want to keep qemu self-virtualizable. v5: - Split into to patches: drop link hack and add PIE support - do not build PIE by default and drop toolchain check v4: - Add test for toolchain if it has proper PIE support v3: - One more pice of the hack was removed - Description updated v2: - Add configure options do enable/disable PIE for usermode targets. Disabling can be useful if you build uswing toolchain which has broken PIE support. PIE for usermode targets enabled by default. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12Fix text relocations in linux-user targetsKirill A. Shutemov1-11/+1
There is a link hack in linux-user which produces an executable that looks like PIE, but always has text relocations since all object files isn't position-independent (compiled without -fpic/-fpie). Dynamic loader has to do more work to load a binary with text relocations. The best way to keep this functionality is to build a true PIE without text relocations. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12Do not link usermode targets with libhw*.aKirill A. Shutemov1-2/+2
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>
2009-09-12Add #defines needed by OpenSolaris, fix breakage by the #definesBlue Swirl1-0/+4
We need to define _XOPEN_SOURCE and __EXTENSIONS__ macros in order to get CMSG_ and TIOCWIN macros defined. But then _POSIX_C_SOURCE gets defined, which is (incorrectly) used as an indicator for existence of posix_memalign() in osdep.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12Fix OpenSolaris build breaking typosBlue Swirl1-2/+2
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12Fix a Sparse warning about redefinition of offsetof()Blue Swirl1-0/+15
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-09configure: fix Linux AIO detectionLuiz Capitulino1-0/+1
We should set $linux_aio to 'no' if detection failed, otherwise its 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>
2009-09-09fix VNC SASL detectionJuan Quintela1-1/+1
This test was missing the change to != no. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-09qemu-io: Improve portability (win32 now supported).Stefan Weil1-0/+2
* Add missing include for struct timeval. * Replace non-portable strsep by local qemu_strsep. * Use POSIX basename by including libgen.h. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-04Bring pcbios, seabios, and vgabios into the tree as git submodules. Right now,Anthony Liguori1-0/+16
they aren't integrated into the build but we can do that incrementally. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-04Introduce QDict unit-testsLuiz Capitulino1-1/+1
This suite contains tests to assure that QDict API works as expected. To execute it you should have check installed and build QEMU with check support enabled (--enable-check-utests) and then run: $ ./check-qdict Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-04Introduce QString unit-testsLuiz Capitulino1-1/+1
This suite contains tests to assure that QString API works as expected. To execute it you should have check installed and build QEMU with check support enabled (--enable-check-utests) and then run: $ ./check-qstring Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-04Introduce QInt unit-testsLuiz Capitulino1-1/+1
This suite contains tests to assure that QInt API works as expected. To execute it you should have check installed and build QEMU with check support enabled (--enable-check-utests) and then run: $ ./check-qint Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-04Add check supportLuiz Capitulino1-0/+31
Check is a unit testing framework for C. All the QObjects have unit-tests and more will be written for the future data types. More info about check can be found at: http://check.sourceforge.net/ Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Merge commit 'linux-user/linux-user-for-upstream' into stagingAnthony Liguori1-0/+18
2009-08-27Relax pthreads check to avoid win32Anthony Liguori1-1/+1
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27ide: move code to hw/ide/Gerd Hoffmann1-0/+1
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27raw-posix: add Linux native AIO supportChristoph Hellwig1-0/+31
Now that do have a nicer interface to work against we can add Linux native AIO support. It's an extremly thing layer just setting up an iocb for the io_submit system call in the submission path, and registering an eventfd with the qemu poll handler to do complete the iocbs directly from there. This started out based on Anthony's earlier AIO patch, but after estimated 42,000 rewrites and just as many build system changes there's not much left of it. To enable native kernel aio use the aio=native sub-command on the drive command line. I have also added an option to qemu-io to test the aio support without needing a guest. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Add sparse to new feature conventionJuan Quintela1-5/+14
Once there, move to a proper test to see if we are going to use it or not Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Add kvm to new feature conventionJuan Quintela1-13/+18
Extra error message is only given if --enable-kvm was given Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Add xen to new feature conventionJuan Quintela1-3/+10
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Add fdt to new feature conventionJuan Quintela1-3/+13
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27Add sdl to new feature conventionJuan Quintela1-3/+10
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>