From: Keir Fraser <keir@xen.org>
To: Xudong Hao <xudong.hao@intel.com>, JBeulich@suse.com
Cc: Aravindh Puthiyaparambil <aravindh@virtuata.com>,
eddie.dong@intel.com, Ian Jackson <Ian.Jackson@eu.citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v2 0/4] XEN: fix vmx exception mistake
Date: Wed, 30 May 2012 11:40:22 +0100 [thread overview]
Message-ID: <CBEBB7A6.41871%keir@xen.org> (raw)
In-Reply-To: <1338345347-22433-1-git-send-email-xudong.hao@intel.com>
On 30/05/2012 03:35, "Xudong Hao" <xudong.hao@intel.com> wrote:
> Changes from v1:
> - Define new struct hvm_trap to represent information of trap, include
> instruction length.
> - Renames hvm_inject_exception to hvm_inject_trap. Then define a couple of
> wrappers around that function for existing callers, so that their parameter
> lists actually *shrink*.
I checked in the series, except for the bit that infers trap type from
within vmx_inject_trap(). Instead I plumbed through a trap-type field to
dom0 toolstack, so the type can be specified by the caller.
-- Keir
> This series of patches fix the mistake for debug exception(#DB), overflow
> exception(#OF) and INT3(#BP), INTn instruction emulation.
>
> PATCH 3 and PATCH 4 supply an interface for userspace to inject trap.
>
>
> PATCH 1: Define new struct hvm_trap and cleanup vmx exception.
>
> PATCH 2: Fix the mistake for debug exception(#DB), overflow exception(#OF) and
> INT3(#BP), INTn instruction emulation. Add inslen field in struct hvm_trap.
>
> PATCH 3: Add parameter inslen for hypercall HVMOP_inject_trap, supply
> interface
> used by passing instruction length from userspace.
>
> PATCH 4: Add a parameter to represent instruction length in function
> xc_hvm_inject_trap(), user should set this value when this
> function is called.
>
next prev parent reply other threads:[~2012-05-30 10:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 2:35 [PATCH v2 0/4] XEN: fix vmx exception mistake Xudong Hao
2012-05-30 2:35 ` [PATCH v2 1/4] xen: Define new struct hvm_trap and cleanup vmx exception Xudong Hao
2012-05-30 2:35 ` [PATCH v2 2/4] VMX: Fix the mistake of exception execution Xudong Hao
2012-05-30 9:18 ` Jan Beulich
2012-05-30 11:24 ` Hao, Xudong
2012-05-30 2:35 ` [PATCH v2 3/4] xen: Add instruction length parameter in hypercall HVMOP_inject_trap Xudong Hao
2012-05-30 9:19 ` Jan Beulich
2012-05-30 10:40 ` Keir Fraser [this message]
2012-05-30 11:16 ` [PATCH v2 0/4] XEN: fix vmx exception mistake Hao, Xudong
2012-05-30 12:21 ` Keir Fraser
2012-05-31 2:00 ` Hao, Xudong
2012-05-31 23:21 ` Aravindh Puthiyaparambil
2012-06-01 0:46 ` Hao, Xudong
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=CBEBB7A6.41871%keir@xen.org \
--to=keir@xen.org \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=aravindh@virtuata.com \
--cc=eddie.dong@intel.com \
--cc=xen-devel@lists.xen.org \
--cc=xudong.hao@intel.com \
/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).