From a1f1dfddebad69bffc179ae22bd95ad3cdb127a4 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 15 Nov 2021 11:24:57 +0100 Subject: [PATCH] vmm: Fix CpusConfig validation error message Signed-off-by: Sebastien Boeuf --- vmm/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index aa0f3efe0..2e9bf87a3 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -169,7 +169,7 @@ impl fmt::Display for ValidationError { DoubleTtyMode => write!(f, "Console mode tty specified for both serial and console"), KernelMissing => write!(f, "No kernel specified"), ConsoleFileMissing => write!(f, "Path missing when using file console mode"), - CpusMaxLowerThanBoot => write!(f, "Max CPUs greater than boot CPUs"), + CpusMaxLowerThanBoot => write!(f, "Max CPUs lower than boot CPUs"), DiskSocketAndPath => write!(f, "Disk path and vhost socket both provided"), VhostUserRequiresSharedMemory => { write!(f, "Using vhost-user requires using shared memory")