search for: cmsg_vcpu_hotplug_on

Displaying 1 result from an estimated 1 matches for "cmsg_vcpu_hotplug_on".

Did you mean: cmsg_vcpu_hotplug_off
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
...which function to call based on msg subtype */ + switch ( msg->subtype ) { + case CMSG_VCPU_HOTPLUG_OFF: + handler->fn = (void *)&cpu_down; + ret = schedule_work(&vcpu_hotplug_work); + req->status = (u32) ret; + break; + case CMSG_VCPU_HOTPLUG_ON: + handler->fn = (void *)&cpu_up; + ret = schedule_work(&vcpu_hotplug_work); + req->status = (u32) ret; + break; + default: + goto parse_error; + } + + ctrl_if_send_response(msg); + return; + parse_error: + msg->...