示例#1
0
/* Hypervisor C1700 initialization */
int hypervisor_c1700_init(vm_platform_t *platform)
{
   hypervisor_module_t *module;

   module = hypervisor_register_module(platform->name,platform);
   assert(module != NULL);

   hypervisor_register_cmd_array(module,c1700_cmd_array);
   return(0);
}
示例#2
0
/* Initialize hypervisor */
int hypervisor_init(void)
{
   hypervisor_module_t *module;

   module = hypervisor_register_module("hypervisor",NULL);
   assert(module != NULL);

   hypervisor_register_cmd_array(module,hypervisor_cmd_array);
   return(0);
}
/* Hypervisor NIO bridge initialization */
int hypervisor_nio_bridge_init(void)
{
   hypervisor_module_t *module;

   module = hypervisor_register_module("nio_bridge",NULL);
   assert(module != NULL);

   hypervisor_register_cmd_array(module,nio_bridge_cmd_array);
   return(0);
}