diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-08 15:30:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-04 16:01:00 +0200 |
commit | 609e36d372ad9329269e4a1467bd35311893d1d6 (patch) | |
tree | a355bb4b5642026120615fdf28b297fbe631a4b4 /arch/x86/include/asm/kvm_emulate.h | |
parent | 62ef68bb4d00f1a662e487f3fc44ce8521c416aa (diff) |
KVM: x86: pass host_initiated to functions that read MSRs
SMBASE is only readable from SMM for the VCPU, but it must be always
accessible if userspace is accessing it. Thus, all functions that
read MSRs are changed to accept a struct msr_data; the host_initiated
and index fields are pre-initialized, while the data field is filled
on return.
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions