use libvmi to get info of VM.