[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] stubdom: configure kexec for PVH Xenstore stubdom
commit 140a682737b4e6176c1f3dd6dbb3992d63748f1a Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Thu Jul 17 12:48:26 2025 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Jul 17 12:48:26 2025 +0200 stubdom: configure kexec for PVH Xenstore stubdom Add the required configuration settings to enable kexec in the PVH variant of xenstore-stubdom. This is required to support live update. Set the number of kexec module pages to 18 in order to support using the kexec module memory for the stubdom's 9pfs granted pages. In Xenstore code test the CONFIG_KEXEC setting in order to determine whether stubdom live update is supported (PV xenstore-stubdom doesn't have live update support, as it lacks kexec). Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx> --- stubdom/xenstorepvh-minios.cfg | 2 ++ tools/xenstored/core.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/stubdom/xenstorepvh-minios.cfg b/stubdom/xenstorepvh-minios.cfg index 62a228f33d..ed2461d7fa 100644 --- a/stubdom/xenstorepvh-minios.cfg +++ b/stubdom/xenstorepvh-minios.cfg @@ -8,4 +8,6 @@ CONFIG_CONSFRONT=n CONFIG_LWIP=n CONFIG_9PFRONT=y CONFIG_BALLOON=y +CONFIG_KEXEC=y +CONFIG_KEXEC_MODULE_PAGES=18 XEN_INTERFACE_VERSION=__XEN_LATEST_INTERFACE_VERSION__ diff --git a/tools/xenstored/core.h b/tools/xenstored/core.h index 632886cecf..1ba9592d16 100644 --- a/tools/xenstored/core.h +++ b/tools/xenstored/core.h @@ -45,6 +45,11 @@ #endif #endif +/* Live update in stubdom case needs kexec support. */ +#if defined(__MINIOS__) && !defined(CONFIG_KEXEC) +#define NO_LIVE_UPDATE +#endif + /* DEFAULT_BUFFER_SIZE should be large enough for each errno string. */ #define DEFAULT_BUFFER_SIZE 16 -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |