rewrite init_xenbus