On Wed, Apr 10, 2013 at 01:46:02AM +0200, Borislav Petkov wrote: > +static int em_movbe(struct x86_emulate_ctxt *ctxt) > +{ > + char *valptr = ctxt->src.valptr; > + > + switch (ctxt->op_bytes) { > + case 2: > + *(u16 *)valptr = swab16(*(u16 *)valptr); > + break; > + case 4: > + *(u32 *)valptr = swab32(*(u32 *)valptr); Note to self: this destroys the src operand but it shouldn't. Fix it tomorrow. -- Regards/Gruss, Boris. -- 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