aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/vmx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 6e6421aeca03..62b2d0cf2a7f 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3216,6 +3216,7 @@ static void vmx_set_segment(struct kvm_vcpu *vcpu,
3216 vmcs_write32(sf->limit, var->limit); 3216 vmcs_write32(sf->limit, var->limit);
3217 vmcs_write16(sf->selector, var->selector); 3217 vmcs_write16(sf->selector, var->selector);
3218 if (vmx->rmode.vm86_active && var->s) { 3218 if (vmx->rmode.vm86_active && var->s) {
3219 vmx->rmode.segs[seg] = *var;
3219 /* 3220 /*
3220 * Hack real-mode segments into vm86 compatibility. 3221 * Hack real-mode segments into vm86 compatibility.
3221 */ 3222 */