From: Paolo Bonzini <pbonzini@redhat.com>
To: Kai Huang <kai.huang@linux.intel.com>,
guangrong.xiao@linux.intel.com, kvm@vger.kernel.org
Subject: Re: [v2] KVM: VMX: Fix commit which broke PML
Date: Thu, 5 Nov 2015 09:20:30 +0100 [thread overview]
Message-ID: <563B114E.1090601@redhat.com> (raw)
In-Reply-To: <563AB91F.6080802@linux.intel.com>
On 05/11/2015 03:04, Kai Huang wrote:
>
> Thanks for applying! I am really sorry that I forgot to delete the line
> that clears SECONDARY_EXEC_ENABLE_PML bit in vmx_disable_pml, which is
> renamed to vmx_destroy_pml_buffer now.
> It won't impact functionality but to make the function consistent, would
> you also do below? Sorry for such negligence!
>
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index 89f4fa2..ef4ca76 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -7826,8 +7826,6 @@ static void vmx_destroy_pml_buffer(struct vcpu_vmx
> *vmx)
> ASSERT(vmx->pml_pg);
> __free_page(vmx->pml_pg);
> vmx->pml_pg = NULL;
> -
> - vmcs_clear_bits(SECONDARY_VM_EXEC_CONTROL,
> SECONDARY_EXEC_ENABLE_PML);
> }
No problem. I haven't yet pushed to kvm/next, so I can change this commit.
Thanks for the quick response.
Paolo
prev parent reply other threads:[~2015-11-05 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 5:46 [v2] KVM: VMX: Fix commit which broke PML Kai Huang
2015-11-04 12:00 ` Paolo Bonzini
2015-11-05 2:04 ` Kai Huang
2015-11-05 8:20 ` Paolo Bonzini [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=563B114E.1090601@redhat.com \
--to=pbonzini@redhat.com \
--cc=guangrong.xiao@linux.intel.com \
--cc=kai.huang@linux.intel.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