Skip to content

Commit

Permalink
tests: drop landlock parameter while starting dest
Browse files Browse the repository at this point in the history
After moving landlock config to VMConfig, there is no need to start
destination VM with landlock cmdline options in
test_live_migration_with_landlock test.

Signed-off-by: Praveen K Paladugu <[email protected]>
  • Loading branch information
praveen-pk committed Jul 30, 2024
1 parent 1e7e4ba commit 932796d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10213,11 +10213,6 @@ mod live_migration {
dest_api_socket.push_str(".dest");
let mut dest_child = GuestCommand::new(&guest)
.args(["--api-socket", &dest_api_socket])
.args(["--landlock"])
.args([
"--landlock-rules",
format!("path={:?},access=rw", guest.tmp_dir.as_path()).as_str(),
])
.capture_output()
.spawn()
.unwrap();
Expand Down

0 comments on commit 932796d

Please sign in to comment.