4 int add_mod_cmd(struct v3_guest * guest, unsigned int cmd,
5 int (*handler)(struct v3_guest * guest,
6 unsigned int cmd, unsigned long arg));
12 int (*deinit)( void );
13 int (*guest_init)(struct v3_guest * guest, void ** priv_data);
14 int (*guest_deinit)(struct v3_guest * guest, void * priv_data);
19 int init_lnx_extensions( void );
20 int deinit_lnx_extensions( void );
22 int init_vm_extensions(struct v3_guest * guest);
23 int deinit_vm_extensions(struct v3_guest * guest);
25 void * get_vm_ext_data(struct v3_guest * guest, char * ext_name);
29 #define register_extension(ext) \
30 static struct linux_ext * _lnx_ext \
31 __attribute__((used)) \
32 __attribute__((unused, __section__("_lnx_exts"), \
33 aligned(sizeof(void *)))) \