diff options
| author | Andrew Jones <[email protected]> | 2017-06-04 14:43:56 +0200 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2017-06-04 16:53:54 +0200 |
| commit | cc9b43f99d5ff4df75d11e75c0bfaf08f1ff5a9a (patch) | |
| tree | e075bd575b7b0792f3740cababcac996883385ab /net/lapb/lapb_in.c | |
| parent | 0592c005622582fb4049a2f710d92c3a70f4c79b (diff) | |
KVM: arm/arm64: use vcpu requests for power_off
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/virtual/kvm/vcpu-requests.rst)
This patch applies the EXIT request used by pause to power_off,
fixing the race.
Signed-off-by: Andrew Jones <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions