Rising cost of food staples, stoked by soaring fuel prices and demand from India and China, has sparked violent protests.