diff --git a/src/libs/kata-types/src/config/hypervisor/mod.rs b/src/libs/kata-types/src/config/hypervisor/mod.rs index f5fff4ba06..d9bf095f5c 100644 --- a/src/libs/kata-types/src/config/hypervisor/mod.rs +++ b/src/libs/kata-types/src/config/hypervisor/mod.rs @@ -1133,6 +1133,14 @@ pub struct Hypervisor { /// Vendor customized runtime configuration. #[serde(default, flatten)] pub vendor: HypervisorVendor, + + /// Disable applying SELinux on the container process. + #[serde(default = "yes")] + pub disable_guest_selinux: bool, +} + +fn yes() -> bool { + true } impl Hypervisor {