Displaying 1 result from an estimated 1 matches for "cleanup_xvifgetinfo".
2003 Dec 09
2
modules and hypercall
...fo.domain = 0;
netop.u.vif_getinfo.vif = 1;
res = HYPERVISOR_network_op(&netop);
if (res < 0) {
printk(KERN_INFO "init_xvifgetinfo: HYPERVISOR_network_op error
%ld\n", res)
;
return res;
}
return 0;
}
/**
* cleanup_xvifgetinfo() - this function is called when the module
* is unloading.
*/
static void __exit cleanup_xvifgetinfo(void)
{
/* Nothing to do */
printk(KERN_INFO "init_xvifgetinfo: Unloaded\n");
}
module_init(init_xvifgetinfo);
module_exit(cleanup_xvifgetinfo);
-...