]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Define actual size of IOPM and MSRPM tables
authorKrish Sadhukhan <krish.sadhukhan@oracle.com>
Mon, 12 Apr 2021 21:56:05 +0000 (17:56 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Apr 2021 08:18:56 +0000 (04:18 -0400)
commita469190e66a9c14eed8b0f01e63ad315e215711a
treeabf232141e3155ac885236fe7688efe6b49c78a1
parent413e55c8e67f7cf5f4699f35fe6870fa41a8270d
KVM: SVM: Define actual size of IOPM and MSRPM tables

Define the actual size of the IOPM and MSRPM tables so that the actual size
can be used when initializing them and when checking the consistency of their
physical address.
These #defines are placed in svm.h so that they can be shared.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Message-Id: <20210412215611.110095-2-krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h