]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Use vcpu_to_pi_desc() uniformly in posted_intr.c
authorYuan Yao <yuan.yao@intel.com>
Fri, 4 Mar 2022 19:49:33 +0000 (11:49 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 May 2022 15:42:43 +0000 (11:42 -0400)
commit3d57d0d63579e856bde1b1db94cdd3a41864b891
treef85cae973b81d3d5f77b9bdb7a764424511ebb25
parent32acd1ba1da24159c942606109c08263247d1643
KVM: VMX: Use vcpu_to_pi_desc() uniformly in posted_intr.c

The helper function, vcpu_to_pi_desc(), is defined to get the posted
interrupt descriptor from vcpu.  There is one place that doesn't use
it, and instead references vmx_vcpu->pi_desc directly.  Remove the
inconsistency.

Signed-off-by: Yuan Yao <yuan.yao@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Message-Id: <ee7be7832bc424546fd4f05015a844a0205b5ba2.1646422845.git.isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c