From: Paolo Bonzini Date: Wed, 8 Apr 2015 13:30:38 +0000 (+0200) Subject: KVM: x86: pass host_initiated to functions that read MSRs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=609e36d372ad9329269e4a1467bd35311893d1d6;p=pandora-kernel.git 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ář Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed