diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-01-28 12:37:56 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:36:08 -0300 |
commit | 8f0b1ab6fb045a1324d9435ba00c2940783b0041 (patch) | |
tree | 34db9f9080cea014150249da16348ed3e3e01fc3 /lib | |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions