aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2019-10-18 02:50:31 +0000
committerPaolo Bonzini <[email protected]>2019-10-22 16:47:50 +0000
commit5c94ac5d0f9e3c8791d1686e0bf22a2a341d1597 (patch)
tree293779223b4f869c256b8548a7ea3cc9e1b18348 /net/unix/af_unix.c
parentMerge tag 'kvm-ppc-fixes-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-5c94ac5d0f9e3c8791d1686e0bf22a2a341d1597.tar.gz
kernel-5c94ac5d0f9e3c8791d1686e0bf22a2a341d1597.zip
KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update
Guest physical APIC ID may not equal to vcpu->vcpu_id in some case. We may set the wrong physical id in avic_handle_ldr_update as we always use vcpu->vcpu_id. Get physical APIC ID from vAPIC page instead. Export and use kvm_xapic_id here and in avic_handle_apic_id_update as suggested by Vitaly. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions