From: Marcelo Tosatti <mtosatti@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 0/7] Emulator exception improvements
Date: Tue, 30 Nov 2010 12:47:45 -0200 [thread overview]
Message-ID: <20101130144745.GA3825@amt.cnet> (raw)
In-Reply-To: <1290441207-4250-1-git-send-email-avi@redhat.com>
On Mon, Nov 22, 2010 at 05:53:20PM +0200, Avi Kivity wrote:
> This boring patchset introduces a struct x86_exception to represent an
> exception, and uses it to communicate between the emulator and the rest
> of kvm. The primary benefit is that we can now pass a #GP from kvm into
> the emulator, not just #PFs.
>
> I'd like to also fold vcpu->arch.fault into struct x86_exception, but that's
> more difficult, so deferred until later.
>
> Avi Kivity (7):
> KVM: x86 emulator: introduce struct x86_exception to communicate
> faults
> KVM: x86 emulator: make emulator memory callbacks return full
> exception
> KVM: x86 emulator: drop dead pf injection in emulate_popf()
> KVM: x86 emulator: tighen up ->read_std() and ->write_std() error
> checks
> KVM: x86 emulator: simplify exception generation
> KVM: Push struct x86_exception info the various gva_to_gpa variants
> KVM: Push struct x86_exception into walk_addr()
>
> arch/x86/include/asm/kvm_emulate.h | 26 +++--
> arch/x86/include/asm/kvm_host.h | 14 ++-
> arch/x86/kvm/emulate.c | 243 ++++++++++++++----------------------
> arch/x86/kvm/mmu.c | 13 +-
> arch/x86/kvm/paging_tmpl.h | 31 +++--
> arch/x86/kvm/x86.c | 97 ++++++++-------
> 6 files changed, 195 insertions(+), 229 deletions(-)
Applied, thanks.
prev parent reply other threads:[~2010-11-30 16:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 15:53 [PATCH 0/7] Emulator exception improvements Avi Kivity
2010-11-22 15:53 ` [PATCH 1/7] KVM: x86 emulator: introduce struct x86_exception to communicate faults Avi Kivity
2010-11-22 15:53 ` [PATCH 2/7] KVM: x86 emulator: make emulator memory callbacks return full exception Avi Kivity
2010-11-22 15:53 ` [PATCH 3/7] KVM: x86 emulator: drop dead pf injection in emulate_popf() Avi Kivity
2010-11-22 15:53 ` [PATCH 4/7] KVM: x86 emulator: tighen up ->read_std() and ->write_std() error checks Avi Kivity
2010-11-22 15:53 ` [PATCH 5/7] KVM: x86 emulator: simplify exception generation Avi Kivity
2010-11-22 15:53 ` [PATCH 6/7] KVM: Push struct x86_exception info the various gva_to_gpa variants Avi Kivity
2010-11-22 15:53 ` [PATCH 7/7] KVM: Push struct x86_exception into walk_addr() Avi Kivity
2010-11-30 14:47 ` 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=20101130144745.GA3825@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.