summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-29 06:38:56 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-29 12:39:34 -0400
commit73331c5d84cf87974dc3616ef706847ff187d590 (patch)
tree8b262a6835ab6dfad27c3c15d355bfdd65a1026e /virt
parent484c22df5aa0548604e67f7cdc73e1bd736cbecc (diff)
parent44187235cbcc7c1129ea7c004bc12f8757d29415 (diff)
downloadlinux-73331c5d84cf87974dc3616ef706847ff187d590.tar.bz2
Merge branch 'kvm-fixes-for-5.18-rc5' into HEAD
Fixes for (relatively) old bugs, to be merged in both the -rc and next development trees: * Fix potential races when walking host page table * Fix bad user ABI for KVM_EXIT_SYSTEM_EVENT * Fix shadow page table leak when KVM runs nested
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index f30bb8c16f26..6d971fb1b08d 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -4354,6 +4354,7 @@ static long kvm_vm_ioctl_check_extension_generic(struct kvm *kvm, long arg)
return 0;
#endif
case KVM_CAP_BINARY_STATS_FD:
+ case KVM_CAP_SYSTEM_EVENT_DATA:
return 1;
default:
break;