mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-08 13:19:03 +00:00
In the command module, the following functions are implemented: - register_command_handler Provide one interface to register command handler, other module can use this interface to register multiple handler for one command. - find_command Provide one interface to find a command instance by name; - dispatch_command_handlers Provide one interface to dispatch the command and invoke registered handler. v1-->v2: Add comments in head file. v2-->v3: Update interface name since "dm" prefix is useless. Update some log message. v3-->v4: Support guest shutdown. v4-->v5: Refine command name and add parameter check for interface. v5-->v6: Remove allow s5 command. Tracked-On: #6652 Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Reviewed-by: fei1.li@intel.com
2.6 KiB
2.6 KiB