mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 17:59:31 +00:00
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:
parent
4947938ce8
commit
1e4963a3b2
10
src/runtime/virtcontainers/hypervisor_linux_riscv64.go
Normal file
10
src/runtime/virtcontainers/hypervisor_linux_riscv64.go
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user