aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kvm/svm/svm.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-05-16 08:46:00 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-28 11:46:17 -0400
commitbd279629f73f27f0931d09cd3da904b923fb6f35 (patch)
tree763dfa2d14840390e76ecbe235a6e13ef45a9423 /arch/x86/kvm/svm/svm.h
parentKVM: nSVM: inject exceptions via svm_check_nested_events (diff)
downloadwireguard-linux-bd279629f73f27f0931d09cd3da904b923fb6f35.tar.xz
wireguard-linux-bd279629f73f27f0931d09cd3da904b923fb6f35.zip
KVM: nSVM: remove exit_required
All events now inject vmexits before vmentry rather than after vmexit. Therefore, exit_required is not set anymore and we can remove it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kvm/svm/svm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h
index 8342032291fc..89fab75dd4f5 100644
--- a/arch/x86/kvm/svm/svm.h
+++ b/arch/x86/kvm/svm/svm.h
@@ -95,9 +95,6 @@ struct nested_state {
u64 vmcb_msrpm;
u64 vmcb_iopm;
- /* A VMEXIT is required but not yet emulated */
- bool exit_required;
-
/* A VMRUN has started but has not yet been performed, so
* we cannot inject a nested vmexit yet. */
bool nested_run_pending;