hv: schedule: vCPU schedule state setting don't need to be atomic

vCPU schedule state change is under schedule lock protection. So there's no need
to be atomic.

Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Li, Fei1
2019-07-15 18:59:28 +08:00
committed by ACRN System Integration
parent 8af334cbb2
commit b39526f759
2 changed files with 7 additions and 8 deletions

View File

@@ -358,7 +358,7 @@ struct acrn_vcpu {
struct sched_object sched_obj;
bool launched; /* Whether the vcpu is launched on target pcpu */
uint32_t running; /* vcpu is picked up and run? */
bool running; /* vcpu is picked up and run? */
struct instr_emul_ctxt inst_ctxt;
struct io_request req; /* used by io/ept emulation */