hypervisor: cpu: Fix GetRegList comment

`GetRegList` variant will be referenced on both Aarch and RISC-V. Fixed
comment to generalize this error variant.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He 2024-09-23 12:20:07 +08:00 committed by Rob Bradford
parent 2668dbbd8b
commit e8697735d1

View File

@ -217,7 +217,7 @@ pub enum HypervisorCpuError {
#[error("Failed to set aarch64 core register: {0}")]
SetAarchCoreRegister(#[source] anyhow::Error),
///
/// Getting AArch64 registers list error
/// Getting registers list error
///
#[error("Failed to retrieve list of registers: {0}")]
GetRegList(#[source] anyhow::Error),