[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Invalid op code emulation for HVM guest and GPF



On Fri, 23 Mar 2012 19:17:47 +0000
Keir Fraser <keir.xen@xxxxxxxxx> wrote:

> You'll have to point out the path taken. AFAICS the sequence will

Ok, I can do that and let you know.


>I don't see where the #GP would come from: certainly hvm_emulate_one()

It may be coming from:

x86_emulate():
        * The only implicit-operands instructions allowed a LOCK prefix are
        * CMPXCHG{8,16}B, MOV CRn, MOV DRn.
        */
        generate_exception_if(
            lock_prefix &&
            ((b < 0x20) || (b > 0x23)) && /* MOV CRn/DRn */
            (b != 0xc7),                  /* CMPXCHG{8,16}B */
            EXC_GP, 0);


thanks,
Mukesh


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.