diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-24 13:59:40 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-07-30 14:00:11 +0200 |
commit | 1d3db6bdbb0b541744cc9e008371ec7a37986d8a (patch) | |
tree | 429888e80132821ef356f91cd0654457c877a70c /target/i386/misc_helper.c | |
parent | 990e0be2603511560168e1ad61f68294d951c39e (diff) |
i386: implement MSR_SMI_COUNT for TCG
This is trivial, so just do it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/misc_helper.c')
-rw-r--r-- | target/i386/misc_helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/i386/misc_helper.c b/target/i386/misc_helper.c index 628f64aad5..78f2020ef2 100644 --- a/target/i386/misc_helper.c +++ b/target/i386/misc_helper.c @@ -447,6 +447,9 @@ void helper_rdmsr(CPUX86State *env) val = env->tsc_aux; break; #endif + case MSR_SMI_COUNT: + val = env->msr_smi_count; + break; case MSR_MTRRphysBase(0): case MSR_MTRRphysBase(1): case MSR_MTRRphysBase(2): |