mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +00:00
vmm: Update some comments and error message info in config.rs
Update some comments and error message info related with TDX. Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
9075809494
commit
896a651b5c
@ -142,10 +142,10 @@ pub enum ValidationError {
|
||||
HugePageSizeWithoutHugePages,
|
||||
/// Huge page size is not power of 2
|
||||
InvalidHugePageSize(u64),
|
||||
/// CPU Hotplug not permitted with TDX
|
||||
/// CPU Hotplug is not permitted with TDX
|
||||
#[cfg(feature = "tdx")]
|
||||
TdxNoCpuHotplug,
|
||||
/// Specifying kernel not permitted with TDX
|
||||
/// Specifying kernel is not permitted with TDX
|
||||
#[cfg(feature = "tdx")]
|
||||
TdxKernelSpecified,
|
||||
/// Insuffient vCPUs for queues
|
||||
@ -196,11 +196,11 @@ impl fmt::Display for ValidationError {
|
||||
}
|
||||
#[cfg(feature = "tdx")]
|
||||
TdxNoCpuHotplug => {
|
||||
write!(f, "CPU hotplug not possible with TDX")
|
||||
write!(f, "CPU hotplug is not permitted with TDX")
|
||||
}
|
||||
#[cfg(feature = "tdx")]
|
||||
TdxKernelSpecified => {
|
||||
write!(f, "Direct kernel boot not possible with TDX")
|
||||
write!(f, "Direct kernel boot is not permitted with TDX")
|
||||
}
|
||||
TooManyQueues => {
|
||||
write!(f, "Number of vCPUs is insufficient for number of queues")
|
||||
|
Loading…
Reference in New Issue
Block a user