diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-01-15 20:15:36 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-01-15 20:15:36 +0100 |
| commit | 1bdeb308d3e36cd340cee8554ba2f660425c3195 (patch) | |
| tree | 5623566831972fcd62d0444eefe32e2c0168177c | |
| parent | a670fa2035d29b80e13616e301c38a106d4ac698 (diff) | |
vm: add another crash message for older kernels
| -rw-r--r-- | vm/vm.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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") ) |
