Heat one and a half tablespoons oil in a pan and add the pumpkin slices. Sprinkle some salt over them and pot roast them on medium heat till well roasted.
Place the onions and garlic pods, without peeling, in a microwave oven and cook on HIGH for one minute so that they soften.
Heat the remaining oil in another pan and roast the onions and garlic pods on medium heat till fragrant and the peels begin to loosen. Remove the peels and add the garlic cloves to the pumpkin.
Peel the onions and roughly chop them and add to the pumpkin. Add half a cup of water. Cover and cook on medium heat till the pumpkin gets completely soft.
Cool. Transfer the mixture into a mixer, add quarter cup of water and grind to a smooth puree. Transfer the puree into the pan, adjust salt and bring it to a boil. Add cream and stir.