mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +00:00
vmm: Update comments related with enum Error struct in config.rs
Make the comments style consistent Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
154cca4170
commit
61ce4b8f31
@ -80,27 +80,27 @@ pub enum Error {
|
||||
ParseDevice(OptionParserError),
|
||||
/// Missing path from device,
|
||||
ParseDevicePathMissing,
|
||||
/// Failed to parse vsock parameters
|
||||
/// Failed parsing vsock parameters
|
||||
ParseVsock(OptionParserError),
|
||||
/// Failed to parse restore parameters
|
||||
/// Failed parsing restore parameters
|
||||
ParseRestore(OptionParserError),
|
||||
/// Failed to parse SGX EPC parameters
|
||||
/// Failed parsing SGX EPC parameters
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
ParseSgxEpc(OptionParserError),
|
||||
/// Missing 'id' from SGX EPC section
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
ParseSgxEpcIdMissing,
|
||||
/// Failed to parse NUMA parameters
|
||||
/// Failed parsing NUMA parameters
|
||||
ParseNuma(OptionParserError),
|
||||
/// Failed to validate configuration
|
||||
/// Failed validating configuration
|
||||
Validation(ValidationError),
|
||||
#[cfg(feature = "tdx")]
|
||||
/// Failed to parse TDX config
|
||||
/// Failed parsing TDX config
|
||||
ParseTdx(OptionParserError),
|
||||
#[cfg(feature = "tdx")]
|
||||
// No TDX firmware
|
||||
/// No TDX firmware
|
||||
FirmwarePathMissing,
|
||||
/// Failed to parse userspace device
|
||||
/// Failed parsing userspace device
|
||||
ParseUserDevice(OptionParserError),
|
||||
/// Missing socket for userspace device
|
||||
ParseUserDeviceSocketMissing,
|
||||
|
Loading…
Reference in New Issue
Block a user