From 61ce4b8f316e52947470f92ff3d3ede71125f377 Mon Sep 17 00:00:00 2001 From: Ziye Yang Date: Thu, 25 Nov 2021 07:30:48 +0000 Subject: [PATCH] vmm: Update comments related with enum Error struct in config.rs Make the comments style consistent Signed-off-by: Ziye Yang --- vmm/src/config.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 8f7e756cd..8f99d81ca 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -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,