Skip to content

Commit

Permalink
dm: remove unnecessary ioreq status changing from DM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shuo Liu authored and wenlingz committed Dec 26, 2018
1 parent 2d1ddd8 commit 536ce5f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion devicemodel/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ handle_vmexit(struct vmctx *ctx, struct vhm_request *vhm_req, int 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
* point if the UOS is in suspend or system reset mode, as the VM is
Expand Down

0 comments on commit 536ce5f

Please sign in to comment.