add resume

Signed-off-by: yxy <yan5yang@gmail.com>