[PATCH v1 06/12] bhyve: add hooks