diff --git a/src/runtime/virtcontainers/hypervisor_linux_riscv64.go b/src/runtime/virtcontainers/hypervisor_linux_riscv64.go new file mode 100644 index 0000000000..a53fcb6ceb --- /dev/null +++ b/src/runtime/virtcontainers/hypervisor_linux_riscv64.go @@ -0,0 +1,10 @@ +// Copyright (c) 2024 Institute of Software, CAS. +// +// SPDX-License-Identifier: Apache-2.0 + +package virtcontainers + +// Guest protection is not available on RISC-V. +func availableGuestProtection() (guestProtection, error) { + return noneProtection, nil +}