summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Windows Waveform Audio driver (no ADC support yet)malc2009-10-101-2/+14
| | | | Signed-off-by: malc <av1474@comtv.ru>
* Introduce QList unit-testsLuiz Capitulino2009-10-081-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>
* Generate gdbstub-xml.c only when neededJuan Quintela2009-10-081-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>
* Add new config-devices.mak for each targetJuan Quintela2009-10-081-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>
* Move generation of config-target.h to Makefile from configureJuan Quintela2009-10-081-17/+0
| | | | | | Patchworks-ID: 35194 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Rename config.{h, mak} config-target.{h, mak}Juan Quintela2009-10-081-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>
* Move generation of config-host.h to Makefile from configureJuan Quintela2009-10-081-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>
* Don't include config-host.mak from inside config.makJuan Quintela2009-10-081-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>
* AIOLIBS is not used anywhereJuan Quintela2009-10-061-1/+0
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add -Wold-style-* flagsJuan Quintela2009-10-051-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>
* slirp: It needs to use QEMU_CFLAGS not CFLAGSJuan Quintela2009-10-051-1/+1
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Check availability of uuid header / libraryStefan Weil2009-10-041-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>
* Use GNU ld to link roms on OpenSolarisBlue Swirl2009-10-021-0/+1
| | | | | | OpenSolaris ld seems to miss the equivalent of GNU ld's "-Ttext 0". Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile some user files only once for all targetsBlue Swirl2009-09-271-0/+5
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Don't compile roms if not building system targetsBlue Swirl2009-09-271-1/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Probe for fdatasync()Blue Swirl2009-09-201-0/+16
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* fix typo in configure --helpAndre Przywara2009-09-161-1/+1
| | | | | Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* configure: change "found" to "find"Sebastian Herbszt2009-09-131-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>
* Revert "Fix Sparc/Linux host breakage by ↵Blue Swirl2009-09-131-2/+1
| | | | | | | | df70204db53e3611af986f434e74a882bce190ca" This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190caBlue Swirl2009-09-131-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>
* Add configure option to compile user targets as PIEKirill A. Shutemov2009-09-121-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>
* Fix text relocations in linux-user targetsKirill A. Shutemov2009-09-121-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>
* Do not link usermode targets with libhw*.aKirill A. Shutemov2009-09-121-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>
* Add #defines needed by OpenSolaris, fix breakage by the #definesBlue Swirl2009-09-121-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>
* Fix OpenSolaris build breaking typosBlue Swirl2009-09-121-2/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix a Sparse warning about redefinition of offsetof()Blue Swirl2009-09-121-0/+15
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* configure: fix Linux AIO detectionLuiz Capitulino2009-09-091-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>
* fix VNC SASL detectionJuan Quintela2009-09-091-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>
* qemu-io: Improve portability (win32 now supported).Stefan Weil2009-09-091-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>
* Bring pcbios, seabios, and vgabios into the tree as git submodules. Right now,Anthony Liguori2009-09-041-0/+16
| | | | | | they aren't integrated into the build but we can do that incrementally. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Introduce QDict unit-testsLuiz Capitulino2009-09-041-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>
* Introduce QString unit-testsLuiz Capitulino2009-09-041-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>
* Introduce QInt unit-testsLuiz Capitulino2009-09-041-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>
* Add check supportLuiz Capitulino2009-09-041-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>
* Merge commit 'linux-user/linux-user-for-upstream' into stagingAnthony Liguori2009-08-271-0/+18
|\
| * linux-user: add eventfd supportRiku Voipio2009-08-251-0/+18
| | | | | | | | | | | | | | | | Straightforward implementation. This syscall is rare enough that we don't need to support the odder cases, just disable it if host glibc is too old. Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
* | Relax pthreads check to avoid win32Anthony Liguori2009-08-271-1/+1
| | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | ide: move code to hw/ide/Gerd Hoffmann2009-08-271-0/+1
| | | | | | | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | raw-posix: add Linux native AIO supportChristoph Hellwig2009-08-271-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>
* | Add sparse to new feature conventionJuan Quintela2009-08-271-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>
* | Add kvm to new feature conventionJuan Quintela2009-08-271-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>
* | Add xen to new feature conventionJuan Quintela2009-08-271-3/+10
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add fdt to new feature conventionJuan Quintela2009-08-271-3/+13
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add sdl to new feature conventionJuan Quintela2009-08-271-3/+10
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Rename build_docs to docsJuan Quintela2009-08-271-10/+10
| | | | | | | | | | | | | | All other features are named foo and enabled with --enable-foo. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add build_docs to new feature conventionJuan Quintela2009-08-271-3/+13
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add bluez to new feature convencionJuan Quintela2009-08-271-5/+10
| | | | | | | | | | | | | | Once there, remove extra check for package and output if bluez was found or not as the other features Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add nptl to new feature convencionJuan Quintela2009-08-271-7/+18
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add curl to new feature convencionJuan Quintela2009-08-271-3/+10
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | Add curses to new feature convencionJuan Quintela2009-08-271-4/+15
| | | | | | | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud