- Jul 07, 2015
-
-
Michael S. Tsirkin authored
MIPS doesn't need it, and including it creates problem as we are adding dependency on ISA LPC bridge. Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
-
- Jun 12, 2015
-
-
Gerd Hoffmann authored
This patch adds a virtio-vga device. It is simliar to virtio-gpu-pci, but it also adds in vga compatibility, so guests without native virtio-gpu support can drive the device in vga mode. It is compatible with stdvga. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
-
- Jun 11, 2015
-
-
Xu Wang authored
This patch introduces a new diag288 watchdog device that will, just like other watchdogs, monitor a guest and take corresponding actions when it detects that the guest is not responding. diag288 is s390x specific. The wiring to s390x KVM will be done in separate patches. Signed-off-by:
Xu Wang <gesaint@linux.vnet.ibm.com> Reviewed-by:
David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by:
Christian Borntraeger <borntraeger@de.ibm.com> [split out qemu-option.hx base changes]
-
Hervé Poussineau authored
Remove now useless device models from other MIPS configurations We're now compiling 12 files less than before. Signed-off-by:
Hervé Poussineau <hpoussin@reactos.org> Reviewed-by:
Aurelien Jarno <aurelien@aurel32.net> Signed-off-by:
Leon Alrae <leon.alrae@imgtec.com>
-
- May 29, 2015
-
-
Shannon Zhao authored
As core.c, piix4.c, ich9.c and pcihp.c are for x86, add CONFIG_ACPI_X86 to make it only for x86. ARM doesn't support cpu and memory hotplug, add CONFIG_ACPI_CPU_HOTPLUG and CONFIG_ACPI_MEMORY_HOTPLUG to exclude them for target-arm. Signed-off-by:
Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by:
Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by:
Alex Bennée <alex.bennee@linaro.org> Message-id: 1432522520-8068-24-git-send-email-zhaoshenglong@huawei.com Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
- May 18, 2015
-
-
Peter Crosthwaite authored
With quad Cortex-A53 CPUs. Use SMC PSCI, with the standard policy of secondaries starting in power-off. Tested-by:
Alistair Francis <alistair.francis@xilinx.com> Reviewed-by:
Alistair Francis <alistair.francis@xilinx.com> Reviewed-by:
Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: a16202a6c7b79e446e5289d38cb18d2ee4b897a0.1431381507.git.peter.crosthwaite@xilinx.com Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
- May 11, 2015
-
-
Scott Feldman authored
Rocker is a simulated ethernet switch device. The device supports up to 62 front-panel ports and supports L2 switching and L3 routing functions, as well as L2/L3/L4 ACLs. The device presents a single PCI device for each switch, with a memory-mapped register space for device driver access. Rocker device is invoked with -device, for example a 4-port switch: -device rocker,name=sw1,len-ports=4,ports[0]=dev0,ports[1]=dev1, \ ports[2]=dev2,ports[3]=dev3 Each port is a netdev and can be paired with using -netdev id=<port name>. Signed-off-by:
Scott Feldman <sfeldma@gmail.com> Signed-off-by:
Jiri Pirko <jiri@resnulli.us> Acked-by:
Scott Feldman <sfeldma@gmail.com> Acked-by:
Jiri Pirko <jiri@resnulli.us> Signed-off-by:
David Ahern <dsahern@gmail.com> Message-id: 1426306173-24884-7-git-send-email-sfeldma@gmail.com rocker: fix clang compiler errors Consolidate all forward typedef declarations to rocker.h. Signed-off-by:
David Ahern <dsahern@gmail.com> Acked-by:
Scott Feldman <sfeldma@gmail.com> Acked-by:
Jiri Pirko <jiri@resnulli.us> rocker: add support for flow modification We had support for flow add/del. This adds support for flow mod. I needed this for L3 support where an existing route is modified using NLM_F_REPLACE. For example: ip route add 12.0.0.0/30 nexthop via 11.0.0.1 dev swp1 ip route change 12.0.0.0/30 nexthop via 11.0.0.9 dev swp2 The first cmd adds the route. The second cmd changes the existing route by changing its nexthop info. In the device, a mod operation results in the matching flow enty being modified with the new settings. This is atomic to the device. Signed-off-by:
Scott Feldman <sfeldma@gmail.com> Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
-
- Apr 30, 2015
-
-
Peter Crosthwaite authored
Theres no difference in defconfig. Going forward microblazeel should superset microblaze so use an include. Signed-off-by:
Peter Crosthwaite <crosthwaite.peter@gmail.com> Reviewed-by:
Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by:
Michael Tokarev <mjt@tls.msk.ru>
-
- Mar 18, 2015
-
-
Thomas Huth authored
Boards that do not include an USB controller should not provide USB devices. However, when running "qemu-system-s390x -device help" for example, there's still a usb-hub, usb-kbd, usb-mouse and usb-tablet in the list of "supported" devices. Let's fix that by compiling and linking the USB files only if it is really necessary. Signed-off-by:
Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
-
- Mar 16, 2015
-
-
Thomas Huth authored
pci.mak includes a lot of devices - and most of them do not make sense on s390x, like USB controllers or audio cards. These devices also show up when running "qemu-system-s390x -device help" and thus could raise the hope for the users that they could use these kind of devices with qemu-system-s390x. To avoid this confusion, we should not include pci.mak and rather include the bare minimum manually instead. Signed-off-by:
Thomas Huth <thuth@linux.vnet.ibm.com> Acked-by:
Frank Blaschka <blaschka@linux.vnet.ibm.com> Message-Id: <1426169954-6062-1-git-send-email-thuth@linux.vnet.ibm.com> Signed-off-by:
Cornelia Huck <cornelia.huck@de.ibm.com>
-
- Mar 12, 2015
-
-
Gerd Hoffmann authored
Rename config option from "glx" to "opengl", glx will not be the only option for opengl in near future. Also switch over to pkg-config for opengl support detection. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Max Reitz <mreitz@redhat.com>
-
- Mar 11, 2015
-
-
Alistair Francis authored
This patch adds the stm32f205 SoC. This will be used by the Netduino 2 to create a machine. Signed-off-by:
Alistair Francis <alistair@alistair23.me> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 48d509747a1ea0d8a7d5480560495e679990f9d2.1424175342.git.alistair@alistair23.me Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
Alistair Francis authored
This patch adds the stm32f2xx System Configuration Controller. This is used to configure what memory is mapped at address 0 (although that is not supported) as well as configure how the EXTI interrupts work (also not supported at the moment). This device is not required for basic examples, but more complex systems will require it (as well as the EXTI device) Signed-off-by:
Alistair Francis <alistair@alistair23.me> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 5d499d7b60b61d5d6dcb310b2e55411b1f53794e.1424175342.git.alistair@alistair23.me Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
Alistair Francis authored
This patch adds the stm32f2xx USART controller (UART also uses the same controller). Signed-off-by:
Alistair Francis <alistair@alistair23.me> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 762c6c0d2a41d574932bc4445ec9bfffe6da8798.1424175342.git.alistair@alistair23.me Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
Alistair Francis authored
This patch adds the stm32f2xx timers: TIM2, TIM3, TIM4 and TIM5 to QEMU. Signed-off-by:
Alistair Francis <alistair@alistair23.me> Signed-off-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 155091a323390f8da3cca496e4c611c493e62a77.1424175342.git.alistair@alistair23.me Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
- Mar 09, 2015
-
-
Alexander Graf authored
The CONFIG_OPENPIC variable was declared multiple times. We only need it once. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexey Kardashevskiy authored
Signed-off-by:
Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexey Kardashevskiy authored
This reverts commit 9c998424 as even when it was applied, all supposedly new config options were already enabled. Signed-off-by:
Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Mar 01, 2015
-
-
Markus Armbruster authored
Commit 79ca616f (v1.6.0) accidentally disabled legacy x86-only HMP commands pci_add, pci_del: it defined CONFIG_PCI_HOTPLUG only as make variable, not as preprocessor macro, killing the code conditional on defined(CONFIG_PCI_HOTPLUG_OLD). In all this time, nobody reported the loss. I only noticed it when I tried to test some error reporting change that forced me to touch this old crap again. Fun: git-log hw/pci/pci-hotplug-old.c shows our faith in the backward compatibility god has been strong enough to sacrifice at its altar about a dozen times, but not strong enough to even once verify the legacy feature's still there, let alone works. Remove the commands along with the code backing them. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Reviewed-by:
Eric Blake <eblake@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
-
- Feb 27, 2015
-
-
David Gibson authored
Currently the ivshmem device is built whenever both PCI and KVM support are included. This patch gives it its own config option to allow easier customization of whether to include it. It's enabled by default in the same circumstances as now - when both PCI and KVM are available. Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-Id: <1425017077-18487-4-git-send-email-david@gibson.dropbear.id.au> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
David Gibson authored
Currently the "platform-bus" device is included for all softmmu builds. This bridge is intended for use on any platforms that require dynamic creation of sysbus devices. However, at present it is used only for the PPC E500 target, with plans for the ARM "virt" target in the immediate future. To avoid a not-very-useful entry appearing in "qemu -device ?" output on other targets, this patch makes a specific config option for platform-bus and enables it (for now) only on ppc configurations which include E500 and on ARM (which always includes the "virt" target). Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Message-Id: <1425017077-18487-3-git-send-email-david@gibson.dropbear.id.au> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
David Gibson authored
The i82801b11, ioh3420 and xio3130 PCI Express devices are currently included in the build unconditionally. While they could theoretically appear on any target platform with PCI-E, they're pretty unlikely to appear on platforms that aren't Intel derived. Therefore, to avoid presenting unlikely-to-be-relevant devices to the user, add config options to enable these components, and enable them by default only on x86 and arm platforms. (Note that this patch does include these for aarch64, via its inclusion of arm-softmmu.mak). Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Reviewed-by:
Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-Id: <1425017077-18487-2-git-send-email-david@gibson.dropbear.id.au> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Feb 18, 2015
-
-
David Gibson authored
A number of ARM embedded boards include EHCI USB host controllers which appear as directly mapped devices, rather than sitting on a PCI bus. At present code to emulate such devices is included whenever EHCI support is included. This patch adjusts teh config options to only include them in builds targetting ARM by default. Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
-
- Feb 13, 2015
-
-
Alexander Graf authored
Every platform that supports PCI can also spawn the Bochs VGA PCI adapter. Move it to pci.mak to enable it for everyone. Signed-off-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
Alexander Graf authored
Now that we have a working "generic" PCIe host bridge driver, we can plug it into ARM's virt machine to always have PCIe available to normal ARM VMs. I've successfully managed to expose a Bochs VGA device, XHCI and an e1000 into an AArch64 VM with this and they all lived happily ever after. Signed-off-by:
Alexander Graf <agraf@suse.de> Tested-by:
Claudio Fontana <claudio.fontana@huawei.com> [PMM: Squashed in fix for off-by-one error in bus-range DT property from Laszlo Ersek <lersek@redhat.com>] Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
- Jan 26, 2015
-
-
Jiri Slaby authored
I am using qemu for teaching the Linux kernel at our university. I wrote a simple PCI device that can answer to writes/reads, generate interrupts and perform DMA. As I am dragging it locally over 2 years, I am sending it to you now. Signed-off-by:
Jiri Slaby <jslaby@suse.cz> [Fix 32-bit compilation. - Paolo] Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jan 12, 2015
-
-
Frank Blaschka authored
This patch implements a pci bus for s390x together with infrastructure to generate and handle hotplug events, to configure/unconfigure via sclp instruction, to do iommu translations and provide s390 support for MSI/MSI-X notification processing. Signed-off-by:
Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by:
Cornelia Huck <cornelia.huck@de.ibm.com>
-
- Dec 15, 2014
-
-
Kevin O'Connor authored
Support for PCI devices following the "SD Host Controller Simplified Specification Version 2.00" spec. Signed-off-by:
Kevin O'Connor <kevin@koconnor.net> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Nov 07, 2014
-
-
Maciej W. Rozycki authored
Fix the regression introduced with commit 47934d0a [hw: move ISA bridges and devices to hw/isa/, configure with default-configs/], by removing CONFIG_VT82C686 from configurations that previously did not enable it. That southbridge is only available on Fulong platforms (CONFIG_FULONG) that are exclusively little-endian, 64-bit MIPS. Previously vt82c686.o was pulled explicitly with obj-$(CONFIG_FULONG). Signed-off-by:
Maciej W. Rozycki <macro@codesourcery.com> Reviewed-by:
Leon Alrae <leon.alrae@imgtec.com> Signed-off-by:
Leon Alrae <leon.alrae@imgtec.com>
-
- Sep 08, 2014
-
-
Alexander Graf authored
We messed up the ordering in our default configs for PPC. The top entries are generic entries, then come sections that indicate that features are only in because of a special feature (such as PReP). Fix the ordering again and while at it add eTSEC support to the ppc64 target so that we can spawn eTSEC adapters with qemu-system-ppc64. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Sep 01, 2014
-
-
Bastian Koppelmann authored
Add tcg and cpu model initialization. Add gen_intermediate_code function. Activate target in configure and add softmmu config. Signed-off-by:
Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-id: 1409572800-4116-5-git-send-email-kbastian@mail.uni-paderborn.de Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
-
- Jun 19, 2014
-
-
Vasilis Liaskovitis authored
Each hotplug-able memory slot is a PCDIMMDevice. A hot-add operation for a memory device: - creates a new PCDIMMDevice and makes hotplug controller to map it into guest address space Hotplug operations are done through normal device_add commands. For migration case, all hotplugged memory devices on source should be specified on target's command line using '-device' option with properties set to the same values as on source. To simplify review, patch introduces only PCDIMMDevice QOM skeleton that will be extended by following patches to implement actual memory hotplug and related functions. Signed-off-by:
Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com> Signed-off-by:
Igor Mammedov <imammedo@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
-
- Jun 16, 2014
-
-
Doug Kwan authored
Signed-off-by:
Doug Kwan <dougkwan@google.com> Signed-off-by:
Tom Musta <tommusta@gmail.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Tom Musta authored
Enable compilation of the newly added libdecnumber library code. Object file targets are added to Makefile.target using a newly introduced flag CONFIG_LIBDECNUMBER. The flag is added to the PowerPC targets (ppc[64]-linux-user, ppc[64]-softmmu). Signed-off-by:
Tom Musta <tommusta@gmail.com> [agraf: add ppcemb and ppc64abi32 config] Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- May 20, 2014
-
-
Cornelia Huck authored
Introduce a common parent class for both cases, where kvm and non-kvm can hook up callbacks. This will be used by follow-on patches for adapter registration and mapping. We now always have a flic, regardless of whether we use kvm; the non-kvm implementation just doesn't do anything. Reviewed-by:
Jens Freimann <jfrei@linux.vnet.ibm.com> Reviewed-by:
Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by:
Cornelia Huck <cornelia.huck@de.ibm.com>
-
- Apr 23, 2014
-
-
Gerd Hoffmann authored
Implementation of a USB Media Transfer Device device for easy filesharing. Read-only. No access control inside qemu, it will happily export any file it is able to open to the guest, i.e. standard unix access rights for the qemu process apply. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
-
- Mar 05, 2014
-
-
Fabien Chouteau authored
This implementation doesn't include ring priority, TCP/IP Off-Load, QoS. Signed-off-by:
Fabien Chouteau <chouteau@adacore.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Feb 27, 2014
-
-
Mark Cave-Ayland authored
The CG3 framebuffer is a simple 8-bit framebuffer for use with operating systems such as early Solaris that do not have drivers for TCX. Signed-off-by:
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> CC: Blue Swirl <blauwirbel@gmail.com> CC: Anthony Liguori <aliguori@amazon.com> CC: Peter Maydell <peter.maydell@linaro.org> CC: Bob Breuer <breuerr@mc.net> CC: Artyom Tarasenko <atar4qemu@gmail.com>
-
Jens Freimann authored
This patch implements a floating-interrupt controller device (flic) which interacts with the s390 flic kvm_device. Signed-off-by:
Jens Freimann <jfrei@linux.vnet.ibm.com> Reviewed-by:
Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by:
Christian Borntraeger <borntraeger@de.ibm.com>
-
- Feb 13, 2014
-
-
Andreas Färber authored
They are still available in ppc-softmmu and ppc64-softmmu. Signed-off-by:
Andreas Färber <afaerber@suse.de>
-