Blame SOURCES/0014-rules-disable-auto-online-of-hot-plugged-memory-on-I.patch
|
|
36e8a3 |
From a0802638f02b964cb9d2d68bad009561b2bcc910 Mon Sep 17 00:00:00 2001
|
|
|
36e8a3 |
From: Michal Sekletar <msekleta@redhat.com>
|
|
|
36e8a3 |
Date: Fri, 16 Sep 2016 14:45:01 +0200
|
|
|
36e8a3 |
Subject: [PATCH] rules: disable auto-online of hot-plugged memory on IBM z
|
|
|
36e8a3 |
Systems
|
|
|
36e8a3 |
|
|
|
36e8a3 |
Related: #1523227
|
|
|
36e8a3 |
---
|
|
|
36e8a3 |
rules/40-redhat.rules | 2 +-
|
|
|
36e8a3 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
36e8a3 |
|
|
|
36e8a3 |
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
|
|
|
36e8a3 |
index 4c56950da..c3df32023 100644
|
|
|
36e8a3 |
--- a/rules/40-redhat.rules
|
|
|
36e8a3 |
+++ b/rules/40-redhat.rules
|
|
|
36e8a3 |
@@ -4,7 +4,7 @@
|
|
|
36e8a3 |
SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
|
|
|
36e8a3 |
|
|
|
36e8a3 |
# Memory hotadd request
|
|
|
36e8a3 |
-SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/usr/bin/systemd-detect-virt", RESULT!="zvm", ATTR{state}=="offline", ATTR{state}="online"
|
|
|
36e8a3 |
+SUBSYSTEM=="memory", ACTION=="add", PROGRAM=="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online"
|
|
|
36e8a3 |
|
|
|
36e8a3 |
# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
|
|
|
36e8a3 |
ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"
|