Re: [RFC PATCH 1/5] qtest/pci: Enforce balanced iomap/unmap
Nicholas Piggin writes: > Add assertions to ensure a BAR is not mapped twice, and only > previously mapped BARs are unmapped. This can help catch some > bugs. > > Signed-off-by: Nicholas Piggin Reviewed-by: Fabiano Rosas
[RFC PATCH 1/5] qtest/pci: Enforce balanced iomap/unmap
Add assertions to ensure a BAR is not mapped twice, and only previously mapped BARs are unmapped. This can help catch some bugs. Signed-off-by: Nicholas Piggin --- tests/qtest/libqos/ahci.h | 1 + tests/qtest/libqos/pci.h| 2 ++ tests/qtest/libqos/virtio-pci.h | 1 + tests/qtest