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:
Rob Bradford
2026-04-03 12:40:55 -07:00
parent 37b1ed1b84
commit dde28dc38a

View File

@@ -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),