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

[Xen-devel] [PATCH 0/3] XEN: fix vmx exception mistake



This series of patches fix the mistake for debug exception(#DB), overflow
exception(#OF) and INT3(#BP), INTn instruction emulation. 

Introduce new function vmx_inject_sw_exception() which deliver the software
excetion, software interrupt and privileged software exception. Split hardware
exception as a seperate function(old function vmx_inject_hw_exception()).

Also Passed down intruction length to exception emulation handler function.

And supply a interface for userspace to inject trap.


PATCH 1: Pass the instruction length field down to exception emulation,
  by changing hypercall parameter and adding a parameter in fucntion
  hvm_inject_exception(), so that exception emulation can set correct
  instruction length.

PATCH 2: Fix the mistake for debug exception(#DB), overflow exception(#OF) and
  INT3(#BP), INTn instruction emulation.

  Introduce new function vmx_inject_sw_exception() which deliver the software
  excetion, software interrupt and privileged software exception. Split hardware
  exception as a seperate function(old function vmx_inject_hw_exception()).

PATCH 3: Add a parameter to represent instruction length in function
  xc_hvm_inject_trap(), user should set this value when this
  function is called.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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