mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
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:
@@ -267,13 +267,9 @@ struct acrn_vcpu {
|
||||
/* State of this VCPU before suspend */
|
||||
volatile enum vcpu_state prev_state;
|
||||
volatile enum vcpu_state state; /* State of this VCPU */
|
||||
/* State of debug request for this VCPU */
|
||||
volatile enum vcpu_state dbg_req_state;
|
||||
uint64_t sync; /*hold the bit events*/
|
||||
|
||||
struct sched_object sched_obj;
|
||||
bool launched; /* Whether the vcpu is launched on target pcpu */
|
||||
uint32_t paused_cnt; /* how many times vcpu is paused */
|
||||
uint32_t running; /* vcpu is picked up and run? */
|
||||
|
||||
struct io_request req; /* used by io/ept emulation */
|
||||
|
Reference in New Issue
Block a user