10 int (*deinit)( void );
11 int (*guest_init)(struct v3_guest * guest, void ** priv_data);
12 int (*guest_deinit)(struct v3_guest * guest, void * priv_data);
17 int init_lnx_extensions( void );
18 int deinit_lnx_extensions( void );
20 int init_vm_extensions(struct v3_guest * guest);
21 int deinit_vm_extensions(struct v3_guest * guest);
23 void * get_vm_ext_data(struct v3_guest * guest, char * ext_name);
30 int (*handler)(unsigned int cmd, unsigned long arg);
32 struct rb_node tree_node;
35 int add_global_ctrl(unsigned int cmd,
36 int (*handler)(unsigned int cmd, unsigned long arg));
38 struct global_ctrl * get_global_ctrl(unsigned int cmd);
40 int remove_global_ctrl(unsigned int cmd);
43 #define register_extension(ext) \
44 static struct linux_ext * _lnx_ext \
45 __attribute__((used)) \
46 __attribute__((unused, __section__("_lnx_exts"), \
47 aligned(sizeof(void *)))) \