aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ep0.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2022-08-11 16:41:25 +0000
committerPaolo Bonzini <[email protected]>2022-09-01 23:20:59 +0000
commit22c6a0ef6b2631cda406a9c0c26774b0b3463b7b (patch)
tree246ddf94bf8b00929b920c1b92417b61664d963f /drivers/usb/cdns3/cdns3-ep0.c
parentperf/x86/core: Completely disable guest PEBS via guest's global_ctrl (diff)
downloadkernel-22c6a0ef6b2631cda406a9c0c26774b0b3463b7b.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions