tests: disable test_memory_mergeable_on for mshv

KSM doesn't work with MSHV stack since guest memory is pinned
(`pin_user_pages`) and pinned pages cannot be merged.

So, don't run the test for mshv.

Signed-off-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
This commit is contained in:
Anirudh Rayabharam 2023-01-18 21:05:03 +05:30 committed by Rob Bradford
parent e66ffffd43
commit 7805fe58e2

View File

@ -6731,9 +6731,11 @@ mod common_parallel {
}
mod common_sequential {
#[cfg(not(feature = "mshv"))]
use crate::*;
#[test]
#[cfg(not(feature = "mshv"))]
fn test_memory_mergeable_on() {
test_memory_mergeable(true)
}