Mohammed Gamal wrote:
Add pop es instruction
Hi again...
@@ -1446,6 +1446,9 @@ special_insn:
add: /* add */
emulate_2op_SrcV("add", c->src, c->dst, ctxt->eflags);
break;
+ case 0x07: /* pop es */
+ emulate_pop(ctxt, ops, &c->regs[VCPU_SREG_ES], c->op_bytes);
+ break;
case 0x08 ... 0x0d:
or: /* or */
emulate_2op_SrcV("or", c->src, c->dst, ctxt->eflags);
... but this is insufficient. You need to load the segment cache, see
kvm_load_segment_descriptor().
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html