Revision 5c94ac5d0f9e3c8791d1686e0bf22a2a341d1597 authored by Miaohe Lin on 18 October 2019, 02:50:31 UTC, committed by Paolo Bonzini on 22 October 2019, 16:47:50 UTC
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 <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 20baa8e
History
File Mode Size
Kconfig -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 409 bytes
caif_dev.c -rw-r--r-- 12.9 KB
caif_socket.c -rw-r--r-- 26.5 KB
caif_usb.c -rw-r--r-- 5.2 KB
cfcnfg.c -rw-r--r-- 14.2 KB
cfctrl.c -rw-r--r-- 15.7 KB
cfdbgl.c -rw-r--r-- 1.5 KB
cfdgml.c -rw-r--r-- 2.8 KB
cffrml.c -rw-r--r-- 4.5 KB
cfmuxl.c -rw-r--r-- 6.2 KB
cfpkt_skbuff.c -rw-r--r-- 8.1 KB
cfrfml.c -rw-r--r-- 6.3 KB
cfserl.c -rw-r--r-- 4.3 KB
cfsrvl.c -rw-r--r-- 5.5 KB
cfutill.c -rw-r--r-- 2.8 KB
cfveil.c -rw-r--r-- 2.5 KB
cfvidl.c -rw-r--r-- 1.7 KB
chnl_net.c -rw-r--r-- 13.1 KB

back to top