xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] XEN: fix vmx exception mistake
@ 2012-05-24 19:06 Xudong Hao
  2012-05-24 19:06 ` [PATCH 1/3] xen: Add instruction length parameter in function hvm_inject_exception Xudong Hao
  2012-05-24 19:06 ` [PATCH 2/3] VMX: Fix the mistake of exception execution Xudong Hao
  0 siblings, 2 replies; 12+ messages in thread
From: Xudong Hao @ 2012-05-24 19:06 UTC (permalink / raw)
  To: JBeulich; +Cc: aravindh, keir.xen, eddie.dong, Ian.Jackson, xen-devel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-05-30  0:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24 19:06 [PATCH 0/3] XEN: fix vmx exception mistake Xudong Hao
2012-05-24 19:06 ` [PATCH 1/3] xen: Add instruction length parameter in function hvm_inject_exception Xudong Hao
2012-05-25  8:53   ` Keir Fraser
2012-05-25 19:17     ` Aravindh Puthiyaparambil
2012-05-25 20:42       ` Keir Fraser
2012-05-28  6:37         ` Hao, Xudong
2012-05-28  6:24     ` Hao, Xudong
2012-05-28  6:49       ` Keir Fraser
2012-05-29  8:55         ` Hao, Xudong
2012-05-29 12:38           ` Keir Fraser
2012-05-30  0:58             ` Hao, Xudong
2012-05-24 19:06 ` [PATCH 2/3] VMX: Fix the mistake of exception execution Xudong Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).