From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanpeng Li Subject: Re: [PATCH 0/9] Final set of XSAVES patches Date: Fri, 5 Dec 2014 09:15:01 +0800 Message-ID: <20141205011501.GA2683@kernel> References: <1417708634-24333-1-git-send-email-pbonzini@redhat.com> Reply-To: Wanpeng Li Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, rkrcmar@redhat.com To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <1417708634-24333-1-git-send-email-pbonzini@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi Paolo, On Thu, Dec 04, 2014 at 04:57:05PM +0100, Paolo Bonzini wrote: >These are all the patches needed to support XSAVES. > I think you miss to add your patch "kvm: x86: mask out XSAVES" to this patchset, I test the whole patchset w/ that patch applied on skylake-client machine, and it looks good, please feel free to add my tested-by to this patchset. Tested-by: Wanpeng Li >Paolo Bonzini (5): > x86: export get_xsave_addr > KVM: x86: support XSAVES usage in the host > KVM: x86: use F() macro throughout cpuid.c > KVM: cpuid: set CPUID(EAX=0xd,ECX=1).EBX correctly > KVM: cpuid: mask more bits in leaf 0xd and subleaves > >Wanpeng Li (4): > kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest > kvm: x86: handle XSAVES vmcs and vmexit > kvm: vmx: add MSR logic for XSAVES > kvm: vmx: add nested virtualization support for xsaves > > arch/x86/include/asm/kvm_host.h | 2 + > arch/x86/include/asm/vmx.h | 3 ++ > arch/x86/include/uapi/asm/vmx.h | 6 ++- > arch/x86/kernel/xsave.c | 1 + > arch/x86/kvm/cpuid.c | 47 ++++++++++++++------- > arch/x86/kvm/svm.c | 6 +++ > arch/x86/kvm/vmx.c | 80 +++++++++++++++++++++++++++++++++++- > arch/x86/kvm/x86.c | 90 +++++++++++++++++++++++++++++++++++++---- > 8 files changed, 210 insertions(+), 25 deletions(-) > >-- >1.8.3.1