On 01/04/2012 03:10 AM, Alexander Graf wrote:
> From: Paul Mackerras <pau...@samba.org>
>
> This adds the infrastructure to enable us to page out pages underneath
> a Book3S HV guest, on processors that support virtualized partition
> memory, that is, POWER7.  Instead of pinning all the guest's pages,
> we now look in the host userspace Linux page tables to find the
> mapping for a given guest page.  Then, if the userspace Linux PTE
> gets invalidated, kvm_unmap_hva() gets called for that address, and
> we replace all the guest HPTEs that refer to that page with absent
> HPTEs, i.e. ones with the valid bit clear and the HPTE_V_ABSENT bit
> set, which will cause an HDSI when the guest tries to access them.
> Finally, the page fault handler is extended to reinstantiate the
> guest HPTE when the guest tries to access a page which has been paged
> out.

Yay!

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to