summaryrefslogtreecommitdiff
path: root/kvm_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'kvm_x86.c')
-rw-r--r--kvm_x86.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index a1ab497..7a661a6 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -137,12 +137,9 @@ kvm_define_shared_msr(unsigned slot, uint32_t msr)
if (slot >= shared_msrs_global.nr)
shared_msrs_global.nr = slot + 1;
shared_msrs_global.msrs[slot] = msr;
-#ifdef XXX
+
/* we need ensured the shared_msr_global have been updated */
smp_wmb();
-#else
- XXX_KVM_SYNC_PROBE;
-#endif
}
static void