Roast the garlic bulbs in a hot oven until they are soft when you squeeze them. Allow to cool to a handleable temperature, then squeeze the flesh out of the cloves. Toss the shallots in a little olive oil on the heat, then place in the oven to roast, keeping a close eye on them and tossing regularly until soft and sweet. Keep warm.