public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	Brijesh Singh <brijesh.singh@amd.com>
Subject: Re: [PATCH] KVM: SVM: limit kvm_handle_page_fault to #PF handling
Date: Tue, 10 Oct 2017 21:01:53 +0200	[thread overview]
Message-ID: <20171010190152.GB28763@flask> (raw)
In-Reply-To: <1507625383-23795-1-git-send-email-pbonzini@redhat.com>

2017-10-10 10:49+0200, Paolo Bonzini:
> It has always annoyed me a bit how SVM_EXIT_NPF is handled by
> pf_interception.  This is also the only reason behind the
> under-documented need_unprotect argument to kvm_handle_page_fault.
> Let NPF go straight to kvm_mmu_page_fault, just like VMX
> does in handle_ept_violation and handle_ept_misconfig.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---

And we also drop the unneeded pv async_pf switch,

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>

  reply	other threads:[~2017-10-10 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10  8:49 [PATCH] KVM: SVM: limit kvm_handle_page_fault to #PF handling Paolo Bonzini
2017-10-10 19:01 ` Radim Krčmář [this message]
2017-10-11 15:30 ` Brijesh Singh

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=20171010190152.GB28763@flask \
    --to=rkrcmar@redhat.com \
    --cc=brijesh.singh@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.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