Re: [PATCH] KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update

2019-10-17 Thread Vitaly Kuznetsov
linmiaohe writes: > Vitaly Kuznetsov writes: > >>> 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. > > Hi, Vitaly, thanks for your reply. > Do you think there may be a wrong

Re: [PATCH] KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update

2019-10-16 Thread linmiaohe
Vitaly Kuznetsov writes: >> 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. Hi, Vitaly, thanks for your reply. Do you think there may be a wrong physical id in

Re: [PATCH] KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update

2019-10-16 Thread Vitaly Kuznetsov
Miaohe Lin writes: > 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. > > Signed-off-by: Miaohe Lin > --- > arch/x86/kvm/svm.c | 4 +++- > 1 file changed, 3 insertions(+), 1

[PATCH] KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update

2019-10-16 Thread Miaohe Lin
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. Signed-off-by: Miaohe Lin --- arch/x86/kvm/svm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git