aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.h
diff options
context:
space:
mode:
authorRoman Kagan <rkagan@virtuozzo.com>2017-11-22 21:14:18 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-12-21 09:22:44 +0100
commit09df29b665a91ba78b2187ce3b1967526ce121f6 (patch)
tree3def9b421fe52cdeb18e7609ae4ff723b0a35819 /target/i386/cpu.h
parent689141dde2957894ae99315bb4e42e6ecd980248 (diff)
hyperv: make SynIC version msr constant
The value of HV_X64_MSR_SVERSION is initialized once at vcpu init, and is reset to zero on vcpu reset, which is wrong. It is supposed to be a constant, so drop the field from X86CPU, set the msr with the constant value, and don't bother getting it. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Message-Id: <20171122181418.14180-4-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r--target/i386/cpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 17f1bb7ecb..d605cc6ccb 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1107,7 +1107,6 @@ typedef struct CPUX86State {
uint64_t msr_hv_crash_params[HV_CRASH_PARAMS];
uint64_t msr_hv_runtime;
uint64_t msr_hv_synic_control;
- uint64_t msr_hv_synic_version;
uint64_t msr_hv_synic_evt_page;
uint64_t msr_hv_synic_msg_page;
uint64_t msr_hv_synic_sint[HV_SINT_COUNT];