1ff636
From 57adc4317ee2553d2d3ac84ef9625ed9c1cf5700 Mon Sep 17 00:00:00 2001
1ff636
From: Lukas Nykryn <lnykryn@redhat.com>
1ff636
Date: Wed, 13 May 2015 16:56:44 +0200
1ff636
Subject: [PATCH] rules: enable memory hotplug
1ff636
1ff636
rhel-only
1ff636
1ff636
Resolves: #1105020
1ff636
---
1ff636
 rules/40-redhat.rules | 4 ++++
1ff636
 1 file changed, 4 insertions(+)
1ff636
1ff636
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
Pablo Greco 48fc63
index 2b494e57cf..8231caae98 100644
1ff636
--- a/rules/40-redhat.rules
1ff636
+++ b/rules/40-redhat.rules
1ff636
@@ -1,3 +1,7 @@
1ff636
 # do not edit this file, it will be overwritten on update
1ff636
 
1ff636
+# CPU hotadd request
1ff636
 SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
1ff636
+
1ff636
+# Memory hotadd request
1ff636
+SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"