On 06/08/17 11:00, Jan Beulich wrote:
Petre Pircalabu 08/04/17 8:36 PM >>>
>> @@ -2114,6 +2116,8 @@ void hvm_emulate_one_vm_event(enum emul_kind kind,
>> unsigned int trapnr,
>> */
>> return;
>> case X86EMUL_UNIMPLEMENTED:
>> +if (
>>> Petre Pircalabu 08/04/17 8:36 PM >>>
>@@ -2114,6 +2116,8 @@ void hvm_emulate_one_vm_event(enum emul_kind kind,
>unsigned int trapnr,
>*/
>return;
>case X86EMUL_UNIMPLEMENTED:
>+if ( hvm_monitor_emul_unimplemented() )
>+return;
>case
If case of a vm_event with the emulate_flags set, if the instruction
is not implemented by the emulator, the monitor should be notified instead
of directly injecting a hw exception.
This behavior can be used to re-execute an instruction not supported by
the emulator using the real processor (e.g.