You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
739 B
25 lines
739 B
7 years ago
|
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 2b494e57c..8231caae9 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"
|