a9339c
From e1311df43e9c63e72b1a6b329f5ffc9bcd0f37e1 Mon Sep 17 00:00:00 2001
a9339c
From: Michal Sekletar <msekleta@redhat.com>
a9339c
Date: Thu, 16 Aug 2018 08:38:31 +0000
a9339c
Subject: [PATCH] Revert "rules: mark hotplugged memory as movable"
a9339c
a9339c
This reverts commit 7431c551954ad63fe61cda18888e1e89419bd631.
a9339c
a9339c
Resolves: #1614686
a9339c
---
a9339c
 rules/40-redhat.rules | 2 +-
a9339c
 1 file changed, 1 insertion(+), 1 deletion(-)
a9339c
a9339c
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
a9339c
index 26f726001..34a1df9c4 100644
a9339c
--- a/rules/40-redhat.rules
a9339c
+++ b/rules/40-redhat.rules
a9339c
@@ -4,7 +4,7 @@
a9339c
 SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
a9339c
 
a9339c
 # Memory hotadd request
a9339c
-SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online_movable"
a9339c
+SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online"
a9339c
 
a9339c
 # reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
a9339c
 ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"