summaryrefslogtreecommitdiffstats
path: root/Makefile.target
Commit message (Collapse)AuthorAgeFilesLines
* Substitute ifdef CONFIG_FOO by sound-obj-Juan Quintela2009-06-291-8/+8
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Rename SOUND_HW to sound-obj-yJuan Quintela2009-06-291-7/+7
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Substitute ifdef CONFIG_FOO by obj-Juan Quintela2009-06-291-15/+7
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Rename OBJS to obj-yJuan Quintela2009-06-291-104/+102
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Rename LIBOBJS to libobj-yJuan Quintela2009-06-291-25/+24
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* qemu/pci: MSI-X support functionsMichael S. Tsirkin2009-06-241-1/+1
| | | | | | | | | | | Add functions implementing MSI-X support. First user will be virtio-pci. Note that platform must set a flag to declare MSI supported: this is a safety measure to avoid breaking platforms which should support MSI-X but currently lack this in the interrupt controller emulation. For PC this will be set by APIC. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Disable _FORTIFY_SOURCE to fix Ubuntu build with -WerrorAnthony Liguori2009-06-221-0/+1
| | | | | | This eliminates the results unused warnings. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Make sure to use SDL_CFLAGS everywhere we include SDL headersAnthony Liguori2009-06-161-0/+2
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Use hxtool to generate monitor documentation and C structuresBlue Swirl2009-06-061-1/+7
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* microblaze: Hook into the build-system.Edgar E. Iglesias2009-05-261-0/+21
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Add dummy command to submakefilesPaul Brook2009-05-251-0/+2
| | | | | | | Add a dummy command to the all: rule in sub-makefiles. This avoids "Nothing to be done for `all'." messages from make. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Add HTTP protocol using curl v6Alexander Graf2009-05-221-1/+1
| | | | | | | | | | | | | | | Currently Qemu can read from posix I/O and NBD. This patch adds a third protocol to the game: HTTP. In certain situations it can be useful to access HTTP data directly, for example if you want to try out an http provided OS image, but don't know if you want to download it yet. Using this patch you can now try it on on the fly. Just use it like: qemu -cdrom http://host/path/my.iso Signed-off-by: Alexander Graf <agraf@suse.de>
* Partially revert e20a8dff4c0da3827764924139d3bb73962f5d5aAnthony Liguori2009-05-221-5/+5
| | | | | | | | | From Paul Brook: "the fdc is tied to the ISA DMA engine. We don't currently have a target independent method of handling inter-device data transfer." Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Revert "Fix arm-softmmu breakage"Anthony Liguori2009-05-221-2/+2
| | | | | | | | | This reverts commit ec6bd8dea77478f32981a5df49f66ca2430ad19d. This broke any target that uses virtio. Virtio devices live in libhw and without whole-archive, the constructors will never be called for virtio. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Fix arm-softmmu breakageBlue Swirl2009-05-211-2/+2
| | | | | | Don't use whole-archive for hwlib or libqemu objects Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most Xen files only onceBlue Swirl2009-05-211-2/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile fdc, escc and SCSI controllers only onceBlue Swirl2009-05-211-9/+6
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Hardware convenience libraryPaul Brook2009-05-191-12/+9
| | | | | | | | | | | | | | The only target dependency for most hardware is sizeof(target_phys_addr_t). Build these files into a convenience library, and use that instead of building for every target. Remove and poison various target specific macros to avoid bogus target dependencies creeping back in. Big/Little endian is not handled because devices should not know or care about this to start with. Signed-off-by: Paul Brook <paul@codesourcery.com>
* cris: First shot at qdev for CRIS interrupts.Edgar E. Iglesias2009-05-181-1/+1
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Syborg virtio bindings.Paul Brook2009-05-181-0/+1
| | | | | | Implement Syborg device bindings for virtio-net. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Separate virtio PCI codePaul Brook2009-05-181-1/+2
| | | | | | Split the PCI host bindings from the VRing transport implementation. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Syborg (Symbian Virtual Platform) boardPaul Brook2009-05-141-0/+2
| | | | | | A virtual reference platform for SymbianOS development/debugging. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Basic qdev infrastructure.Paul Brook2009-05-141-1/+1
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Constructor supportAnthony Liguori2009-05-141-14/+11
| | | | | | | | | Allow devices/drivers to register themselves via constructors. Destructors are not needed (can be registered from a constructor) and "priority" has been renamed and changed to an enum for clarity. Signed-off-by: Paul Brook <paul@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Remove duplicate block objects.Paul Brook2009-05-141-8/+0
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Remove redundant pcnet.oPaul Brook2009-05-131-1/+1
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Drop CONFIG_GDBSTUBJan Kiszka2009-05-081-19/+7
| | | | | | | | This is no user-flippable switch, and no arch makes use of disabling gdbstub support. So it's pointless to keep the related #ifdefs and configure hunks around - and risking breakages like 711c410fdd again. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
* Hardware watchdogRichard W.M. Jones2009-05-011-0/+4
| | | | | | | | Here is an updated hardware watchdog patch, which should fix everything that was raised about the previous version ... Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti)aliguori2009-04-241-2/+4
| | | | | | | | Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: pv domain builder. (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | This adds domain building support for paravirtual domains to qemu. This allows booting xen guests directly with qemu, without Xend and the management stack. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7226 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: blk & nic configuration via cmd line. (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | | | | | This patch makes qemu create backend and frontend device entries in xenstore for devices configured on the command line. It will use qdisk and qnic backend names, so the qemu internal backends will be used. Disks can be created using -drive if=xen,file=... Nics can be created using -net nic,macaddr=... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7225 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: add net backend driver. (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | | | | | | | This patch adds a network interface backend driver to qemu. It is a pure userspace implemention using the gntdev interface. It uses "qnet" as backend name in xenstore so it doesn't interfere with the netback backend (aka "vnif"). The network backend is hooked into the corrosponding qemu vlan, i.e. vif 0 is hooked into vlan 0. To make the packages actually arrive somewhere you additionally have to link the vlan to the outside world using the usual qemu command line options such as "-net tap,...". Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7224 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: add block device backend driver. (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | | This patch adds a block device backend driver to qemu. It is a pure userspace implemention using the gntdev interface. It uses "qdisk" as backend name in xenstore so it doesn't interfere with the other existing backends (blkback aka "vbd" and tapdisk aka "tap"). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7223 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: add framebuffer backend driver (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | | This patch adds a frsamebuffer (and kbd+mouse) backend driver. It it based on current xen-unstable code. It has been changed to make use of the common backend driver code. It also has been changed to compile with xen headers older than release 3.3 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7222 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: add console backend driver. (Gerd Hoffmann)aliguori2009-04-221-0/+1
| | | | | | | | | | | | This patch adds a xenconsole backend driver. It it based on current xen-unstable code. It has been changed to make use of the common backend driver code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7221 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: backend driver core (Gerd Hoffmann)aliguori2009-04-221-1/+1
| | | | | | | | | | | | | | This patch adds infrastructure for xen backend drivers living in qemu, so drivers don't need to implement common stuff on their own. It's mostly xenbus management stuff: some functions to access xentore, setting up xenstore watches, callbacks on device discovery and state changes, handle event channel, ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7220 c046a42c-6fe2-441c-8c8c-71466251a162
* xen: groundwork for xen support (Gerd Hoffmann)aliguori2009-04-221-0/+7
| | | | | | | | | | | | - configure script and build system changes. - wind up new machine type. - add -xen-* command line options. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7219 c046a42c-6fe2-441c-8c8c-71466251a162
* kqemu: only compile kqemu.o if actually neededblueswir12009-04-181-1/+4
| | | | | | | | | | | | kqemu.o is compiled even if kqemu support is disabled. This is useless (kqemu.o should provide nothing that is actually used in that case) and slightly confusing. So introduce CONFIG_KQEMU for optionally compiling kqemu.o. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7185 c046a42c-6fe2-441c-8c8c-71466251a162
* qemu: Add support for SMBIOS command line otions (Alex Williamson)aliguori2009-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new -smbios option (x86-only) to allow binary SMBIOS entries to be passed through to the BIOS or modify the default values of individual fields of type 0 and 1 entries on the command line. Binary SMBIOS entries can be generated as follows: dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \ perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin These can then be passed to the BIOS using this switch: -smbios file=smbios_type_1.bin Command line generation supports the following syntax: -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d] -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str] [,uuid=$(uuidgen)][,sku=str][,family=str] For instance, to add a serial number to the type 1 table: -smbios type=1,serial=0123456789 Interface is extensible to support more fields/tables as needed. aliguori: remove texi formatting from help output Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
* Implement sonic netcard (MIPS Jazz)aurel322009-04-151-1/+1
| | | | | | | | | | | | | | | Attached patch adds emulation of a SONIC netcard. This card has been used in MIPS Jazz machines and in some Apple Mac 68K. Emulation has been done using dp83932 specification, but can be enhanced (if needed) to also emulate dp83916, dp83934 or dp83936 chipsets. This has been tested in Linux 2.1, NetBSD 1.6.2 and MS Windows NT/MIPS Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7112 c046a42c-6fe2-441c-8c8c-71466251a162
* Compile target independent files only onceblueswir12009-04-111-18/+10
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7083 c046a42c-6fe2-441c-8c8c-71466251a162
* Make binary stripping conditional (Riku Voipio)aliguori2009-04-051-1/+1
| | | | | | | | | | | | | | | Currently qemu unconditionally strips binaries on install. This is a problem for packagers who may want to store/ship debug symbols of compiled packages for debugging purposes. Keep stripping as default for the oldtimers and add a --disable-strip flag to override. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6983 c046a42c-6fe2-441c-8c8c-71466251a162
* build system: clean qemu-options.texi and gdbstub-xml.c (Jan Kiszka)aliguori2009-04-051-1/+1
| | | | | | | | Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6980 c046a42c-6fe2-441c-8c8c-71466251a162
* build system: silent generation of doc files and qemu-options.h (Jan Kiszka)aliguori2009-04-051-1/+1
| | | | | | | | Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6979 c046a42c-6fe2-441c-8c8c-71466251a162
* Compile all files with -ffixed-g5 etc. to avoid env (%g5) corruptionblueswir12009-04-041-10/+0
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6972 c046a42c-6fe2-441c-8c8c-71466251a162
* Temporary workaround for ppc on ppcmalc2009-04-021-0/+4
| | | | | | | | | | | | | | target-ppc/translate.c puts values of type opcode_t into .opcodes section, using GCC extension to do so, and hoping that this will make them appear contiguously and in the source order in the resulting executable. This assumption is not safe and is known to be violated with certain versions of GCC, certain flags passed to it and on certain platforms (gcc 4.3.0, -O and PPC/PPC64 for instance) The workaround consists of adding -fno-unit-at-a-time to the list of GCC command line options while building PPC translate.o on a PPC. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6967 c046a42c-6fe2-441c-8c8c-71466251a162
* Implement and use shared memory framebuffer device rendering reoutine.pbrook2009-04-011-0/+1
| | | | | | | | | Use DMA mapping API. Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6965 c046a42c-6fe2-441c-8c8c-71466251a162
* build system: silence gdbstub-xml.c generationaurel322009-03-281-3/+2
| | | | | | | Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6921 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix out of tree compilationblueswir12009-03-281-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6886 c046a42c-6fe2-441c-8c8c-71466251a162
* Syncing documentation vs. -help vs. qemu_options tableblueswir12009-03-281-1/+6
| | | | | | | | | | | | | | Try to keep documentation about command line switches, -help text and qemu_options table synchronized. In true Qemu tradition, an include file is generated from single .hx file containing all relevant information in one place. The include file is parsed once for getting the enums, another time for getopt tables and hird time for help messages. Texi documentation for the options is generated from the same .hx file. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6884 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud