Displaying 1 result from an estimated 1 matches for "hypervisor_network_op".
2003 Dec 09
2
modules and hypercall
...#0
*/
static int __init init_xvifgetinfo(void)
{
network_op_t netop;
long res;
printk(KERN_INFO "init_xvifgetinfo: Loaded\n");
netop.cmd = NETWORK_OP_VIFGETINFO;
netop.u.vif_getinfo.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
* i...