Re: [Xen-devel] [PATCH] x86/monitor: Notify monitor if an emulation fails.

2017-07-11 Thread Petre Ovidiu PIRCALABU
On Lu, 2017-07-10 at 12:30 -0600, Tamas K Lengyel wrote: > On Mon, Jul 10, 2017 at 11:07 AM, Petre Pircalabu > wrote: > > > > If case of a vm_event with the emulate_flags set, if the > > instruction > > cannot be emulated, the monitor should be notified instead of > > directly > > injecting a hw e

Re: [Xen-devel] [PATCH] x86/monitor: Notify monitor if an emulation fails.

2017-07-10 Thread Tamas K Lengyel
On Mon, Jul 10, 2017 at 11:07 AM, Petre Pircalabu wrote: > If case of a vm_event with the emulate_flags set, if the instruction > cannot be emulated, the monitor should be notified instead of directly > injecting a hw exception. > This behavior can be used to re-execute an instruction not supporte

[Xen-devel] [PATCH] x86/monitor: Notify monitor if an emulation fails.

2017-07-10 Thread Petre Pircalabu
If case of a vm_event with the emulate_flags set, if the instruction cannot be emulated, 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. altp2m) instead o