summaryrefslogtreecommitdiffstats
path: root/Documentation/user/virtio.rst
Commit message (Collapse)AuthorAgeFilesLines
* virtio: pci: add support for transitional devicesAhmad Fatoum2023-08-231-6/+8
| | | | | | | | | | | | | | | | | | | | So far, barebox required that Virt I/O devices it consumes are parameterized with pci,disable-legacy=on. Otherwise, it bails out with: Legacy and transitional devices unsupported because only modern (specification >= v1.0) devices were supported. By default, Qemu provides its guests with transitional virtio-pci devices: These enumerate like legacy devices, but implement the bars of both legacy and modern devices. Add support for transitional device, so pci,disable-legacy=on is not required any longer. we still leave pci,disable-modern=off in the scripts, but it should not be needed with any recent Qemu version. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230822074832.3905525-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: remove vexpress_defconfigSascha Hauer2023-05-021-1/+1
| | | | | | | | | vexpress is now covered by multi_v7_defconfig. To reduce the number of defconfigs remove vexpress_defconfig. While at it add a hint to the documentation how to build the vexpress images. Link: https://lore.barebox.org/20230425133535.273920-2-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add virtio network driverAhmad Fatoum2021-10-051-1/+1
| | | | | | | | | | | | | This gives virtio-enabled boards an easy route to network connectivity: qemu-system-aarch64 -M virt -serial mon:stdio -trace file=/dev/null \ -kernel images/barebox-dt-2nd.img -cpu cortex-a57 -nographic \ -device virtio-net-device,netdev=network0 -netdev tap,id=network0,ifname=tap0 The tap0 interface created by QEMU can then be bridged/listened on. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: virtio: Fix virtio referenceAhmad Fatoum2021-04-131-1/+1
| | | | | | | | Sphinx complains, probably, because _virtio is used for footnote in the same document. Rename it to fix the reference. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* input: add virtio input driverAhmad Fatoum2021-04-131-1/+1
| | | | | | | | | | | We already support Linux event codes, because they are used in the device tree bindings for e.g. gpio-keys. Virtio input devices report events using the same codes, so a driver just has to shovel the codes from virtqueue into the input layer. Do so. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* virtio: support virtio-based device drivers over PCIAhmad Fatoum2021-03-041-13/+17
| | | | | | | | | This driver provides support for virtio based paravirtual device drivers over PCI. This is useful with Qemu for boards that barebox has PCI support for, e.g. MIPS Malta. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: add Documentation on VirtIO for bareboxAhmad Fatoum2021-02-221-0/+82
Save users the trip to the commit log and reproduce some example qemu invocations in the documentation. The text around it is adapted from the U-Boot doc/README.virtio. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>