summaryrefslogtreecommitdiffstats
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorTao Xu <tao3.xu@intel.com>2019-07-16 14:55:51 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-09-24 14:34:51 +0200
commitbf653b78f9608d66db174eabcbda7454c8fde6d5 (patch)
tree361cb0d777e81fc8d613146a72aa74f796f100e0 /fs/io_uring.c
parent6e3ba4abcea5681eebbfc10f1b56c9fbe80b6685 (diff)
downloadlinux-stable-bf653b78f9608d66db174eabcbda7454c8fde6d5.tar.gz
linux-stable-bf653b78f9608d66db174eabcbda7454c8fde6d5.tar.bz2
linux-stable-bf653b78f9608d66db174eabcbda7454c8fde6d5.zip
KVM: vmx: Introduce handle_unexpected_vmexit and handle WAITPKG vmexit
As the latest Intel 64 and IA-32 Architectures Software Developer's Manual, UMWAIT and TPAUSE instructions cause a VM exit if the RDTSC exiting and enable user wait and pause VM-execution controls are both 1. Because KVM never enable RDTSC exiting, the vm-exit for UMWAIT and TPAUSE should never happen. Considering EXIT_REASON_XSAVES and EXIT_REASON_XRSTORS is also unexpected VM-exit for KVM. Introduce a common exit helper handle_unexpected_vmexit() to handle these unexpected VM-exit. Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com> Co-developed-by: Jingqi Liu <jingqi.liu@intel.com> Signed-off-by: Jingqi Liu <jingqi.liu@intel.com> Signed-off-by: Tao Xu <tao3.xu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions