From be281a8615f08fae62d20d460c30f63db4b9d13c Mon Sep 17 00:00:00 2001 From: "Lunfan Zhang[Lunfan.Zhang]" Date: Mon, 29 Sep 2025 06:14:53 +0000 Subject: [PATCH] CP-309728 Move XS related PVS target key to xapi.conf Signed-off-by: Lunfan Zhang[Lunfan.Zhang] --- ocaml/xapi/xapi_globs.ml | 7 ++++++- scripts/xapi.conf | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ocaml/xapi/xapi_globs.ml b/ocaml/xapi/xapi_globs.ml index 75d7ef2694..feac24b49d 100644 --- a/ocaml/xapi/xapi_globs.ml +++ b/ocaml/xapi/xapi_globs.ml @@ -900,7 +900,7 @@ let xen_livepatch_list = ref "/usr/sbin/xen-livepatch list" let kpatch_list = ref "/usr/sbin/kpatch list" -let guest_service_keys = ref ["pvs_target/target_software_version"] +let guest_service_keys = ref [] let modprobe_path = ref "/usr/sbin/modprobe" @@ -1437,6 +1437,11 @@ let other_options = (fun s -> s) (fun s -> s) disable_dbsync_for + ; gen_list_option "guest-service-keys" + "space-separated list of guest service keys to monitor in xenstore" + (fun s -> s) + (fun s -> s) + guest_service_keys ; ( "xenopsd-queues" , Arg.String (fun x -> xenopsd_queues := String.split ',' x) , (fun () -> String.concat "," !xenopsd_queues) diff --git a/scripts/xapi.conf b/scripts/xapi.conf index 8736fed6c0..a91ed43473 100644 --- a/scripts/xapi.conf +++ b/scripts/xapi.conf @@ -397,3 +397,6 @@ xen_livepatch_list = "/usr/sbin/xen-livepatch list" # The command to query current kernel patch list kpatch_list = "/usr/sbin/kpatch list" + +# Guest service keys to monitor in xenstore data +guest-service-keys = pvs_target/target_software_version