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

2017-09-25 Thread Paul Durrant
> -Original Message- > From: Petre Pircalabu [mailto:ppircal...@bitdefender.com] > Sent: 25 September 2017 13:03 > To: xen-devel@lists.xen.org > Cc: Ian Jackson ; Wei Liu ; > Andrew Cooper ; George Dunlap > ; jbeul...@suse.com; konrad.w...@oracle.com; > sstabell...@kernel.org; Tim (Xen.org)

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

2017-09-25 Thread Petre Pircalabu
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. a