Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

Gleb Natapov
2014-06-22T09:19:27Z

On Fri, Jun 20, 2014 at 05:31:46PM -0300, Marcelo Tosatti wrote:
> > > Same with the APIC access page.
> > APIC page is always mapped into guest's APIC base address 0xfee00000.
> > The way it works is that when vCPU accesses page at 0xfee00000 the access
> > is translated to APIC access page physical address. CPU sees that access
> > is for APIC page and generates APIC access exit instead of memory access.
> > If address 0xfee00000 is not mapped by EPT then EPT violation exit will
> > be generated instead, EPT mapping will be instantiated, access retired
> > by a guest and this time will generate APIC access exit.
>
> Right, confused with the other APIC page which the CPU writes (the vAPIC page)
> to.
>
That one is allocated with kmalloc.

--
Gleb.