hvf: Move hvf internal definitions into common header