Or boil the beans in a large pot of water for 1 1/2 hours. Drain the beans.
In a large stockpot add the olive oil and saute onions for 10-15 minutes until softened.
Add the garlic and cook for 3 more minutes.
Add the drained beans, rosemary, stock, and bay leaf.
Place in a food processor, blender, or a hand blender, puree until smooth.
Return the soup to the pot to reheat, add the salt and pepper to taste.
This recipe is adapted from the Barefoot Contessa Cookbook