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
bnep
cmtp
hidp
rfcomm
6lowpan.c -rw-r--r-- 27.8 KB
Kconfig -rw-r--r-- 3.9 KB
Makefile -rw-r--r-- 720 bytes
a2mp.c -rw-r--r-- 21.4 KB
a2mp.h -rw-r--r-- 3.2 KB
af_bluetooth.c -rw-r--r-- 17.1 KB
amp.c -rw-r--r-- 13.8 KB
amp.h -rw-r--r-- 1.9 KB
ecdh_helper.c -rw-r--r-- 5.9 KB
ecdh_helper.h -rw-r--r-- 1.4 KB
hci_conn.c -rw-r--r-- 43.4 KB
hci_core.c -rw-r--r-- 107.1 KB
hci_debugfs.c -rw-r--r-- 25.9 KB
hci_debugfs.h -rw-r--r-- 1.6 KB
hci_event.c -rw-r--r-- 143.4 KB
hci_request.c -rw-r--r-- 71.7 KB
hci_request.h -rw-r--r-- 5.2 KB
hci_sock.c -rw-r--r-- 44.4 KB
hci_sysfs.c -rw-r--r-- 2.2 KB
l2cap_core.c -rw-r--r-- 181.1 KB
l2cap_sock.c -rw-r--r-- 36.8 KB
leds.c -rw-r--r-- 2.2 KB
leds.h -rw-r--r-- 554 bytes
lib.c -rw-r--r-- 3.3 KB
mgmt.c -rw-r--r-- 195.4 KB
mgmt_util.c -rw-r--r-- 6.2 KB
mgmt_util.h -rw-r--r-- 2.2 KB
sco.c -rw-r--r-- 24.5 KB
selftest.c -rw-r--r-- 8.5 KB
selftest.h -rw-r--r-- 1.6 KB
smp.c -rw-r--r-- 93.7 KB
smp.h -rw-r--r-- 5.0 KB

back to top