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
.gitignore -rw-r--r-- 23 bytes
Build -rw-r--r-- 60 bytes
Makefile -rw-r--r-- 1.6 KB
spidev_fdx.c -rw-r--r-- 2.7 KB
spidev_test.c -rw-r--r-- 9.9 KB

back to top