aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-01-15 20:15:36 +0100
committerDmitry Vyukov <dvyukov@google.com>2016-01-15 20:15:36 +0100
commit1bdeb308d3e36cd340cee8554ba2f660425c3195 (patch)
tree5623566831972fcd62d0444eefe32e2c0168177c
parenta670fa2035d29b80e13616e301c38a106d4ac698 (diff)
vm: add another crash message for older kernels
-rw-r--r--vm/vm.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 34aa43a14..0692b6b2f 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -61,6 +61,8 @@ func Create(typ string, cfg *Config) (Instance, error) {
}
var (
- CrashRe = regexp.MustCompile("Kernel panic[^\r\n]*|BUG:[^\r\n]*|kernel BUG[^\r\n]*|WARNING:[^\r\n]*|INFO:[^\r\n]*|unable to handle|general protection fault|UBSAN:[^\r\n]*|unreferenced object[^\r\n]*")
+ CrashRe = regexp.MustCompile("Kernel panic[^\r\n]*|BUG:[^\r\n]*|kernel BUG[^\r\n]*|WARNING:[^\r\n]*|" +
+ "INFO:[^\r\n]*|unable to handle|Unable to handle kernel[^\r\n]*|general protection fault|UBSAN:[^\r\n]*|" +
+ "unreferenced object[^\r\n]*")
TimeoutErr = errors.New("timeout")
)