From: Andrew Cooper Subject: Re: [PATCH v2 05/16] x86emul: add XOP decoding Date: Thu, 29 Sep 2016 10:07:43 +0100 Message-ID: References: <57EB94940200007800113179@prv-mh.provo.novell.com> <57EB96E30200007800113199@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3785806218382349546==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpXJm-0000V8-Ga for xen-devel@lists.xenproject.org; Thu, 29 Sep 2016 09:07:50 +0000 In-Reply-To: <57EB96E30200007800113199@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org --===============3785806218382349546== Content-Type: multipart/alternative; boundary="------------40537F3AF09447843A3F3861" --------------40537F3AF09447843A3F3861 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On 28/09/16 09:09, Jan Beulich wrote: > This way we can at least size (and e.g. skip) them if needed, and we > also won't raise the wrong fault due to not having read all relevant > bytes. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper . I think... The prefix decoding is getting very complicated, but I can't suggest an easier way. ~Andrew --------------40537F3AF09447843A3F3861 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: 8bit
On 28/09/16 09:09, Jan Beulich wrote:
This way we can at least size (and e.g. skip) them if needed, and we
also won't raise the wrong fault due to not having read all relevant
bytes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>.  I think... The prefix decoding is getting very complicated, but I can't suggest an easier way.

~Andrew --------------40537F3AF09447843A3F3861-- --===============3785806218382349546== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============3785806218382349546==--