Files
kata-containers/src/runtime/virtcontainers/hypervisor_linux_riscv64.go
Ruoqing He 1e4963a3b2 runtime: Define availableGuestProtection for riscv64
`GuestProtection` feature is not made available yet, return
`noneProtection` for now.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
2025-03-27 09:34:53 +08:00

11 lines
254 B
Go

// 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
}