vmstate to kernel core