https://github.com/torvalds/linux
Revision 22c6a0ef6b2631cda406a9c0c26774b0b3463b7b authored by Paolo Bonzini on 11 August 2022, 16:41:25 UTC, committed by Paolo Bonzini on 01 September 2022, 23:20:59 UTC
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>
1 parent 8769364
History
Tip revision: 22c6a0ef6b2631cda406a9c0c26774b0b3463b7b authored by Paolo Bonzini on 11 August 2022, 16:41:25 UTC
KVM: x86: check validity of argument to KVM_SET_MP_STATE
Tip revision: 22c6a0e
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
io_uring
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 19.9 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.9 KB
.mailmap -rw-r--r-- 23.5 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 99.1 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 663.4 KB
Makefile -rw-r--r-- 64.5 KB
README -rw-r--r-- 727 bytes

README

back to top