qemu/tests/libqos
Stefan Hajnoczi d08f68b8e8 libqos: add VIRTIO PCI 1.0 support
Implement the VIRTIO 1.0 virtio-pci interface.  The main change here is
that the register layout is no longer a fixed layout in BAR 0.  Instead
we have to iterate of PCI Capabilities to find descriptions of where
various registers are located.  The vring registers are also more
fine-grained, allowing for more flexible vring layouts, but we don't
take advantage of that.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-Id: <20191023100425.12168-17-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
2019-10-25 07:46:22 -04:00
..
aarch64-xlnx-zcu102-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
ahci.c tests/libqos: rename qpci_init_pc and qpci_init_spapr functions 2019-03-07 16:50:04 +01:00
ahci.h ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
arm-imx25-pdk-machine.c libqos: add ARM imx25-pdk machine object 2019-06-03 14:03:02 +02:00
arm-n800-machine.c libqos: add ARM n800 machine object 2019-06-03 14:03:02 +02:00
arm-raspi2-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-sabrelite-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-smdkc210-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-virt-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
arm-xilinx-zynq-a9-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
e1000e.c tests/libqos/e1000e: Make e1000e libqos functions independent from global_qtest 2019-09-05 13:18:52 +02:00
e1000e.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
fw_cfg.c tests: fw_cfg: add a function to get the fw_cfg file 2019-05-23 14:10:31 +02:00
fw_cfg.h tests: fw_cfg: add a function to get the fw_cfg file 2019-05-23 14:10:31 +02:00
i2c-imx.c tests: convert ds1338-test to qtest 2019-06-03 14:03:02 +02:00
i2c-omap.c tests: convert OMAP i2c tests to qgraph 2019-06-03 14:03:02 +02:00
i2c.c libqos: i2c: move address into QI2CDevice 2019-06-03 14:03:02 +02:00
i2c.h libqos: i2c: move address into QI2CDevice 2019-06-03 14:03:02 +02:00
libqos-pc.c tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
libqos-pc.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
libqos-spapr.c tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
libqos-spapr.h libqos: define SPAPR libqos functions 2016-09-23 10:29:40 +10:00
libqos.c ahci-test: Drop dependence on global_qtest 2019-03-12 07:40:59 +01:00
libqos.h ahci-test: Drop dependence on global_qtest 2019-03-12 07:40:59 +01:00
malloc-pc.c tests/libqos: Add pc_fw_cfg_uninit() and use it 2019-05-23 14:10:31 +02:00
malloc-pc.h tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
malloc-spapr.c tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
malloc-spapr.h tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
malloc.c tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
malloc.h tests/libqos: embed allocators instead of malloc-ing them separately 2019-03-07 17:28:07 +01:00
pci-pc.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
pci-pc.h tests/libqos: pci-pc driver and interface nodes 2019-03-07 17:28:24 +01:00
pci-spapr.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
pci-spapr.h tests/libqos: pci-spapr driver and interface nodes 2019-03-07 17:28:25 +01:00
pci.c libqos: add iteration support to qpci_find_capability() 2019-10-25 07:46:22 -04:00
pci.h libqos: add iteration support to qpci_find_capability() 2019-10-25 07:46:22 -04:00
ppc64_pseries-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
qgraph_internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
qgraph.c qgraph: fix qos_node_contains with options 2019-06-03 14:03:01 +02:00
qgraph.h qgraph: fix qos_node_contains with options 2019-06-03 14:03:01 +02:00
rtas.c libqos: Use explicit QTestState for rtas operations 2018-02-14 11:43:41 +01:00
rtas.h libqos: Use explicit QTestState for rtas operations 2018-02-14 11:43:41 +01:00
sdhci.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
sdhci.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpci200.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
usb.c tests/libqtest: Make qtest_qmp_device_add/del independent from global_qtest 2019-08-15 19:24:10 +02:00
usb.h tests/libqtest: Make qtest_qmp_device_add/del independent from global_qtest 2019-08-15 19:24:10 +02:00
virtio-9p.c libqos: add missing virtio-9p feature negotiation 2019-10-25 07:46:22 -04:00
virtio-9p.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-balloon.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-balloon.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-blk.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-blk.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-mmio.c libqos: pass full QVirtQueue to set_queue_address() 2019-10-25 07:46:22 -04:00
virtio-mmio.h libqos: read QVIRTIO_MMIO_VERSION register 2019-10-25 07:46:22 -04:00
virtio-net.c libqos: extend feature bits to 64-bit 2019-10-25 07:46:22 -04:00
virtio-net.h libqos: Account for the ctrl queue in virtio-net 2019-08-15 19:23:59 +02:00
virtio-pci-modern.c libqos: add VIRTIO PCI 1.0 support 2019-10-25 07:46:22 -04:00
virtio-pci-modern.h libqos: add VIRTIO PCI 1.0 support 2019-10-25 07:46:22 -04:00
virtio-pci.c libqos: add VIRTIO PCI 1.0 support 2019-10-25 07:46:22 -04:00
virtio-pci.h libqos: add VIRTIO PCI 1.0 support 2019-10-25 07:46:22 -04:00
virtio-rng.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-rng.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-scsi.c tests: Set read-zeroes on for null-co driver 2019-08-15 19:23:59 +02:00
virtio-scsi.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio-serial.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
virtio-serial.h Supply missing header guards 2019-06-12 13:20:21 +02:00
virtio.c libqos: access VIRTIO 1.0 vring in little-endian 2019-10-25 07:46:22 -04:00
virtio.h libqos: pass full QVirtQueue to set_queue_address() 2019-10-25 07:46:22 -04:00
x86_64_pc-machine.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00