aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-06-25 10:03:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-08 16:21:48 -0400
commita284ba56a0a4b5a84733a19934196c19277b1b07 (patch)
treef2ab79b2a6a53d33f3e085018785a5335d14914b /arch/x86/kvm/svm/nested.c
parentKVM: SVM: Add vmcb_ prefix to mark_*() functions (diff)
downloadwireguard-linux-a284ba56a0a4b5a84733a19934196c19277b1b07.tar.xz
wireguard-linux-a284ba56a0a4b5a84733a19934196c19277b1b07.zip
KVM: SVM: Add svm_ prefix to set/clr/is_intercept()
Make clear the symbols belong to the SVM code when they are built-in. No functional changes. Signed-off-by: Joerg Roedel <jroedel@suse.de> Message-Id: <20200625080325.28439-4-joro@8bytes.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
-rw-r--r--arch/x86/kvm/svm/nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c
index 426a7ec2525f..385461496cf5 100644
--- a/arch/x86/kvm/svm/nested.c
+++ b/arch/x86/kvm/svm/nested.c
@@ -261,7 +261,7 @@ void sync_nested_vmcb_control(struct vcpu_svm *svm)
/* Only a few fields of int_ctl are written by the processor. */
mask = V_IRQ_MASK | V_TPR_MASK;
if (!(svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK) &&
- is_intercept(svm, INTERCEPT_VINTR)) {
+ svm_is_intercept(svm, INTERCEPT_VINTR)) {
/*
* In order to request an interrupt window, L0 is usurping
* svm->vmcb->control.int_ctl and possibly setting V_IRQ