qemu/tests/libqos
Marc-André Lureau 80e1eea37a tests: fix virtio-blk-test leaks
Use qvirtio_pci_device_find_slot() to avoid leaking the non-hp
device. Add assert() to avoid further leaks in the future.

Use qvirtio_pci_device_free() to correctly free QVirtioPCIDevice.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-03-01 11:58:57 +04:00
..
ahci.c libqos/ahci: Add get_sense and test_ready 2016-11-14 11:15:55 -05:00
ahci.h libqos/ahci: Add get_sense and test_ready 2016-11-14 11:15:55 -05:00
fw_cfg.c
fw_cfg.h
i2c-imx.c
i2c-omap.c
i2c.c
i2c.h
libqos-pc.c libqos: use generic qtest_shutdown() 2016-10-06 16:15:53 +11:00
libqos-pc.h
libqos-spapr.c libqos: use generic qtest_shutdown() 2016-10-06 16:15:53 +11:00
libqos-spapr.h
libqos.c tests: don't check if qtest_spapr_boot() returns NULL 2016-10-28 09:36:58 +11:00
libqos.h libqos: use generic qtest_shutdown() 2016-10-06 16:15:53 +11:00
malloc-generic.c
malloc-generic.h
malloc-pc.c
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
malloc.c
malloc.h
pci-pc.c libqos: Add 64-bit PCI IO accessors 2016-10-28 09:38:27 +11:00
pci-pc.h
pci-spapr.c libqos: fix spapr qpci_map() 2017-01-31 10:10:13 +11:00
pci-spapr.h
pci.c libqos: Change PCI accessors to take opaque BAR handle 2016-10-28 09:38:27 +11:00
pci.h libqos: Change PCI accessors to take opaque BAR handle 2016-10-28 09:38:27 +11:00
rtas.c
rtas.h
usb.c tests: fix usb-test leaks 2017-03-01 11:51:29 +04:00
usb.h tests: fix usb-test leaks 2017-03-01 11:51:29 +04:00
virtio-mmio.c libqos: Give qvirtio_config_read*() consistent semantics 2016-10-28 09:38:27 +11:00
virtio-mmio.h
virtio-pci.c tests: fix virtio-blk-test leaks 2017-03-01 11:58:57 +04:00
virtio-pci.h tests: add specialized device_find function 2017-03-01 11:57:04 +04:00
virtio.c tests: move QVirtioBus pointer into QVirtioDevice 2016-10-28 09:36:58 +11:00
virtio.h tests: rename target_big_endian() as qvirtio_is_big_endian() 2016-10-28 09:36:58 +11:00