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

[Xen-changelog] [xen stable-4.11] x86/hvm: Increase the triple fault log message level to XENLOG_ERR



commit aea41c3d1080fb13536ef6501e0a004bc7e653ca
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Mar 18 17:03:41 2019 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Mar 18 17:03:41 2019 +0100

    x86/hvm: Increase the triple fault log message level to XENLOG_ERR
    
    At INFO level, it doesn't get printed out by default in release builds,
    leading to unqualified logging such as this:
    
      (XEN) [   66.995993] Freed 524kB init memory
      (XEN) [ 1993.144997] *** Dumping Dom9 vcpu#2 state: ***
      (XEN) [ 1993.145008] ----[ Xen-4.11.1  x86_64  debug=n   Not tainted ]----
      (XEN) [ 1993.145011] CPU:    21
      (XEN) [ 1993.145015] RIP:    0010:[<ffffe0002ba950ef>]
      (XEN) [ 1993.145018] RFLAGS: 0000000000010246   CONTEXT: hvm guest (d9v2)
      (XEN) [ 1993.145026] rax: 00000000ffffe000   rbx: ffffe0002d8e1440   rcx: 
0000ffffe0002ba9
      (XEN) [ 1993.145031] rdx: 0000000000000000   rsi: ffffe0002ba93575   rdi: 
fffff803dfb9f340
      (XEN) [ 1993.145035] rbp: ffffd001cd791200   rsp: ffffd001cd791140   r8:  
0000000000000130
      (XEN) [ 1993.145039] r9:  0000000080000000   r10: 0000000000000000   r11: 
0000000000000020
      (XEN) [ 1993.145043] r12: ffffe0002ba9306d   r13: 0000000000000000   r14: 
0000000000000001
      (XEN) [ 1993.145047] r15: fffff803dfb9f200   cr0: 0000000080050031   cr4: 
0000000000170678
      (XEN) [ 1993.145051] cr3: 00000000001aa002   cr2: 0000020488403f70
      (XEN) [ 1993.145056] fsb: 0000000060f71000   gsb: ffffd001cc1af000   gss: 
0000009d60f6f000
      (XEN) [ 1993.145060] ds: 002b   es: 002b   fs: 0053   gs: 002b   ss: 0018 
  cs: 0010
    
    A triple fault is fatal to the domain under all circumstances (so will print
    at most once), and in practice is always an error condition rather than a
    reboot fallback.
    
    Reported-by: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    master commit: 1c8ca185e3c6e003398471edd9dbac0cd118137c
    master date: 2019-02-28 11:16:27 +0000
---
 xen/arch/x86/hvm/hvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index b35751da63..2d3c55a9fe 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -1647,7 +1647,7 @@ void hvm_triple_fault(void)
     struct domain *d = v->domain;
     u8 reason = d->arch.hvm_domain.params[HVM_PARAM_TRIPLE_FAULT_REASON];
 
-    gprintk(XENLOG_INFO,
+    gprintk(XENLOG_ERR,
             "Triple fault - invoking HVM shutdown action %d\n",
             reason);
     vcpu_show_execution_state(v);
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.11

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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