dcavalca / rpms / systemd

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