From: Xudong Hao <xudong.hao@intel.com>
To: JBeulich@suse.com
Cc: aravindh@virtuata.com, keir.xen@gmail.com, eddie.dong@intel.com,
Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org
Subject: [PATCH 0/3] XEN: fix vmx exception mistake
Date: Fri, 25 May 2012 03:06:23 +0800 [thread overview]
Message-ID: <1337886385-2374-1-git-send-email-xudong.hao@intel.com> (raw)
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.
next reply other threads:[~2012-05-24 19:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 19:06 Xudong Hao [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337886385-2374-1-git-send-email-xudong.hao@intel.com \
--to=xudong.hao@intel.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=aravindh@virtuata.com \
--cc=eddie.dong@intel.com \
--cc=keir.xen@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).