Re: [PATCH 1/6] KVM: x86: Add callback functions for handling APIC ID, DFR and LDR update

From: Suthikulpanit, Suravee
Date: Wed Jul 17 2019 - 15:44:08 EST


Paolo,

On 7/3/2019 4:16 PM, Paolo Bonzini wrote:
> On 22/03/19 12:57, Suthikulpanit, Suravee wrote:
>> Add hooks for handling the case when guest VM update APIC ID, DFR and LDR.
>> This is needed during AMD AVIC is temporary deactivated.
>>
>> Signed-off-by: Suravee Suthikulpanit<suravee.suthikulpanit@xxxxxxx>
> Why not do this later when AVIC is reactivated, in
> svm_refresh_apicv_exec_ctrl?
>
> Thanks,
>
> Paolo
>

Actually, calling avic_post_state_restore() in the svm_refresh_apicv_exec_ctrl()
should work also. I'll do that then.

Thanks,
Suravee