]> Git Repo - qemu.git/commit - tests/libqos/malloc.h
libqos/ahci: Add ahci_clean_mem
authorJohn Snow <[email protected]>
Thu, 5 Feb 2015 17:41:28 +0000 (12:41 -0500)
committerStefan Hajnoczi <[email protected]>
Mon, 16 Feb 2015 15:07:17 +0000 (15:07 +0000)
commit259342d34dbdfb304374f569feec26317edd97c9
tree38487465cbf6252fe1ee0b8214471184d932c78d
parentae029620173239f3643925299790ecc5e1d72db1
libqos/ahci: Add ahci_clean_mem

Clean up guest memory being used in ahci_clean_mem, to be
called during ahci_shutdown. With all guest memory leaks removed,
add an option to the allocator to throw an assertion if a leak
occurs.

This test adds some sanity to both the AHCI library and the
allocator.

Signed-off-by: John Snow <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Message-id: 1423158090[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
tests/ahci-test.c
tests/libqos/ahci.c
tests/libqos/ahci.h
tests/libqos/malloc.c
tests/libqos/malloc.h
This page took 0.026384 seconds and 4 git commands to generate.