mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
vmm: Fix CpusConfig validation error message
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
e2bd35f4bb
commit
a1f1dfddeb
@ -169,7 +169,7 @@ impl fmt::Display for ValidationError {
|
|||||||
DoubleTtyMode => write!(f, "Console mode tty specified for both serial and console"),
|
DoubleTtyMode => write!(f, "Console mode tty specified for both serial and console"),
|
||||||
KernelMissing => write!(f, "No kernel specified"),
|
KernelMissing => write!(f, "No kernel specified"),
|
||||||
ConsoleFileMissing => write!(f, "Path missing when using file console mode"),
|
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"),
|
DiskSocketAndPath => write!(f, "Disk path and vhost socket both provided"),
|
||||||
VhostUserRequiresSharedMemory => {
|
VhostUserRequiresSharedMemory => {
|
||||||
write!(f, "Using vhost-user requires using shared memory")
|
write!(f, "Using vhost-user requires using shared memory")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user