summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-08-11 12:41:25 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-01 19:20:59 -0400
commit22c6a0ef6b2631cda406a9c0c26774b0b3463b7b (patch)
tree246ddf94bf8b00929b920c1b92417b61664d963f /arch/riscv
parent87693645ae89d9f9779e0bc53606bf228ec36411 (diff)
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 'arch/riscv')
0 files changed, 0 insertions, 0 deletions