KVM: MTRR: exactly define the size of variable MTRRs
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 15 Jun 2015 08:55:25 +0000 (16:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 15:16:27 +0000 (17:16 +0200)
commit910a6aae4e2e45855efc4a268e43eed2d8445575
treecb50d16cce0f70b0c1f5af92e850969ba17f35a4
parent70109e7d9d4ac7182786ddf7cd53bc651a157896
KVM: MTRR: exactly define the size of variable MTRRs

Only KVM_NR_VAR_MTRR variable MTRRs are available in KVM guest

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h