From: "Jan Beulich" Subject: Re: [PATCH] x86/xsave: Remove xfeat_mask checking from validate_xstate() Date: Mon, 02 Jun 2014 07:43:02 +0100 Message-ID: <538C39160200007800016AD3@mail.emea.novell.com> References: <1401439171-1916-1-git-send-email-andrew.cooper3@citrix.com> <53887C0B02000078000B5425@mail.emea.novell.com> <5388721E.3090301@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5388721E.3090301@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: keir@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 30.05.14 at 13:57, wrote: > What further sanity checking would be wanted/needed? > > The sending Xen must have gotten this correct else it wouldn't have an > xsave area to send in the first place. If the receiving the Xen found > parts it didn't like, the local validity checks would fail. > > As far as I can see, the only case this might do something unexpected is > if the individual xfeature_mask got changed on transit, at which point > the receiving Xen would fail the xsave load, despite the xsave area > being valid for the current cpu. Whether the loading would fail really depends on what exactly became corrupted. But in the end the question is - are you intending to no longer communicate this bit of information in the v2 migration stream? Jan