mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
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:
committed by
ACRN System Integration
parent
8af334cbb2
commit
b39526f759
@@ -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 */
|
||||
|
Reference in New Issue
Block a user