KVM: x86: smm: use smram structs in the common code
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 25 Oct 2022 12:47:35 +0000 (15:47 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:31:23 +0000 (12:31 -0500)
commit58c1d206d545464f9051ad080674b719d553215b
treea6b717847f3d1409d8486ab4650ab6a23ec3bae2
parent09779c16e3eda95312ca14cd263dbb05da147b75
KVM: x86: smm: use smram structs in the common code

Use kvm_smram union instad of raw arrays in the common smm code.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20221025124741.228045-18-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/smm.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c