commit | d4dbf470096c51cb4785167ea59fdbdea87ccbe4 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Tue Dec 07 12:59:07 2010 +0900 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:30:47 2011 +0200 |
tree | fbc50ca20c1ed53ce431c5e923fb46e7faeef986 | |
parent | 443381a828910efa3d71ba4491d180f2d0bb4212 [diff] |
KVM: MMU: Make the way of accessing lpage_info more generic Large page information has two elements but one of them, write_count, alone is accessed by a helper function. This patch replaces this helper function with more generic one which returns newly named kvm_lpage_info structure and use it to access the other element rmap_pde. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>