Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E32DCCF9E3 for ; Fri, 7 Nov 2025 19:24:27 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1157862.1486478 (Exim 4.92) (envelope-from ) id 1vHS3y-0002YW-Hf; Fri, 07 Nov 2025 19:23:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1157862.1486478; Fri, 07 Nov 2025 19:23:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vHS3y-0002YP-Es; Fri, 07 Nov 2025 19:23:58 +0000 Received: by outflank-mailman (input) for mailman id 1157862; Fri, 07 Nov 2025 19:23:56 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vHS3w-0002YJ-Nr for xen-devel@lists.xenproject.org; Fri, 07 Nov 2025 19:23:56 +0000 Received: from smarthost01a.sbp.mail.zen.net.uk (smarthost01a.sbp.mail.zen.net.uk [212.23.1.1]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 4bca03c5-bc0f-11f0-9d17-b5c5bf9af7f9; Fri, 07 Nov 2025 20:23:53 +0100 (CET) Received: from [217.155.64.189] (helo=mail0.xen.dingwall.me.uk) by smarthost01a.sbp.mail.zen.net.uk with esmtpsa (TLS1.0) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.95) (envelope-from ) id 1vHS3t-00DAvl-2j for xen-devel@lists.xenproject.org; Fri, 07 Nov 2025 19:23:52 +0000 Received: from localhost (localhost [IPv6:::1]) by mail0.xen.dingwall.me.uk (Postfix) with ESMTP id 6D86CDA9D97 for ; Fri, 7 Nov 2025 19:23:52 +0000 (GMT) Received: from mail0.xen.dingwall.me.uk ([IPv6:::1]) by localhost (mail0.xen.dingwall.me.uk [IPv6:::1]) (amavis, port 10024) with ESMTP id G9XRg2WmnLTn for ; Fri, 7 Nov 2025 19:23:52 +0000 (GMT) Received: from ghoul.dingwall.me.uk (ghoul.dingwall.me.uk [IPv6:2a02:8010:698e:302::c0a8:1c8]) by dingwall.me.uk (Postfix) with ESMTP id 35E72DA9D92 for ; Fri, 7 Nov 2025 19:23:52 +0000 (GMT) Received: by ghoul.dingwall.me.uk (Postfix, from userid 1000) id 17BBA7F4; Fri, 7 Nov 2025 19:23:51 +0000 (GMT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4bca03c5-bc0f-11f0-9d17-b5c5bf9af7f9 X-Virus-Scanned: Debian amavis at dingwall.me.uk Date: Fri, 7 Nov 2025 19:23:51 +0000 From: James Dingwall To: xen-devel@lists.xenproject.org Subject: [PATCH] fix xl.cfg docs to correct viridian defaults list Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="UBzguPwngLXLn4Ib" Content-Disposition: inline X-Originating-smarthost01a-IP: [217.155.64.189] Feedback-ID: 217.155.64.189 --UBzguPwngLXLn4Ib Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I was trying to work out why this would cause my Windows 10 guest to hang when it should have been equivalent to ['defaults'] or 1. viridian = ['base', 'freq', 'apic_assist', 'crash_ctl', 'no_vp_limit', 'cpu_hotplug', 'time_ref_count', 'stimer'] Checking the libxl sources show that in fact the defaults are: if (libxl_defbool_val(info->u.hvm.viridian)) { /* Enable defaults */ libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_BASE); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_FREQ); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_TIME_REF_COUNT); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_APIC_ASSIST); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_CRASH_CTL); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_NO_VP_LIMIT); libxl_bitmap_set(&enlightenments, LIBXL_VIRIDIAN_ENLIGHTENMENT_CPU_HOTPLUG); } LIBXL_VIRIDIAN_ENLIGHTENMENT_STIMER was removed as a default enlightement in e83077a3d11072708a5c38fa09fa9d011914e2a1 but the docs were not kept aligned. Thanks, James --UBzguPwngLXLn4Ib Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="af3b374637bae4b30091f731f2bfeea4460478da.diff" commit af3b374637bae4b30091f731f2bfeea4460478da Author: James Dingwall Date: Fri Nov 7 19:09:56 2025 +0000 doc/man: align list of viridian default enlightenments with libxl The stimer enlightment was removed from the defaults list in e83077a3d11072708a5c38fa09fa9d011914e2a1 but the corresponding docs change was not made. Removing from docs as enabling the enlightenment will hang Windows 10 guests. Signed-off-by: James Dingwall diff --git a/docs/man/xl.cfg.5.pod.in b/docs/man/xl.cfg.5.pod.in index ad1553c5e9..27c455210b 100644 --- a/docs/man/xl.cfg.5.pod.in +++ b/docs/man/xl.cfg.5.pod.in @@ -2503,7 +2503,7 @@ guests effectively allowing vCPU hotplug. This is a special value that enables the default set of groups, which is currently the B, B, B, B, -B, B, B and B groups. +B, B and B groups. =item B --UBzguPwngLXLn4Ib--