From: Fabio Fantoni Subject: Re: [PATCH] x86_emulate: properly do IP updates and other side effects on success Date: Thu, 07 Aug 2014 16:57:58 +0200 Message-ID: <53E393F6.8060004@m2r.biz> References: <53E35543020000780002A09C@mail.emea.novell.com> <53E37E19.4000006@m2r.biz> <53E3AB96020000780002A2A6@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XFP8b-00058x-VX for xen-devel@lists.xenproject.org; Thu, 07 Aug 2014 14:57:54 +0000 Received: by mail-wi0-f181.google.com with SMTP id bs8so5122140wib.8 for ; Thu, 07 Aug 2014 07:57:52 -0700 (PDT) In-Reply-To: <53E3AB96020000780002A2A6@mail.emea.novell.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: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org Il 07/08/2014 16:38, Jan Beulich ha scritto: >>>> 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 > Before this patch the domU's org was always 100% cpu, spice show black screen and is possible a xl shutdown, after at xorg start, show domU's mouse in center in spice and domU crash. I'm unable to debug it, can you tell me what I must do to debug it and give you all possibile information? This is the exact git I used for my tests: https://github.com/Fantu/Xen/tree/rebase/m2r-staging Contains some libxl patch about spice used for a long time and with only qxl problem on linux domUs (with windows domUs is working good since your patch of long time ago about similar istructions and same performance as kvm after one or more patches in xen-unstable that I not know exactly and is still working also with this patch). Thanks for any reply and sorry for my bad english.