question: private static void validateOvf ( OvfFile ovfFile ) throws UnsupportedDiskControllerException , InvalidOvfException { for ( OvfMetadata . VirtualDisk virtualDisk : ovfFile . getVirtualDisks ( ) ) { Device diskDevice = virtualDisk . getDiskDevice ( ) ; Device diskController = diskDevice . getControllerDevice ( ) ; if ( diskController . getDeviceType ( ) != Device . DeviceType . SCSIController ) { throw new UnsupportedDiskControllerException ( String . format ( "Unsupported disk controller: %s." , diskController . getName ( ) ) ) ; } } }
target:  Validate an OVF. Currently the validation is that: The disks use a SCSI controller.