qemu/tests/libqos
Paolo Bonzini e8ecb706a8 libqos: move common i2c code to libqos
The functions to read/write 8-bit or 16-bit registers are the same
in tmp105 and pca9552 tests, and in fact they are a special case of
"read block"/"write block" functionality; read block in turn is used
in ds1338-test.

Move everything inside libqos-test, removing the duplication.  Account
for the small differences by adding to tmp105-test.c the "read register
after writing" behavior that is specific to it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-06-03 14:03:01 +02:00
..
aarch64-xlnx-zcu102-machine.c tests/libqos: aarch64/xlnx-zcu102 machine node 2019-03-07 17:28:25 +01:00
ahci.c tests/libqos: rename qpci_init_pc and qpci_init_spapr functions 2019-03-07 16:50:04 +01:00
ahci.h
arm-raspi2-machine.c tests/libqos: arm/raspi2 machine node 2019-03-07 17:28:25 +01:00
arm-sabrelite-machine.c tests/libqos: arm/sabrelite machine node 2019-03-07 17:28:25 +01:00
arm-smdkc210-machine.c tests/libqos: arm/smdkc210 machine node 2019-03-07 17:28:25 +01:00
arm-virt-machine.c tests/libqos: arm/virt machine node 2019-03-07 17:28:26 +01:00
arm-xilinx-zynq-a9-machine.c tests/libqos: arm/xilinx-zynq-a9 machine node 2019-03-07 17:28:25 +01:00
e1000e.c tests/libqos: e1000e driver and interface nodes 2019-03-07 17:28:26 +01: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
i2c-omap.c
i2c.c libqos: move common i2c code to libqos 2019-06-03 14:03:01 +02:00
i2c.h libqos: move common i2c code to libqos 2019-06-03 14:03:01 +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
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.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 tests: qpci_unplug_acpi_device_test() should not rely on global_qtest 2019-05-08 17:45:54 +02:00
pci-pc.h tests/libqos: pci-pc driver and interface nodes 2019-03-07 17:28:24 +01:00
pci-spapr.c tests/libqos: fix usage of bool in pci-spapr.c 2019-04-08 12:38:07 +02:00
pci-spapr.h tests/libqos: pci-spapr driver and interface nodes 2019-03-07 17:28:25 +01:00
pci.c tests/libqos: has_buggy_msi flag 2019-03-07 17:28:26 +01:00
pci.h tests: qpci_unplug_acpi_device_test() should not rely on global_qtest 2019-05-08 17:45:54 +02:00
ppc64_pseries-machine.c tests/qgraph: ppc64/pseries machine node 2019-03-07 17:28:26 +01: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
rtas.h
sdhci.c tests/libqos: sdhci driver and interface nodes 2019-03-07 17:28:25 +01:00
sdhci.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpci200.c qos-test: tpci200 test node 2019-03-07 17:28:46 +01:00
usb.c tests: Clean up string interpolation around qtest_qmp_device_add() 2018-08-16 08:42:06 +02:00
usb.h tests: Clean up string interpolation around qtest_qmp_device_add() 2018-08-16 08:42:06 +02:00
virtio-9p.c tests/libqos: virtio-9p driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-9p.h tests/libqos: virtio-9p driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-balloon.c tests/libqos: virtio-balloon driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-balloon.h tests/libqos: virtio-balloon driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-blk.c tests/libqos: virtio-blk driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-blk.h tests/libqos: virtio-blk driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-mmio.c tests/libqos: Get rid of global_qtest dependency in qvring_init() 2019-05-21 10:00:22 +02:00
virtio-mmio.h tests/libqos: virtio-mmio driver and interface nodes 2019-03-07 17:28:26 +01:00
virtio-net.c tests/libqos: support multiqueue for virtio-net 2019-03-07 17:28:42 +01:00
virtio-net.h tests/libqos: support multiqueue for virtio-net 2019-03-07 17:28:42 +01:00
virtio-pci.c tests/libqos: Get rid of global_qtest dependency in qvring_init() 2019-05-21 10:00:22 +02:00
virtio-pci.h tests/libqos: remove pre-qgraph QVirtioPCIDevice API 2019-03-07 17:28:45 +01:00
virtio-rng.c tests/libqos: virtio-rng driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-rng.h tests/libqos: virtio-rng driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-scsi.c tests/libqos: virtio-scsi driver and interface nodes 2019-03-07 17:28:42 +01:00
virtio-scsi.h tests/libqos: virtio-scsi driver and interface nodes 2019-03-07 17:28:42 +01:00
virtio-serial.c tests/libqos: virtio-serial driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio-serial.h tests/libqos: virtio-serial driver and interface nodes 2019-03-07 17:28:27 +01:00
virtio.c tests/libqos: Get rid of global_qtest dependency in qvring_init() 2019-05-21 10:00:22 +02:00
virtio.h tests/libqos: Get rid of global_qtest dependency in qvring_init() 2019-05-21 10:00:22 +02:00
x86_64_pc-machine.c tests/libqos: x86_64/pc machine node 2019-03-07 17:28:25 +01:00