HV: rename 'type' in struct io_request

Rename 'type' in struct io_request to 'io_type' to be more readable.

Tracked-On: #3061
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Conghui Chen
2019-05-06 14:43:27 +08:00
committed by wenlingz
parent 94e1e362fb
commit dd86a78e75
4 changed files with 19 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ int32_t ept_violation_vmexit_handler(struct acrn_vcpu *vcpu);
/**
* @brief General complete-work for port I/O emulation
*
* @pre io_req->type == REQ_PORTIO
* @pre io_req->io_type == REQ_PORTIO
*
* @remark This function must be called when \p io_req is completed, after
* either a previous call to emulate_io() returning 0 or the corresponding VHM

View File

@@ -27,7 +27,7 @@ struct io_request {
*
* Refer to vhm_request for detailed description of I/O request types.
*/
uint32_t type;
uint32_t io_type;
/**
* @brief Details of this request in the same format as vhm_request.