Skip to content
Snippets Groups Projects
Commit 22c6a0ef authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 87693645
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment