Problem with vmexit on mtrap

2014-08-12 Thread Martin Steegmanns
Hello list! I modified bhyve to toggle the MTF bit on an UD2 instruction. In a guest system, a program does: __asm__ __volatile__( UD2 NOP xor %rax,%rax NOP UD2 ); On the first UD2, MTF bit is correctly set, but the second UD2 is never reached (waited some

Re: Problem with vmexit on mtrap

2014-08-12 Thread Neel Natu
Hi Martin, On Tue, Aug 12, 2014 at 2:24 AM, Martin Steegmanns mar...@unix-users.de wrote: Hello list! I modified bhyve to toggle the MTF bit on an UD2 instruction. In a guest system, a program does: __asm__ __volatile__( UD2 NOP xor %rax,%rax NOP UD2 ); On the