commit | 92176a8ede577d0ff78ab3298e06701f67ad5f51 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 07 16:22:47 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jul 05 14:41:03 2016 +0200 |
tree | 240705f00a071112c8738b680e499c2c8537d1d5 | |
parent | 196f20ca52e8c7281932663c348fa54b82d03914 [diff] |
KVM: MMU: prepare to support mapping of VM_IO and VM_PFNMAP frames Handle VM_IO like VM_PFNMAP, as is common in the rest of Linux; extract the formula to convert hva->pfn into a new function, which will soon gain more capabilities. Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>