commit | 8f0b1ab6fb045a1324d9435ba00c2940783b0041 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Jan 28 12:37:56 2010 +0100 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:36:08 2010 -0300 |
tree | 34db9f9080cea014150249da16348ed3e3e01fc3 | |
parent | c45b4fd416f5497b6b38dd70acc0e5b01399e5c9 [diff] |
KVM: Introduce kvm_host_page_size 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>