mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +00:00
This patch resolves acrn-dm crash issue when acrnd boots up the acrn-dm. The rootcause is mevent_enable and mevent_disable have NULL pointer as its parameter if uart backend is not tty capable, so add check code for the uart backend before invoking mevent_enable and mevent_disable. The issue can be reproduced when acrnd boots up the acrn-dm. Tracked-On: #1466 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Tomas Winkler <tomas.winkler@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>