[PATCH] hw/xen: Avoid non-inclusive language in params.h

Thomas Huth posted 1 patch 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251013111152.25807-1-thuth@redhat.com
Maintainers: Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, Paul Durrant <paul@xen.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
include/hw/xen/interface/hvm/params.h | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
[PATCH] hw/xen: Avoid non-inclusive language in params.h
Posted by Thomas Huth 1 month ago
From: Thomas Huth <thuth@redhat.com>

Copy the latest version of Xen's params.h to the QEMU repository:

https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=0291089f6ea81690f37035a124d54c51fa7ba097#patch8

With this patch, we get rid of a non-inclusive word in the comment
there.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 include/hw/xen/interface/hvm/params.h | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/include/hw/xen/interface/hvm/params.h b/include/hw/xen/interface/hvm/params.h
index a22b4ed45d2..99c40b4287f 100644
--- a/include/hw/xen/interface/hvm/params.h
+++ b/include/hw/xen/interface/hvm/params.h
@@ -246,16 +246,11 @@
 #define HVM_PARAM_VM_GENERATION_ID_ADDR 34
 
 /*
- * Set mode for altp2m:
- *  disabled: don't activate altp2m (default)
+ * Get mode for altp2m:
+ *  disabled: altp2m not active (default)
  *  mixed: allow access to all altp2m ops for both in-guest and external tools
  *  external: allow access to external privileged tools only
  *  limited: guest only has limited access (ie. control VMFUNC and #VE)
- *
- * Note that 'mixed' mode has not been evaluated for safety from a
- * security perspective.  Before using this mode in a
- * security-critical environment, each subop should be evaluated for
- * safety, with unsafe subops blacklisted in XSM.
  */
 #define HVM_PARAM_ALTP2M       35
 #define XEN_ALTP2M_disabled      0
-- 
2.51.0
Re: [PATCH] hw/xen: Avoid non-inclusive language in params.h
Posted by Philippe Mathieu-Daudé 1 week, 6 days ago
On 13/10/25 13:11, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> Copy the latest version of Xen's params.h to the QEMU repository:
> 
> https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=0291089f6ea81690f37035a124d54c51fa7ba097#patch8
> 
> With this patch, we get rid of a non-inclusive word in the comment
> there.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   include/hw/xen/interface/hvm/params.h | 9 ++-------
>   1 file changed, 2 insertions(+), 7 deletions(-)

Merged as commit aba49488cb4.
Re: [PATCH] hw/xen: Avoid non-inclusive language in params.h
Posted by Anthony PERARD 3 weeks, 1 day ago
On Mon, Oct 13, 2025 at 01:11:52PM +0200, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> Copy the latest version of Xen's params.h to the QEMU repository:
> 
> https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=0291089f6ea81690f37035a124d54c51fa7ba097#patch8
> 
> With this patch, we get rid of a non-inclusive word in the comment
> there.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Acked-by: Anthony PERARD <anthony.perard@vates.tech>

Thanks,

-- 
Anthony PERARD