]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MTRR: handle MSR_MTRRcap in kvm_mtrr_get_msr
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 15 Jun 2015 08:55:23 +0000 (16:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 15:16:27 +0000 (17:16 +0200)
commit003ccba82ff4f86698bc4bd41a195d35bdb2a2c9
tree6992e709b95ec5cbabc929d59e206020bc8c3234
parent2375e9134255d0e718a926babb5efd51f9553743
KVM: MTRR: handle MSR_MTRRcap in kvm_mtrr_get_msr

MSR_MTRRcap is a MTRR msr so move the handler to the common place, also
add some comments to make the hard code more readable

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mtrr.c
arch/x86/kvm/x86.c