[Devel] [PATCH RHEL COMMIT] configs: VZ options

Konstantin Khorenko khorenko at virtuozzo.com
Thu Sep 30 18:19:45 MSK 2021


The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit 950fff235456ce546578af1783a6eb311f1781de
Author: Nikita Yushchenko <nikita.yushchenko at virtuozzo.com>
Date:   Thu Sep 30 18:19:44 2021 +0300

    configs: VZ options
    
    This adds config keys from vz8 commits:
    - 33d7489adbc5 ("configs: OpenVZ related config options are added")
    - 75f7b93b1a91 ("config.debug: OpenVZ related config options are added")
    to vz9 config infrastructure (redhat/configs/custom-overrides/)
    
    CONFIG_PANIC_ON_OOPS moved from debug to generic, per discussion with
    Konstantin Khorenko.
    
    Signed-off-by: Nikita Yushchenko <nikita.yushchenko at virtuozzo.com>
---
 redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY            | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT      | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR     | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS         | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE   | 1 +
 6 files changed, 6 insertions(+)

diff --git a/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR b/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR
new file mode 100644
index 000000000000..9a839923afd9
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR
@@ -0,0 +1 @@
+CONFIG_DEFAULT_MMAP_MIN_ADDR=69632
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY
new file mode 100644
index 000000000000..6b59316c9549
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY
@@ -0,0 +1 @@
+CONFIG_LEGACY_PTYS=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT
new file mode 100644
index 000000000000..e7e4a86ca9ca
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT
@@ -0,0 +1 @@
+CONFIG_LEGACY_PTY_COUNT=12
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR b/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR
new file mode 100644
index 000000000000..c9311b3e3d4a
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR
@@ -0,0 +1 @@
+CONFIG_LSM_MMAP_MIN_ADDR=69632
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS
new file mode 100644
index 000000000000..29dc6ff9860c
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS
@@ -0,0 +1 @@
+CONFIG_PANIC_ON_OOPS=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE
new file mode 100644
index 000000000000..165233f74875
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE
@@ -0,0 +1 @@
+CONFIG_PANIC_ON_OOPS_VALUE=1


More information about the Devel mailing list