relayout vt-d and ref API