mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: config: Remove unused error variant
The IommuNotSupportedOnSegment variant is no longer needed as the common PciDeviceCommonConfig::validate() handles this case with the OnIommuSegment variant along with more use of the IommuNotSupported error variant. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -320,11 +320,6 @@ pub enum ValidationError {
|
||||
/// GPUDirect clique requires P2P DMA
|
||||
#[error("Device with x_nv_gpudirect_clique requires vfio_p2p_dma=on")]
|
||||
GpuDirectCliqueRequiresP2pDma,
|
||||
// On a IOMMU segment but IOMMU not supported
|
||||
#[error(
|
||||
"Device is on an IOMMU PCI segment ({0}) but does not support being placed behind IOMMU"
|
||||
)]
|
||||
IommuNotSupportedOnSegment(u16),
|
||||
// Identifier is not unique
|
||||
#[error("Identifier {0} is not unique")]
|
||||
IdentifierNotUnique(String),
|
||||
|
||||
Reference in New Issue
Block a user