projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8a42b
)
KVM: nSVM: remove unnecessary if
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 22 May 2020 16:33:52 +0000
(12:33 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:01 +0000
(
04:26
-0400)
kvm_vcpu_apicv_active must be false when nested virtualization is enabled,
so there is no need to check it in clgi_interception.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/svm/svm.c
b/arch/x86/kvm/svm/svm.c
index
b710e62
..
7383f82
100644
(file)
--- a/
arch/x86/kvm/svm/svm.c
+++ b/
arch/x86/kvm/svm/svm.c
@@
-2015,8
+2015,7
@@
static int clgi_interception(struct vcpu_svm *svm)
disable_gif(svm);
/* After a CLGI no interrupts should come */
- if (!kvm_vcpu_apicv_active(&svm->vcpu))
- svm_clear_vintr(svm);
+ svm_clear_vintr(svm);
return ret;
}