From ede5a78f50ed2d5f86dc7a117de2a51b397d52d4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 1 Nov 2022 16:53:02 +0100 Subject: shutdown: Add Xen kexec support In the Xen case, it's the hypervisor which manages kexec. We thus have to ask it whether a kernel is loaded, instead of relying on /sys/kernel/kexec_loaded. --- meson_options.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 814f340840..19e9c2d990 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -371,6 +371,8 @@ option('fdisk', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libfdisk support') option('kmod', type : 'combo', choices : ['auto', 'true', 'false'], description : 'support for loadable modules') +option('xenctrl', type : 'combo', choices : ['auto', 'true', 'false'], + description : 'support for Xen kexec') option('pam', type : 'combo', choices : ['auto', 'true', 'false'], description : 'PAM support') option('pwquality', type : 'combo', choices : ['auto', 'true', 'false'], -- cgit v1.2.1