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>
This commit is contained in:
Ruoqing He 2025-03-27 09:34:53 +08:00
parent 4947938ce8
commit 1e4963a3b2

View File

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