Blob Blame History Raw
From 57adc4317ee2553d2d3ac84ef9625ed9c1cf5700 Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
Date: Wed, 13 May 2015 16:56:44 +0200
Subject: [PATCH] rules: enable memory hotplug

rhel-only

Resolves: #1105020
---
 rules/40-redhat.rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
index 2b494e5..8231caa 100644
--- a/rules/40-redhat.rules
+++ b/rules/40-redhat.rules
@@ -1,3 +1,7 @@
 # do not edit this file, it will be overwritten on update
 
+# CPU hotadd request
 SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
+
+# Memory hotadd request
+SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"