public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>, kvm <kvm@vger.kernel.org>,
	Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>,
	Jun Nakajima <jun.nakajima@intel.com>,
	Yang Zhang <yang.z.zhang@intel.com>
Subject: Re: [PATCH 1/7] KVM: nEPT: Advertise WB type EPTP
Date: Mon, 5 Aug 2013 16:12:32 +0300	[thread overview]
Message-ID: <20130805131232.GH10891@redhat.com> (raw)
In-Reply-To: <e384f0e43dcb83eb2dba3984ec50d6655f052c72.1375638539.git.jan.kiszka@web.de>

On Sun, Aug 04, 2013 at 07:49:00PM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> At least WB must be possible.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>

> ---
>  arch/x86/kvm/vmx.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index e51bf4a..53050a0 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -2250,8 +2250,8 @@ static __init void nested_vmx_setup_ctls_msrs(void)
>  	if (enable_ept) {
>  		/* nested EPT: emulate EPT also to L1 */
>  		nested_vmx_secondary_ctls_high |= SECONDARY_EXEC_ENABLE_EPT;
> -		nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT;
> -		nested_vmx_ept_caps |= VMX_EPT_INVEPT_BIT;
> +		nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT |
> +			 VMX_EPTP_WB_BIT | VMX_EPT_INVEPT_BIT;
>  		nested_vmx_ept_caps &= vmx_capability.ept;
>  		/*
>  		 * Since invept is completely emulated we support both global
> -- 
> 1.7.3.4

--
			Gleb.

  reply	other threads:[~2013-08-05 13:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04 17:48 [PATCH 0/7] KVM: nVMX: Enable unrestricted guest mode and fix some nEPT issues Jan Kiszka
2013-08-04 17:49 ` [PATCH 1/7] KVM: nEPT: Advertise WB type EPTP Jan Kiszka
2013-08-05 13:12   ` Gleb Natapov [this message]
2013-08-04 17:49 ` [PATCH 2/7] KVM: nVMX: Replace kvm_set_cr0 with vmx_set_cr0 in load_vmcs12_host_state Jan Kiszka
2013-08-04 17:49 ` [PATCH 3/7] KVM: nVMX: Enable unrestricted guest mode support Jan Kiszka
2013-08-04 17:49 ` [PATCH 4/7] KVM: nVMX: Fix guest CR3 read-back on VM-exit Jan Kiszka
2013-08-04 17:49 ` [PATCH 5/7] KVM: nVMX: Load nEPT state after EFER Jan Kiszka
2013-08-04 17:49 ` [PATCH 6/7] KVM: nVMX: Implement support for EFER saving on VM-exit Jan Kiszka
2013-08-05  7:21   ` Arthur Chunqi Li
2013-08-05  7:35     ` Jan Kiszka
2013-08-04 17:49 ` [PATCH 7/7] KVM: nVMX: Update mmu.base_role.nxe after EFER loading on VM-entry/exit Jan Kiszka

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=20130805131232.GH10891@redhat.com \
    --to=gleb@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=jun.nakajima@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=xiaoguangrong@linux.vnet.ibm.com \
    --cc=yang.z.zhang@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