Chinese President Xi Jinping will visit North Korea on June 8 and 9, state news agency Xinhua reports.