commit | 62ef68bb4d00f1a662e487f3fc44ce8521c416aa | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 05 12:08:55 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 04 16:00:46 2015 +0200 |
tree | 178fbc896e807a5c0a252a0f8e5b35f4439ca199 | |
parent | e69fab5df45f993cb3b8cc0625a7791e86450a99 [diff] |
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ář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>