emulation: feature complete

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>