Re: [PATCH v4 06/11] KVM: arm/arm64: use vcpu requests for power_off

2017-06-01 Thread Christoffer Dall
On Tue, May 16, 2017 at 04:20:30AM +0200, Andrew Jones wrote: > System shutdown is currently using request-less VCPU kicks. This > leaves open a tiny race window, as it doesn't ensure the state > change to power_off is seen by a VCPU just about to enter guest > mode. VCPU requests, OTOH, are guaran

Re: [PATCH v4 06/11] KVM: arm/arm64: use vcpu requests for power_off

2017-06-01 Thread Christoffer Dall
On Tue, May 16, 2017 at 04:20:30AM +0200, Andrew Jones wrote: > System shutdown is currently using request-less VCPU kicks. This > leaves open a tiny race window, as it doesn't ensure the state > change to power_off is seen by a VCPU just about to enter guest > mode. VCPU requests, OTOH, are guaran

[PATCH v4 06/11] KVM: arm/arm64: use vcpu requests for power_off

2017-05-15 Thread Andrew Jones
System shutdown is currently using request-less VCPU kicks. This leaves open a tiny race window, as it doesn't ensure the state change to power_off is seen by a VCPU just about to enter guest mode. VCPU requests, OTOH, are guaranteed to be seen (see "Ensuring Requests Are Seen" of Documentation/vir