hv: remove unused fields in 'struct acrn_vcpu'

below fields are defined but not used.
- sync, pause_cnt & dbg_req_state.

Tracked-On: #861
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yonghua Huang
2019-01-24 23:55:57 +08:00
committed by wenlingz
parent 5e99565b74
commit 88eeae3f1f
2 changed files with 0 additions and 6 deletions

View File

@@ -380,7 +380,6 @@ int32_t create_vcpu(uint16_t pcpu_id, struct acrn_vm *vm, struct acrn_vcpu **rtn
*rtn_vcpu_handle = vcpu;
vcpu->launched = false;
vcpu->paused_cnt = 0U;
vcpu->running = 0;
vcpu->arch.nr_sipi = 0;
vcpu->state = VCPU_INIT;
@@ -531,7 +530,6 @@ void reset_vcpu(struct acrn_vcpu *vcpu)
vcpu->state = VCPU_INIT;
vcpu->launched = false;
vcpu->paused_cnt = 0U;
vcpu->running = 0;
vcpu->arch.nr_sipi = 0;