# File lib/deltacloud/base_driver/base_driver.rb, line 74
    def filter_hardware_profiles(profiles, opts)
      if opts
        if v = opts[:architecture]
          profiles = profiles.select { |hwp| hwp.include?(:architecture, v) }
        end
        if v = opts[:name]
          profiles = profiles.select { |hwp| hwp.name == v }
        end
      end
      profiles
    end