mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
tests: Enable landlock in test_net_hotplug
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
parent
bc545f3b64
commit
cca808865d
@ -5841,6 +5841,10 @@ mod common_parallel {
|
|||||||
.args(["--memory", "size=512M"])
|
.args(["--memory", "size=512M"])
|
||||||
.args(["--kernel", kernel_path.to_str().unwrap()])
|
.args(["--kernel", kernel_path.to_str().unwrap()])
|
||||||
.args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE])
|
.args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE])
|
||||||
|
.args([
|
||||||
|
"--landlock-rules",
|
||||||
|
format!("path={:?},flags=rw", "/dev/net/tun").as_str(),
|
||||||
|
])
|
||||||
.default_disks()
|
.default_disks()
|
||||||
.capture_output();
|
.capture_output();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user