From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>, kvm <kvm@vger.kernel.org>,
Gleb Natapov <gleb@redhat.com>
Subject: Re: [PATCH v2 2/2] KVM: x86: Push potential exception error code on task switches
Date: Thu, 15 Apr 2010 13:44:58 -0300 [thread overview]
Message-ID: <20100415164458.GA16818@amt.cnet> (raw)
In-Reply-To: <4BC5C84D.9040701@siemens.com>
On Wed, Apr 14, 2010 at 03:51:09PM +0200, Jan Kiszka wrote:
> When a fault triggers a task switch, the error code, if existent, has to
> be pushed on the new task's stack. Implement the missing bits.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> Changes in v2:
> - push writeback into emulator_task_switch
> - refactored over "Terminate early if task_switch_16/32 failed"
>
> arch/x86/include/asm/kvm_emulate.h | 3 ++-
> arch/x86/include/asm/kvm_host.h | 3 ++-
> arch/x86/include/asm/svm.h | 1 +
> arch/x86/kvm/emulate.c | 22 ++++++++++++++++++----
> arch/x86/kvm/svm.c | 11 ++++++++++-
> arch/x86/kvm/vmx.c | 12 +++++++++++-
> arch/x86/kvm/x86.c | 6 ++++--
> 7 files changed, 48 insertions(+), 10 deletions(-)
Applied, thanks.
prev parent reply other threads:[~2010-04-15 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-14 13:51 [PATCH v2 2/2] KVM: x86: Push potential exception error code on task switches Jan Kiszka
2010-04-15 16:44 ` Marcelo Tosatti [this message]
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=20100415164458.GA16818@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.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