From: Paolo Bonzini Date: Tue, 5 May 2015 10:08:55 +0000 (+0200) Subject: KVM: x86: introduce num_emulated_msrs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62ef68bb4d00f1a662e487f3fc44ce8521c416aa;p=pandora-kernel.git KVM: x86: introduce num_emulated_msrs We will want to filter away MSR_IA32_SMBASE from the emulated_msrs if the host CPU does not support SMM virtualization. Introduce the logic to do that, and also move paravirt MSRs to emulated_msrs for simplicity and to get rid of KVM_SAVE_MSRS_BEGIN. Reviewed-by: Radim Krčmář Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed