From: Fabio Fantoni Subject: Re: [PATCH] x86_emulate: properly do IP updates and other side effects on success Date: Mon, 11 Aug 2014 16:31:15 +0200 Message-ID: <53E8D3B3.4070800@m2r.biz> References: <53E35543020000780002A09C@mail.emea.novell.com> <53E37E19.4000006@m2r.biz> <53E3AB96020000780002A2A6@mail.emea.novell.com> <53E393F6.8060004@m2r.biz> <53E8BCCA.9060201@m2r.biz> <53E8C225.9070705@m2r.biz> <53E8EBC8020000780002B374@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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XGqcj-0007T2-JK for xen-devel@lists.xenproject.org; Mon, 11 Aug 2014 14:30:57 +0000 Received: by mail-wi0-f180.google.com with SMTP id n3so4304229wiv.1 for ; Mon, 11 Aug 2014 07:30:56 -0700 (PDT) In-Reply-To: <53E8EBC8020000780002B374@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 11/08/2014 16:14, Jan Beulich ha scritto: >>>> On 11.08.14 at 15:16, wrote: >> Now I did also a vcpus dump on domU preserved after crash if can be >> useful for this problem probably about cpu's instructions emulation: > That's certainly a necessary step, but without telling us the instruction > under emulation (assuming there is one being emulated) by resolving > the dumped RIP values and ... > >> gdbsx -c 1 64 >> ===> Context for DOMID:1 >> >> --> VCPU:0 >> rip:ffffffff810013a8 rsp:ffff880074803b30 flags:0000000000000092 >> rax:0000000000000000 rbx:00000000fffffffe rcx:00000000ffffffff >> rdx:ffffffff81edc300 rsi:ffff880074803b3c rdi:0000000000000002 >> r08:0000000000000000 r09:0000000000000002 r10:ffffffff81d0a5e0 >> r11:ffff8800748038c6 r12:ffffffff81c515c0 r13:0000000000000000 >> r14:ffffffff81edc300 r15:0000000000000000 rbp:ffff880074803b40 >> cs:0000000000000010 ds:0000000000000000 fs:0000000000000000 >> gs:0000000000000000 >> >> Call Trace: >> [ffffffff810013a8] >> [ffffffff8100357e] >> [ffffffff810035a3] >> [ffffffff816fa43c] >> [ffffffff81a07727] >> [ffffffff816fa49a] >> [ffffffff816eb027] >> [ffffffff810e17c8] >> [ffffffff816f7603] >> [ffffffff81a073db] >> [ffffffff81016f9b] > ... perhaps resolving these addresses so we can associated a > meaning to them I don't think there's much we can do with this data. > > Jan > Thanks for your reply. Can you give me an how-to for take all data you need? I tried also gdbsx to try catch one full backtrace of domU's crash but seems that was failed: http://lists.xen.org/archives/html/xen-devel/2014-08/msg00801.html