[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.6] x86/hvm: print register state upon triple fault



commit 583ce5f5023c1b4e0d4a5834c9501b1ba2921f9e
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri Mar 4 13:04:28 2016 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Mar 4 13:04:28 2016 +0100

    x86/hvm: print register state upon triple fault
    
    A sample looks like:
    
    (XEN) d1v0 Triple fault - invoking HVM shutdown action 1
    (XEN) *** Dumping Dom1 vcpu#0 state: ***
    (XEN) ----[ Xen-4.7-unstable  x86_64  debug=y  Not tainted ]----
    (XEN) CPU:    2
    (XEN) RIP:    0000:[<0000000000100005>]
    (XEN) RFLAGS: 0000000000010002   CONTEXT: hvm guest (d1v0)
    (XEN) rax: 0000000000000020   rbx: 0000000000000000   rcx: 0000000000000000
    (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 0000000000000000
    (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  0000000000000000
    (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
    (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
    (XEN) r15: 0000000000000000   cr0: 0000000000000011   cr4: 0000000000000000
    (XEN) cr3: 0000000000000000   cr2: 0000000000000000
    (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    master commit: 1329105943179b91da2466431cc972e223900ced
    master date: 2016-02-25 13:02:29 +0100
---
 xen/arch/x86/hvm/hvm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index e200aab..e10174d 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -2811,6 +2811,7 @@ void hvm_triple_fault(void)
     gprintk(XENLOG_INFO,
             "Triple fault - invoking HVM shutdown action %d\n",
             reason);
+    vcpu_show_execution_state(v);
     domain_shutdown(d, reason);
 }
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.6

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.