On 3/9/26 4:39 AM, Thomas Huth wrote:
On 09/03/2026 11.45, Peter Maydell wrote:
The address-sanitizer intercepts mlock() and makes it a no-op,
because it interacts badly with the sanitizer's own use of large
amounts of memory.  This means that our 'memlock' test will always
fail, because it checks via /proc for whether the QEMU process really
locked some pages.  Don't add the test when QEMU is built with asan.

Suggested-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
---
   tests/functional/x86_64/meson.build | 9 ++++++++-
   1 file changed, 8 insertions(+), 1 deletion(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to