aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/hyperv.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-07-12 07:48:41 -0700
committerPaolo Bonzini <[email protected]>2024-07-16 09:57:45 -0400
commit2a1fc7dc36260fbe74b6ca29dc6d9088194a2115 (patch)
tree64b8ce4bccb16f5d0fcf96dcbc0de2bf2ed624f1 /arch/x86/kvm/hyperv.c
parent9fe17d2ada6e4ec05502a8725e87def023e1d74e (diff)
KVM: x86: Suppress MMIO that is triggered during task switch emulation
Explicitly suppress userspace emulated MMIO exits that are triggered when emulating a task switch as KVM doesn't support userspace MMIO during complex (multi-step) emulation. Silently ignoring the exit request can result in the WARN_ON_ONCE(vcpu->mmio_needed) firing if KVM exits to userspace for some other reason prior to purging mmio_needed. See commit 0dc902267cb3 ("KVM: x86: Suppress pending MMIO write exits if emulator detects exception") for more details on KVM's limitations with respect to emulated MMIO during complex emulator flows. Reported-by: [email protected] Signed-off-by: Sean Christopherson <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions