From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roedel, Joerg" Subject: Re: [PATCH] kvm/fpu: Enable fully eager restore kvm FPU Date: Mon, 20 Aug 2012 12:53:45 +0200 Message-ID: <20120820105345.GH2582@amd.com> References: <1345094044-28962-1-git-send-email-xudong.hao@intel.com> <502CB881.1040807@redhat.com> <403610A45A2B5242BD291EDAE8B37D300FE8AA17@SHSMSX102.ccr.corp.intel.com> <502CD276.7020403@redhat.com> <20120820092416.GB2582@amd.com> <50320C8E.6040109@redhat.com> <20120820101453.GF2582@amd.com> <503214BE.8050706@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "Hao, Xudong" , "kvm@vger.kernel.org" , "Zhang, Xiantao" To: Avi Kivity Return-path: Received: from co1ehsobe004.messaging.microsoft.com ([216.32.180.187]:54746 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752091Ab2HTKxx (ORCPT ); Mon, 20 Aug 2012 06:53:53 -0400 Content-Disposition: inline In-Reply-To: <503214BE.8050706@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 20, 2012 at 01:43:10PM +0300, Avi Kivity wrote: > On 08/20/2012 01:14 PM, Roedel, Joerg wrote: > > On Mon, Aug 20, 2012 at 01:08:14PM +0300, Avi Kivity wrote: > >> On 08/20/2012 12:24 PM, Roedel, Joerg wrote: > > > >> So it was broken all along? Yikes. > > > > There is no LWP support in the kernel and thus KVM can't expose it to > > guests. So for now nothing should be broken, no? > > Oh, we mask out xcr0 bits not supported by the host. > > So it's broken in another way: it isn't exposed. Pity, it's such a nice > feature. Right, that is very sad. We can support it in KVM even without Linux host support, but there is no OS which enables this feature yet, so it is rather useless to do it in KVM only. Joerg