acrn-hypervisor/devicemodel/core/cmd_monitor
Xiangyang Wu cc2efdc049 DM: add DM parameter for command monitor
Libvirt or kata container needs to send some commands
(such as VM destory command) to the DM instance of User VM
through command monitor socket, they will specify the socket
path and pass this path name to DM instance through DM parameter.

In this patch, add new DM parameter (cmd_monitor) to get socket
path from libvirt or kata container. If cmd_monitor is specified,
it initialize and deinitialize command monitor in DM main loop.

v2-->v3:
	Include command monitor initialization and deinitialization.

Tracked-On: #5921

Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
2022-02-18 18:33:52 +08:00
..
cmd_monitor.c DM: add DM parameter for command monitor 2022-02-18 18:33:52 +08:00
command.c DM: add command module for command monitor 2022-02-18 18:33:52 +08:00
command.h DM: add command module for command monitor 2022-02-18 18:33:52 +08:00
command_handler.c DM: add command handler for command monitor 2022-02-18 18:33:52 +08:00
command_handler.h DM: add command handler for command monitor 2022-02-18 18:33:52 +08:00
socket.c
socket.h