commit | f4c847a95654b898834ed513870a4fb01c27b29e | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <mlevitsk@redhat.com> | Thu Aug 27 20:11:40 2020 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 28 07:57:11 2020 -0400 |
tree | 23cad63940f3a61bbe5ab706271fc76af67df550 | |
parent | 0dd16b5b0c9bd62fbff3ea375cdd5125e19317c6 [diff] |
KVM: SVM: refactor msr permission bitmap allocation Replace svm_vcpu_init_msrpm with svm_vcpu_alloc_msrpm, that also allocates the msr bitmap and add svm_vcpu_free_msrpm to free it. This will be used later to move the nested msr permission bitmap allocation to nested.c Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20200827171145.374620-4-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>