acrn-hypervisor/devicemodel/arch/x86
Yin Fengwei 1041384993 dm: pm: move host power button related code out of pm.c
For the code which forwards the native power button event to
guest, they are not related with guest pm related operation
emulation. Move this part of code out of pm.c. And will make
the power button as one possible method to notify guest about
the shutdown operation.

Tracked-On: #3564
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Wang Yu <yu1.wang@intel.com>
2019-09-11 13:27:10 +08:00
..
pm.c dm: pm: move host power button related code out of pm.c 2019-09-11 13:27:10 +08:00
power_button.c dm: pm: move host power button related code out of pm.c 2019-09-11 13:27:10 +08:00