summaryrefslogtreecommitdiffstats
path: root/Makefile.target
Commit message (Collapse)AuthorAgeFilesLines
* linux-user: Remove ELFLOAD32.Richard Henderson2010-04-251-1/+0
| | | | | | | | | | | The ABI-specific types used by linux_binprm and image_info are different after forcing TARGET_ABI32 on. Which means that the parameters that load_elf_binary_multi sees are not those that loader_exec passed. This is inherently broken and is more trouble than it's worth fixing. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile event_notifier only onceBlue Swirl2010-04-191-1/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vl.c onceBlue Swirl2010-04-191-1/+1
| | | | | | | | Since kvm.h can be used in files compiled once, we can partially revert b33612d03540fda7fa67485f1c20395beb7a2bf0. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* provide a stub version of kvm-all.c if !CONFIG_KVMPaolo Bonzini2010-04-191-0/+2
| | | | | | | | | | This allows limited use of kvm functions (which will return ENOSYS) even in once-compiled modules. The patch also improves a bit the error messages for KVM initialization. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> [blauwirbel@gmail.com: fixed Win32 build] Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* move balloon handling to balloon.cPaolo Bonzini2010-04-091-1/+1
| | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Make virtio-pci building conditional againAlexander Graf2010-04-081-1/+2
| | | | | | | | | | | | | | | Commit b305b9d7d6990e492966ffb1fdf619482adeb7e2 made building of virtio-pci conditional and not enabled on S390x, because it collides with the S390 bus. Commit 087431d1d1bf4e785edfa89e8cd05fcdac558dc3 accidentially reverted that behavior, breaking S390x again. So here's a follow-up patch disabling building of virtio-pci on S390x again. This unbreaks the S390x target. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Revert "Compile usb-ohci only once"Paul Brook2010-04-041-0/+3
| | | | | | | This reverts commit f1698408f1dcb7548a21828a0b1e2b530fae3af3. PCI is always little-endian. Having a user-visible "be" property is just plain wrong.
* sparc32: rename iommu.c to sun4m_iommu.c to make room for other IOMMUsBlue Swirl2010-04-031-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* vhost: vhost net supportMichael S. Tsirkin2010-04-011-0/+2
| | | | | | | | | This adds vhost net device support in qemu. Will be tied to tap device and virtio by following patches. Raw backend is currently missing, will be worked on/submitted separately. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* notifier: event notifier implementationMichael S. Tsirkin2010-04-011-0/+1
| | | | | | | | | | | | | event notifiers are slightly generalized eventfd descriptors. Current implementation depends on eventfd because vhost is the only user, and vhost depends on eventfd anyway, but a stub is provided for non-eventfd case. We'll be able to further generalize this when another user comes along and we see how to best do this. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* virtio-pci: compile per-targetAnthony Liguori2010-04-011-1/+1
| | | | | | | With vhost, virtio-pci needs to include kvm.h and kvm.h needs to be built per-target. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Fix -enable-kvmAnthony Liguori2010-04-011-1/+1
| | | | | | | Make vl.o compiled per target and fix a thinko in hw/acpi.c. It's not trivial to make kvm.h consumable by compiled-once files. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Compile most PPC devices only onceBlue Swirl2010-03-301-5/+3
| | | | | | Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile prep_pci only onceBlue Swirl2010-03-291-1/+1
| | | | | | Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile qemu-timer only onceBlue Swirl2010-03-291-1/+0
| | | | | | | | | Arrange various declarations so that also non-CPU code can access them, adjust users. Move CPU specific code to cpus.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile openpic only onceBlue Swirl2010-03-291-1/+1
| | | | | | | Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ide/macio only onceBlue Swirl2010-03-291-1/+1
| | | | | | | Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pflash_cfi01 only onceBlue Swirl2010-03-291-4/+1
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pflash_cfi02 only onceBlue Swirl2010-03-291-4/+2
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile acpi only onceBlue Swirl2010-03-291-2/+2
| | | | | | | | Use qemu_irqs to trigger CMOS S3 and SMI events. Avoid using kvm.h, which uses CPUState. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Refactor target specific handling, compile vl.c only onceBlue Swirl2010-03-291-10/+3
| | | | | | | | | | | | | Move target specific functions and RAM handling to arch_init.c. Add a flag to QEMUOptions structure to indicate for which architectures the option is allowed, check the flag in run time and remove conditional code in option handling. Now that no target dependencies remain, compile vl.c only once for all targets. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Refactor CPUState handling out of vl.cBlue Swirl2010-03-291-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vmware_vga only onceBlue Swirl2010-03-271-2/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile some MIPS devices only onceBlue Swirl2010-03-271-5/+3
| | | | | | Move CPU specific declarations to a separate file. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ide/core only onceBlue Swirl2010-03-271-7/+4
| | | | | | | | | Make win2k install hack unconditional as it is still restricted to x86 only in vl.c. Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile virtio-pci only onceBlue Swirl2010-03-221-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile sound devices only onceBlue Swirl2010-03-221-13/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pci_host only onceBlue Swirl2010-03-211-1/+1
| | | | | | | | | | | Convert pci_host_conf_register_mmio_noswap(x) to pci_host_conf_register_mmio(x, 0). Convert pci_host_conf_register_mmio(x) to pci_host_conf_register_mmio(x, 1) for big endian hosts, all cases happen to be BE. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pcie_host only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pci only onceBlue Swirl2010-03-211-1/+1
| | | | | | Move coalesced_mmio declarations to a more accessible location. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile usb-ohci only onceBlue Swirl2010-03-211-3/+0
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile serial only onceBlue Swirl2010-03-211-6/+6
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile ne2000_isa only onceBlue Swirl2010-03-211-3/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile isa_mmio only onceBlue Swirl2010-03-211-1/+0
| | | | | | Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most PCI network cards only onceBlue Swirl2010-03-211-2/+0
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile qemu-error only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile async only onceBlue Swirl2010-03-211-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile fdc only onceBlue Swirl2010-03-211-5/+5
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile most IDE devices only onceBlue Swirl2010-03-211-5/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile usb-uhci only onceBlue Swirl2010-03-211-2/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vga-isa only onceBlue Swirl2010-03-211-2/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pcspk only onceBlue Swirl2010-03-211-2/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile i8254 only onceBlue Swirl2010-03-211-3/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile parallel only onceBlue Swirl2010-03-211-3/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile vga-pci only onceBlue Swirl2010-03-211-4/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile disassemblers only onceBlue Swirl2010-03-211-13/+4
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* split out qemu-timer.cPaolo Bonzini2010-03-171-1/+1
| | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Merge remote branch 'markus/qerror' into stagingAnthony Liguori2010-03-171-0/+1
|\
| * error: Move qemu_error() & friends from monitor.c to own fileMarkus Armbruster2010-03-161-0/+1
| | | | | | | | They're about reporting errors, not about the monitor.
* | load_elf: replace the address addend by a translation functionAurelien Jarno2010-03-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few machines need to translate the ELF header addresses into physical addresses. Currently the only possibility is to add a value to the addresses. This patch replaces the addend argument by and a translation function and an opaque passed to the function. A NULL function does not translate the address. The patch also convert all machines that have an addend, simplify the PowerPC kernel loading and fix the MIPS kernel loading using this new feature. Other machines may benefit from this feature. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
OpenPOWER on IntegriCloud