History | View | Annotate | Download (1.2 kB)
hw: move PCI bridges to hw/pci-* or hw/ARCH
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw: move VFIO and ivshmem to hw/misc/
hw: move display devices to hw/display/, configure via default-configs/
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.
hw: move virtio devices to hw/ subdirectories
hw: make subdirectories for devices
Prepare the new directory structure.
Packet abstraction for VMWARE network devices
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>Signed-off-by: Yan Vugenfirer <yan@daynix.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
VMXNET3 device implementation
pl330: Initial version
Device model for Primecell PL330 DMA controller.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru>Tested-by: Igor Mitsyanko <i.mitsyanko@samsung.com>Reviewed-by: Igor Mitsyanko <i.mitsyanko@samsung.com>...
hw: move boards and other isolated files to hw/ARCH
hw: move device-hotplug.o to toplevel, compile it once
The situation with device-hotplug.c is similar to qdev-monitor.c.Add a stub for pci_drive_hot_add, so that it can be compiled once,and move it out of hw/.
hw: move qdev-monitor.o to toplevel directory
qdev-monitor.c is the only "core qdev" file that is not used inuser-mode emulation, and it does not define anything that is usedby hardware models. Remove it from the hw/ directory andremove hw/qdev-monitor.h from hw/qdev.h too; this requires...
hw: move fifo.[ch] to libqemuutil
fifo.c is generic code that can be easily unit tested. So itbelongs in libqemuutil.
hw: move char backends to backends/
Braille and msmouse support is in hw/, but it is not hardware.Move it to the backends/ directory.
hw/sdhci: introduce standard SD host controller
Device model for standard SD Host Controller Interface (SDHCI) compliant withversion 2.00 of SD association specification.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>...
allow disabling usb smartcard support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
build: remove extra-obj-y
extra-obj-y is somewhat complicated to understand. Replace it with aspecial CONFIG_ALL symbol that is defined only at toplevel.This limits the case of directories defining more than one*-obj-y target.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
build: remove universal-obj-y
All of universal-obj-y, user-obj-y (right now unused) and common-obj-y canbe unified into common-obj-y if we take care of defining CONFIG_SOFTMMUand CONFIG_USER_ONLY in the toplevel makefile. This is similar to howwe define symbols for hardware components....
virtio-bus: introduce virtio-bus
Introduce virtio-bus. Refactored transport device will create a bus whichextends virtio-bus.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add TEWS TPCI200 IndustryPack emulation
The TPCI200 is a PCI board that supports up to 4 IndustryPack modules.
A new bus type called 'IndustryPack' has been created so anycompatible module can be attached to this board.
Reviewed-by: Andreas Färber <afaerber@suse.de>...
Add GE IP-Octal 232 IndustryPack emulation
The GE IP-Octal 232 is an IndustryPack module that implements eightRS-232 serial ports, each one of which can be redirected to acharacter device in the host.
Signed-off-by: Alberto Garcia <agarcia@igalia.com>...
build: consolidate multiple variables into universal-obj-y
The directory descent mechanism, and a less-flat tree both helpedin making some *-obj-y definitions very short. Many of theseoften end up in universal-obj-y, and used to be separate onlybecause of libuser (which is now part of history...)....
build: remove CONFIG_SMARTCARD
The passthru smartcard does not have the shared library dependency, buildit unconditionally.
Merge branch 'master' of git://git.qemu.org/qemu into prep-up
Conflicts: hw/Makefile.objs hw/ppc_prep.c
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
qdev: Include qdev code into *-user, too
The code depends on some functions from qemu-option.o, so addqemu-option.o to universal-obj-y to make sure it's included.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
dataplane: use linux-headers/ for virtio includes
The hw/dataplane/vring.c code includes linux/virtio_ring.h. Ensure thatwe use linux-headers/ instead of the system-wide headers, which may beout-of-date on older distros.
This resolves the following build error on Debian 6:...
dataplane: add host memory mapping code
The data plane thread needs to map guest physical addresses to hostpointers. Normally this is done with cpu_physical_memory_map() but thefunction assumes the global mutex is held. The data plane thread doesnot touch the global mutex and therefore needs a thread-safe memory...
Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu
Adapt header include paths.
Signed-off-by: Andreas Färber <afaerber@suse.de>
qdev-properties.c: Separate core from the code used only by qemu-system-*
This separates the qdev properties code in two parts: - qdev-properties.c, that contains most of the qdev properties code; - qdev-properties-system.c for code specific for qemu-system-*,...
build: move rules from Makefile to */Makefile.objs
Merge commit '1dd3a74d2ee2d873cde0b390b536e45420b3fe05' into HEAD
pci: move pci core code to hw/pci
Move files and modify makefiles to pick them at thenew location.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
ich9: Add i82801b11 dmi-to-pci bridge
Add the dmi-to-pci i82801b11 bridge chip. This is the pci bridge chipthat q35 uses on its host bus for PCI bus arbitration.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Jason Baron <jbaron@redhat.com>...
ich9: Add smbus
Add support for the ich9 smbus chip.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Jason Baron <jbaron@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc/piix_pci: factor out smram/pam logic
Factor out smram/pam logic for use by other chipsets, namely q35at this point.
Note: Should be factored out into a generic North Bridge Class.
[jbaron@redhat.com: changes for updated memory API]Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>...
ich9: Add acpi support and definitions
Lay the groundwork for subsequent ich9 support.
virtio-rng: hardware random number generator device
The Linux kernel already has a virtio-rng driver, this is the deviceimplementation.
When the guest asks for entropy from the virtio hwrng, it puts a bufferin the vq. We then put entropy into that buffer, and push it back to...
serial: split serial.c
Split serial.c into serial.c, serial.h and serial-isa.c. While being atcreating a serial.h header file move the serial prototypes from pc.h tothe new serial.h. The latter leads to s/pc.h/serial.h/ in tons ofboards which just want the serial bits from pc.h...
serial: add pci variant
So we get a hot-pluggable 16550 uart.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw: Added generic FIFO API.
Added a FIFO API that can be used to create and operate byte FIFOs.
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
m25p80: Initial implementation of SPI flash device
Added device model for m25p80 style SPI flash family.
Remove libhw
The entries for libhw* are no longer needed in .gitignore.
There is also no longer a difference between common-obj-y andhw-obj-y, so one of those two macros is sufficient.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vfio: Enable vfio-pci and mark supported
Enabled for all softmmu guests supporting PCI on Linux hosts. Notethat currently only x86 hosts have the kernel side VFIO IOMMU supportfor this. PPC (g3beige) is the only non-x86 guest known to work.ARM (veratile) hangs in firmware, others untested....
boards: add a 'none' machine type to all platforms
This allows any QEMU binary to be executed with:
$QEMU_BINARY -M none -qmp stdio
Without errors from missing options that are required by various boards. Thisalso provides a mode that we can use in the future to construct machines...
prep: Add pc87312 Super I/O emulation
This provides floppy and IDE controllers as well as serial and parallelports. However, dynamic configuration of devices is not yet supported.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>[AF: QOM'ify, split out header, create CharDriverState if absent]...
arm: Move some ARM devices into libhw
Avoids some unnecessary dependencies on cpu.h and prepares fora future armeb-softmmu where most machines would not be built.
Defer touching the SoC devices since most have implicit or explicitdependencies on the CPU....
xilinx_axi*: Re-implemented interconnect
Re-implemented the interconnect between the Xilinx AXI ethernet and DMAcontrollers. A QOM interface "stream" is created, for the two stream interfaces.
As per Edgars request, this is designed to be more generic than AXI-stream,...
unicore32-softmmu: Add puv3 pm support
This patch adds puv3 pm (power management) support,include pm device simulation for kernel booting.Thank Blue Swirl for pointing out the missing "break".
v1->v2: Add initialization to ret in puv3_pm_read.
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>...
unicore32-softmmu: Add puv3 dma support
This patch adds puv3 dma (Direct Memory Access) support,include dma device simulation for kernel booting.
v1->v2: Add initialization to ret in puv3_dma_read.
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
unicore32-softmmu: Add puv3 ostimer support
This patch adds puv3 ostimer support, include os timerdevice simulation and ptimer support in puv3 machine.
unicore32-softmmu: Add puv3 gpio support
This patch adds puv3 gpio (General Purpose Input/Output) support,include gpio device simulation and its interrupt support.
v1->v2: Add initialization to ret in puv3_gpio_read.
unicore32-softmmu: Add puv3 interrupt support
This patch adds puv3 interrupt support, include interrupt controlerdevice simulation and interrupt handler in puv3 machine.
esp: move PCI emulation to a new file esp-pci.c
sparc machines loose ability to instanciate PCI ESP SCSI adapter,which is not a big loose as they don't have PCI bus support.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/block-common: Factor out fall back to legacy -drive serial=...
Signed-off-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hd-geometry: Move disk geometry guessing back from block.c
Commit f3d54fc4 factored it out of hw/ide.c for reuse. Sensible,except it was put into block.c. Device-specific functionality shouldbe kept in device code, not the block layer. Move it tohw/hd-geometry.c, and make stylistic changes required to keep...
megasas: LSI Megaraid SAS HBA emulation
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.I've tested it to work with Linux, Windows Vista, and Windows7.
Signed-off-by: Hannes Reinecke <hare@suse.de>[ Squashed trivial changes from Andreas Faerber, rebased over IOMMU...
xilinx_axi*: Share devices between microblaze and microblazeel
Speeds up the build.
Signed-off-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/xilinx_*: Share Xilinx devices between ppc and microblaze
xilinx_ethlite uses tswap32() and is thus target-dependent.
build: convert libhw to nested Makefile.objs
After this patch, the libhw* directories will have a hierarchythat mimics the source tree. This is useful because we do havea couple of files there that are in the top source directory.
build: move per-target hw/ objects to nested Makefile.objs
This completes the move to nested Makefiles for virtio and a fewother files that were not part of obj-TARGET-y, but still werecompiled separately for each target.
build: move target-independent hw/ objects to nested Makefile.objs
This patch starts converting the hw/ directory. Some files in hw/are compiled once, some twice (32-/64-bit), some once per target.Each category is moved in a separate patch.
After this patch, the files that are compiled once will show the...