From: "Jan Beulich" Subject: Re: [PATCH] x86_emulate: properly do IP updates and other side effects on success Date: Thu, 07 Aug 2014 15:38:46 +0100 Message-ID: <53E3AB96020000780002A2A6@mail.emea.novell.com> References: <53E35543020000780002A09C@mail.emea.novell.com> <53E37E19.4000006@m2r.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XFOqA-00046L-CU for xen-devel@lists.xenproject.org; Thu, 07 Aug 2014 14:38:50 +0000 In-Reply-To: <53E37E19.4000006@m2r.biz> 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: Fabio Fantoni Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 07.08.14 at 15:24, wrote: > Il 07/08/2014 10:30, Jan Beulich ha scritto: >> The two MMX/SSE/AVX code blocks failed to update IP properly, and these >> as well as get_reg_refix(), which "manually" updated IP so far, failed >> to do the TF and RF processing needed at the end of successfully >> emulated instructions. >> >> Reported-by: Andrei LUTAS >> Signed-off-by: Jan Beulich >> Tested-by: Razvan Cojocaru > > Thanks for the patch, I tested it to see if solves also qxl on linux > domUs problem but with this patch the domU crashes and I cannot get a > backtrace or specific errors. Are you saying that this is different from without that patch? Considering the lack of EIP update, the emulation of the instructions in question can't have done much good before, and - just like the reporters of the issue saw - the guest should have hung. Jan