mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
hypervisor: Fix copy and pasted error enum entries
Remove unused GetNrVcpus error and fix duplicated error message for GetCpuId. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
239169ad1d
commit
c266e56a02
@ -46,14 +46,9 @@ pub enum HypervisorError {
|
||||
#[error("Failed to get number of max vcpus: {0}")]
|
||||
GetMaxVcpu(#[source] anyhow::Error),
|
||||
///
|
||||
/// Recommended Vcpu error
|
||||
///
|
||||
#[error("Failed to get number of max vcpus: {0}")]
|
||||
GetNrVcpus(#[source] anyhow::Error),
|
||||
///
|
||||
/// CpuId error
|
||||
///
|
||||
#[error("Failed to get number of max vcpus: {0}")]
|
||||
#[error("Failed to get cpuid: {0}")]
|
||||
GetCpuId(#[source] anyhow::Error),
|
||||
///
|
||||
/// Failed to retrieve list of MSRs.
|
||||
|
Loading…
Reference in New Issue
Block a user