KVM: Introduce kvm_host_page_size
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 28 Jan 2010 11:37:56 +0000 (12:37 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:08 +0000 (12:36 -0300)
This patch introduces a generic function to find out the
host page size for a given gfn. This function is needed by
the kvm iommu code. This patch also simplifies the x86
host_mapping_level function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found