Meanwhile, put the onions, ginger and garlic in a blender and blend to a smooth, thick paste. Set aside in a large bowl. In the same blender blend the cashew nuts and the poppy seeds together with their soaking liquid to a smooth, thick puree. Mix this with the onion paste.