aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r--arch/x86/kvm/emulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index e9670554263..bdbbb1839e8 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -568,7 +568,8 @@ static int read_descriptor(struct x86_emulate_ctxt *ctxt,
568 ctxt->vcpu, NULL); 568 ctxt->vcpu, NULL);
569 if (rc != X86EMUL_CONTINUE) 569 if (rc != X86EMUL_CONTINUE)
570 return rc; 570 return rc;
571 rc = ops->read_std(linear(ctxt, addr) + 2, address, op_bytes, 571 addr.ea += 2;
572 rc = ops->read_std(linear(ctxt, addr), address, op_bytes,
572 ctxt->vcpu, NULL); 573 ctxt->vcpu, NULL);
573 return rc; 574 return rc;
574} 575}