mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-07-14 17:02:55 +00:00
mevent is added only if uart backend fd refers TTY in uart_opentty. So we should only delete mevent if uart backend fd refers TTY in uart_closetty. This issue can be reproduced by below steps 1) acrnd starts UOS 2) run poweroff command in UOS 3) crash happens Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>