mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-18 19:09:15 +00:00
tests: drop landlock parameter while starting dest
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 <prapal@linux.microsoft.com>
This commit is contained in:
parent
d2f0e8aebb
commit
b9f086bcb3
@ -10213,11 +10213,6 @@ mod live_migration {
|
|||||||
dest_api_socket.push_str(".dest");
|
dest_api_socket.push_str(".dest");
|
||||||
let mut dest_child = GuestCommand::new(&guest)
|
let mut dest_child = GuestCommand::new(&guest)
|
||||||
.args(["--api-socket", &dest_api_socket])
|
.args(["--api-socket", &dest_api_socket])
|
||||||
.args(["--landlock"])
|
|
||||||
.args([
|
|
||||||
"--landlock-rules",
|
|
||||||
format!("path={:?},access=rw", guest.tmp_dir.as_path()).as_str(),
|
|
||||||
])
|
|
||||||
.capture_output()
|
.capture_output()
|
||||||
.spawn()
|
.spawn()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user