[PATCH 1/2] virthook: refactoring for support hooks placed in several files