Stir fry the onions a bit in their own moisture, then add the rest, cook for a few hours, cool, blend. Makes a great marinade, and the leftovers can be used for sauce.