KVM: x86: change in pv_eoi_get_pending() to make code more readable
PATCH 1/1 KVM: x86: change in pv_eoi_get_pending() to make code more readable
Signed-off-by Stephen Zhang <[email protected]>
--- arch/x86/kvm/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/lapic.c +1 -1
@@ -674,7 +674,7 @@ static bool pv_eoi_get_pending(struct kvm_vcpu *vcpu) (unsigned long long)vcpu->arch.pv_eoi.msr_val);return false; } -return val &0x1 ; +return val &KVM_PV_EOI_ENABLED ; }static void pv_eoi_set_pending (struct kvm_vcpu *vcpu)
Signature · 1 line
1.8.3.1
Quoted 11 lines · Stephen Zhang
Signed-off-by Stephen Zhang <[email protected]>--- arch/x86/kvm/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/kvm/lapic.c +0
-0
arch/x86/kvm/lapic.c static bool pv_eoi_get_pending(struct kvm_vcpu *vcpu) · line 680
Quoted 8 lines
arch/x86/kvm/lapic.c +1
-1@@ -674,7 +674,7 @@ static bool pv_eoi_get_pending(struct kvm_vcpu *vcpu) (unsigned long long)vcpu->arch.pv_eoi.msr_val);return false; } -return val &0x1 ; +return val &KVM_PV_EOI_ENABLED ; }static void pv_eoi_set_pending (struct kvm_vcpu *vcpu)
Queued, thanks.
Paolo