diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index a61ed93a1f25..dafb67eddd60 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -2138,6 +2138,7 @@ static void vmx_set_segment(struct kvm_vcpu *vcpu, | |||
2138 | u32 ar; | 2138 | u32 ar; |
2139 | 2139 | ||
2140 | if (vmx->rmode.vm86_active && seg == VCPU_SREG_TR) { | 2140 | if (vmx->rmode.vm86_active && seg == VCPU_SREG_TR) { |
2141 | vmcs_write16(sf->selector, var->selector); | ||
2141 | vmx->rmode.tr.selector = var->selector; | 2142 | vmx->rmode.tr.selector = var->selector; |
2142 | vmx->rmode.tr.base = var->base; | 2143 | vmx->rmode.tr.base = var->base; |
2143 | vmx->rmode.tr.limit = var->limit; | 2144 | vmx->rmode.tr.limit = var->limit; |