[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi Tamas,

I have corrected it and resent the patch. 

Thank-you very much for pointing it out,
Petre

On Ma, 2017-07-11 at 23:41 -0600, Tamas K Lengyel wrote:
> On Tue, Jul 11, 2017 at 8:53 AM, Petre Pircalabu
> <ppircalabu@xxxxxxxxxxxxxxx> 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
> > supported by
> > the emulator using the real processor (e.g. altp2m) instead of just
> > crashing.
> > 
> > Signed-off-by: Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>
> > 
> > ---
> > Changed since v1:
> >   * Removed the emulation kind check when calling
> > hvm_inject_hw_exception
> > ---
> >  tools/libxc/include/xenctrl.h                      |   2 +
> >  tools/libxc/xc_monitor.c                           |  14 ++
> >  ...itor-Notify-monitor-if-an-emulation-fails.patch | 212
> > +++++++++++++++++++++
> >  xen/arch/x86/hvm/emulate.c                         |   5 +-
> >  xen/arch/x86/hvm/monitor.c                         |  19 ++
> >  xen/arch/x86/monitor.c                             |  12 ++
> >  xen/include/asm-x86/domain.h                       |   1 +
> >  xen/include/asm-x86/hvm/monitor.h                  |   1 +
> >  xen/include/asm-x86/monitor.h                      |   3 +-
> >  xen/include/public/domctl.h                        |   1 +
> >  xen/include/public/vm_event.h                      |   2 +
> >  11 files changed, 270 insertions(+), 2 deletions(-)
> >  create mode 100644 tools/tests/xen-access/0001-x86-monitor-Notify-
> > monitor-if-an-emulation-fails.patch
> I don't think you meant to add this patch file.
> 
> Tamas
> 
> ________________________
> This email was scanned by Bitdefender
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.