vmd_get_phys_offsets
ret = vmd_get_phys_offsets(vmd, true, &offset[0], &offset[1]);
ret = vmd_get_phys_offsets(vmd, false, &offset[0], &offset[1]);