From: Tim Deegan Subject: Re: [Xen-users] xc_hvm_inject_trap() failing for int3 traps under Xen 4.2.2 Date: Thu, 27 Jun 2013 10:49:25 +0100 Message-ID: <20130627094925.GA34361@ocelot.phlegethon.org> References: <51AE5D82.8090608@mandiant.com> <51B60565.1080903@mandiant.com> <20130610183632.GJ8802@ocelot.phlegethon.org> <51BC7F65.9090308@mandiant.com> <20130620103312.GA44917@ocelot.phlegethon.org> <97A500D504438F4ABC02EBA81613CC6322D2BF36@xmb-aln-x02.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <97A500D504438F4ABC02EBA81613CC6322D2BF36@xmb-aln-x02.cisco.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Aravindh Puthiyaparambil (aravindp)" Cc: Keir Fraser , George Dunlap , Steven Maresca , "xen-devel@lists.xen.org" , Jan Beulich , Antony Saba List-Id: xen-devel@lists.xenproject.org Hi, At 21:44 +0000 on 20 Jun (1371764675), Aravindh Puthiyaparambil (aravindp) wrote: > > > but the instruction size must be set to 1, at least on 4.2.2 to work > > > for me. Here is the patch against RELEASE-4.2.2. > > > > Sorry, I wasn't clear: setting it to 1 is certainly an improvement over zero > > (which is always wrong), but if you're relying on this to be correct you should > > also handle cases where prefixes make the instruction longer than 1 byte. > > I agree this is definitely an improvement. I will try adding the prefix check when I get the chance. > > > In any case, this tools-side change needs to be acked/nacked by a tools > > maintainer, and probably Aravindh too. > > Acked-by: Aravindh Puthiyaparambil Antony, if you want this tools-side patch merged, please send it as a separate patch, with a description and appropriate Signed-off-by: lines as described here: http://wiki.xen.org/wiki/Submitting_Xen_Patches You should add Aravindh's ack, but not mine, and Cc: the tools maintainers. If you want this to go in before 4.3, you should also Cc: George and explain why it fits his release criteria (though I suspect it's too late now). Cheers, Tim.