Re: Question about emulation of KVM?

2012-04-10 Thread Stefan Hajnoczi
On Sat, Apr 7, 2012 at 6:18 AM, R 1989012...@gmail.com wrote:
             I try to use the x86_emulate_instruction() function.
             But it seems like that it fails to emulate some instruction.
             My program gets stuck in somewhere. It keeps emulating
 one instructions.
             Is there some instructions that this function can not emulate?

Yes there are instructions that are not supported by the emulator but
they should produce a kernel message.

Check dmesg(1) to see if an error was logged.  You can also enable the
kvm:* tracepoints in the kernel to get detailed information on guest
behavior, including emulated instruction opcodes.

Stefan
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Question about emulation of KVM?

2012-04-06 Thread R
Hi everyone,
 I try to use the x86_emulate_instruction() function.
 But it seems like that it fails to emulate some instruction.
 My program gets stuck in somewhere. It keeps emulating
one instructions.
 Is there some instructions that this function can not emulate?
R
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html