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:
Ziye Yang 2021-11-25 07:30:48 +00:00 committed by Sebastien Boeuf
parent 154cca4170
commit 61ce4b8f31

View File

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