dm: remove unnecessary ioreq status changing from DM

We will mark ioreq as COMPLETE in VHM via IC_NOTIFY_REQUEST_FINISH
ioctl. vm_notify_request_done can do it. So remove this one.

Tracked-On: #1821
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shuo Liu 2018-10-11 11:18:48 +08:00 committed by wenlingz
parent 2d1ddd8876
commit 536ce5fb27
1 changed files with 0 additions and 1 deletions

View File

@ -412,7 +412,6 @@ handle_vmexit(struct vmctx *ctx, struct vhm_request *vhm_req, int vcpu)
} }
(*handler[exitcode])(ctx, vhm_req, &vcpu); (*handler[exitcode])(ctx, vhm_req, &vcpu);
atomic_store(&vhm_req->processed, REQ_STATE_COMPLETE);
/* We cannot notify the VHM/hypervisor on the request completion at this /* We cannot notify the VHM/hypervisor on the request completion at this
* point if the UOS is in suspend or system reset mode, as the VM is * point if the UOS is in suspend or system reset mode, as the VM is