From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [CFT PATCH v2 2/2] KVM: x86: support XSAVES usage in the host Date: Thu, 4 Dec 2014 14:52:56 +0100 Message-ID: <20141204135255.GA26941@potion.brq.redhat.com> References: <1416847414-22253-1-git-send-email-pbonzini@redhat.com> <1416847414-22253-3-git-send-email-pbonzini@redhat.com> <802AF3F4-2631-4979-A8CC-46B406546062@gmail.com> <547F1D84.9040505@redhat.com> <20141203184537.GA27128@potion.brq.redhat.com> <548064FF.3000107@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Nadav Amit , Linux Kernel Mailing List , kvm list , Wanpeng Li , Nadav Amit , hpa@linux.intel.com, Fenghua Yu To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <548064FF.3000107@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2014-12-04 14:43+0100, Paolo Bonzini: > On 03/12/2014 19:45, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > > Btw, we don't care about crashers from userspace? >=20 > We do, but they're taken care of by >=20 > if (xstate_bv & ~kvm_supported_xcr0()) > return -EINVAL; >=20 > in kvm_vcpu_ioctl_x86_set_xsave. kvm_supported_xcr0 is always a subs= et > of host_xcr0, hence: Ah, thanks. (If this trend continues, I won't be able to hold even bodily fluids after few more reviews ...)