World No 1 Serena Williams is through to the quarter-finals of the China Open after a battling performance against Maria Kirilenko.