]> 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)
commitbcd7c0771f792239f2a3aa645ddcf0d5fb1dd72e
tree6992e709b95ec5cbabc929d59e206020bc8c3234
parent70c6fb6f2e82203338edac8d60286faf3eb6faca
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