X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fkvm%2Fx86_emulate.c;h=932f216d890c343bc5ca4ebfd8a15e1955334969;hb=a4480ac4f966384f9d2db98bffec223e4eaf6150;hp=8a96320ab071b06f1d3102518b55877d297517b8;hpb=bca39da5645c72048e8854340575c338b8100bca;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 8a96320ab07..932f216d890 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -1727,7 +1727,8 @@ twobyte_insn: if (rc) goto done; - kvm_emulate_hypercall(ctxt->vcpu); + /* Let the processor re-execute the fixed hypercall */ + c->eip = ctxt->vcpu->arch.rip; /* Disable writeback. */ c->dst.type = OP_NONE; break;