[PATCH v3 3/4] KVM: arm/arm64: check power_off in critical section before VCPU run

2015-09-25 Thread Eric Auger
In case a vcpu off PSCI call is called just after we executed the vcpu_sleep check, we can enter the guest although power_off is set. Let's check the power_off state in the critical section, just before entering the guest. Signed-off-by: Eric Auger Reported-by: Christoffer Dall Reviewed-by:

[PATCH v3 3/4] KVM: arm/arm64: check power_off in critical section before VCPU run

2015-09-25 Thread Eric Auger
In case a vcpu off PSCI call is called just after we executed the vcpu_sleep check, we can enter the guest although power_off is set. Let's check the power_off state in the critical section, just before entering the guest. Signed-off-by: Eric Auger Reported-by: Christoffer