mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-07 17:24:09 +00:00
This issue is triggered when launch fuzzing test. Fuzzing test thread will call destroy_vm(IC_DESTROY_VM) to set the guest vCPU state to VCPU_ZOMBIE then VCPU_INIT and then VCPU_OFFLINE, it will cause post-work can't resume the guest vCPU and can't changes the state of the corresponding I/O request slot to REQ_STATE_FREE. so replace improper use of ASSERT with return error code. Tracked-On: #2606 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>