Re: [PART1 RFC v2 05/10] KVM: x86: Detect and Initialize AVIC support
From: Paolo Bonzini
Date: Wed Mar 16 2016 - 07:12:30 EST
On 16/03/2016 09:21, Suravee Suthikulpanit wrote:
>> Strictly speaking the address of the 0xFEE00000 translation is
>> unnecessary and it could be all zeroes, but I suggest that you set up an
>> APIC access page like Intel does (4k only), using the special memslot.
>> The AVIC backing page can then point to lapic->regs.
>
> Ahh... you are right, this works also. Thanks for the pointer. I'm
> fixing this, doing some more testing, and cleaning up the code. This has
> simplify the init logic quite a bit.
Awesome, thanks.
Paolo