diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-11 18:41:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-02 01:20:59 +0200 |
commit | 22c6a0ef6b2631cda406a9c0c26774b0b3463b7b (patch) | |
tree | 246ddf94bf8b00929b920c1b92417b61664d963f /drivers/pinctrl/pinctrl-ingenic.c | |
parent | perf/x86/core: Completely disable guest PEBS via guest's global_ctrl (diff) | |
download | linux-22c6a0ef6b2631cda406a9c0c26774b0b3463b7b.tar.xz linux-22c6a0ef6b2631cda406a9c0c26774b0b3463b7b.zip |
KVM: x86: check validity of argument to KVM_SET_MP_STATE
An invalid argument to KVM_SET_MP_STATE has no effect other than making the
vCPU fail to run at the next KVM_RUN. Since it is extremely unlikely that
any userspace is relying on it, fail with -EINVAL just like for other
architectures.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ingenic.c')
0 files changed, 0 insertions, 0 deletions