summaryrefslogtreecommitdiffstats
path: root/Makefile.target
Commit message (Collapse)AuthorAgeFilesLines
* cris: Break out image loading to hw/cris-boot.c.Edgar E. Iglesias2010-06-101-1/+4
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
* linux-user: Use qemu-malloc.c.Richard Henderson2010-05-281-1/+2
| | | | | | | | Since we're no longer setting PAGE_RESERVED, there's no need to implement qemu_malloc via mmap. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Compile dma only onceBlue Swirl2010-05-221-3/+2
| | | | | | | | Use a qemu_irq to request CPU exit. 7 compilations less for the full build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile pckbd only onceBlue Swirl2010-05-221-4/+4
| | | | | | | Use a qemu_irq to indicate A20 line changes. Move I/O port 92 to pckbd.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile acpi_piix4, apm and pm_smbus only onceBlue Swirl2010-05-171-2/+1
| | | | | | 12 compilations less for the full build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* pc: split out piix specific part from pc.c into pc_piix.cIsaku Yamahata2010-05-151-1/+1
| | | | | | | | | Finally, we can safely split out the piix specific part from pc.c into pc_piix.c. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* acpi: split acpi.c into the common part and the piix4 part.Isaku Yamahata2010-05-151-2/+2
| | | | | | | | | Split acpi.c into the common part and the piix4 specific part. The common part will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* acpi: split out apm register emulation from acpi.cIsaku Yamahata2010-05-151-2/+2
| | | | | | | | | | Split out apm register emulation for acpi.c into apm.c. The apm emulation will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* acpi: split out piix4 smbus routines from acpi.c into pm_smbus.cIsaku Yamahata2010-05-151-0/+2
| | | | | | | | | | | Split out piix4 smbus routines from acpi.c into pm_smbus.c and use it. The split out smbus emulation will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile virtio-9p-debug and virtio-9p-local onceBlue Swirl2010-05-141-1/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Add KVM CFLAGS to vhost buildJan Kiszka2010-05-031-1/+1
| | | | | | | | The configure test of vhost uses KVM CFLAGS, so the build must use them as well. Otherwise we specifically miss what --kerneldir provides. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* virtio-9p: Add a virtio 9p device to qemuAnthony Liguori2010-05-031-0/+1
| | | | | | | | | | | | This patch doesn't implement the 9p protocol handling code. It adds a simple device which dump the protocol data. [jvrao@linux.vnet.ibm.com: Little-Endian to host format conversion] [aneesh.kumar@linux.vnet.ibm.com: Multiple-mounts support] Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* 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>
OpenPOWER on IntegriCloud