kexec-tools/SOURCES/orabug30928441.kdumpctl.no_timer_check.patch

18 lines
535 B
Diff

Patch migrated from ol8 to ol9 without any modification
Signed-off-by: Darren Archibald <darren.archibald@oracle.com>
----
--- kdumpctl.old 2020-11-05 01:39:56.000000000 -0800
+++ kdumpctl 2020-11-05 01:41:30.240246343 -0800
@@ -33,6 +33,11 @@
. /etc/sysconfig/kdump
fi
+# append no_timer_check for xen guest kdump
+if [ "$ARCH" == "x86_64" ] && $(virt-what |grep -qE "^xen$|^xen-domU$|^xen-hvm$"); then
+ KDUMP_COMMANDLINE_APPEND="${KDUMP_COMMANDLINE_APPEND} no_timer_check"
+fi
+
single_instance_lock()
{
local rc timeout=5