mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
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:
parent
e66ffffd43
commit
7805fe58e2
@ -6731,9 +6731,11 @@ mod common_parallel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod common_sequential {
|
mod common_sequential {
|
||||||
|
#[cfg(not(feature = "mshv"))]
|
||||||
use crate::*;
|
use crate::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_memory_mergeable_on() {
|
fn test_memory_mergeable_on() {
|
||||||
test_memory_mergeable(true)
|
test_memory_mergeable(true)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user