diff options
| author | Paolo Bonzini <[email protected]> | 2022-09-21 00:32:00 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-09-26 16:37:21 +0000 |
| commit | 599275c060a02a8f0db19c2e6a70d026d4b445ca (patch) | |
| tree | 800771994d263e2d833d530fbe5438bacb5ac230 /net/unix/af_unix.c | |
| parent | KVM: x86: never write to memory from kvm_vcpu_check_block() (diff) | |
| download | kernel-599275c060a02a8f0db19c2e6a70d026d4b445ca.tar.gz kernel-599275c060a02a8f0db19c2e6a70d026d4b445ca.zip | |
KVM: mips, x86: do not rely on KVM_REQ_UNHALT
KVM_REQ_UNHALT is a weird request that simply reports the value of
kvm_arch_vcpu_runnable() on exit from kvm_vcpu_halt(). Only
MIPS and x86 are looking at it, the others just clear it. Check
the state of the vCPU directly so that the request is handled
as a nop on all architectures.
No functional change intended, except for corner cases where an
event arrive immediately after a signal become pending or after
another similar host-side event.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
