From nobody Sun Nov 24 18:19:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1727979082; cv=none; d=zohomail.com; s=zohoarc; b=nD5oCui2DXg+Kmemj5ZT+Huv0+LzmD55YVs0SpYkQdnHW9wnKU1mI2OaGQio6AXZWQlgODK+i9ZG3+t41G/EKp3KbCteBrovia5RXeXUpEthsG1EnTJa+9/fMENj7ozZ6lmZqBdW9siwfLV8qFBMqUJnDZtkauDLauIjk8Wja2Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1727979082; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=E1MdC3jU6tMF4gHR3lQp27v/4fUpmlKo+cCS73TVl10=; b=d+5HmPB/SHk/AJW2xwu4ZS7x+taQgpl/2kKIEtRJiIp6dyZQsSnyo90XVj8pKPVEbYXCGVAU4UN1I0usF/3JE1hYzO+potpC9P7vB+V9jfuEcX+iT4eYcfuce2d7l6/DdU8139JQyLY7+R/i1mSUueEK1GSW/4VMXe/VCVNsz/E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1727979082414740.9585912384985; Thu, 3 Oct 2024 11:11:22 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.809772.1222316 (Exim 4.92) (envelope-from ) id 1swQI7-0003hb-63; Thu, 03 Oct 2024 18:11:07 +0000 Received: by outflank-mailman (output) from mailman id 809772.1222316; Thu, 03 Oct 2024 18:11:07 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swQI7-0003hU-3M; Thu, 03 Oct 2024 18:11:07 +0000 Received: by outflank-mailman (input) for mailman id 809772; Thu, 03 Oct 2024 18:11:06 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swQ7D-0006qR-95 for xen-devel@lists.xenproject.org; Thu, 03 Oct 2024 17:59:51 +0000 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [2a00:1450:4864:20::630]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 480eaad1-81b1-11ef-99a2-01e77a169b0f; Thu, 03 Oct 2024 19:59:49 +0200 (CEST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a8d60e23b33so182243166b.0 for ; Thu, 03 Oct 2024 10:59:49 -0700 (PDT) Received: from fziglio-desktop.. ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99104731a5sm111876166b.180.2024.10.03.10.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 10:59:47 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 480eaad1-81b1-11ef-99a2-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1727978388; x=1728583188; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E1MdC3jU6tMF4gHR3lQp27v/4fUpmlKo+cCS73TVl10=; b=d2dTz2xP10bpnZ7Jrt4SVjpMxS0962Z6f6jWn0NLF8AXqD7mffiS541z1YkFwoCJqP 9IjLWNXo9QRZ/qaC6Tc0UzhXOgcauJpMrawYDaVYp+gtgj0ukkzlQiQZIq4K2ijUZqI2 CjfT5hOGRaY+4t+APiQLnvzhWK5DzXSMBdeh4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727978388; x=1728583188; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E1MdC3jU6tMF4gHR3lQp27v/4fUpmlKo+cCS73TVl10=; b=YW2yfDhq0opoxN2tYD5iqxgH9Tk60AIndRLIHxPYfK2ueoUjJd8jK9tB6Kv3ojpOAW 7bnvlc08e6UrRbei+dzTsbZTkoeQCA09qcEKw19mRVRfp31Fx8Fm2pSoFhQs5JCkdKLQ J2SlDvv89RLJXyB06cruZMO57/W9vCqJpW33nNCD/oIekZvVhxSClONkc6RolkfSC99v wgKIb8TprHsYSWqD3OZ7nG/lx7fIzRb5lHdWxLPvO9JUTdHtvBLRuH2ypxsOWOqzZ20j qi82RIwc8utL7WLB1gkY8PRTAQ0kHxkQZ3yY4wsV5KmD1iYJKfKsDOLIHmh9Fb63azam FhWA== X-Gm-Message-State: AOJu0YzDFWv1KmjakLX4gZWSHn8giWbPAoDiWKvL61TdTgsOmcGVTbzk dKpfsyhL/Zw50L1XvBiL0Jvo6QLiKoqX3/SM2TEvQGYgZxmx0vUQl2r4+ixendh76cDSR/lltrt 1 X-Google-Smtp-Source: AGHT+IGe4H1o9bHWu7zBwpckZPd8tO/hShT+fcCxeqpQH5QIfsBsVtGOimT9C4zZckiaTP8qKwJZ3w== X-Received: by 2002:a17:907:26c4:b0:a8d:3d36:3169 with SMTP id a640c23a62f3a-a991c0107d6mr16693966b.63.1727978388151; Thu, 03 Oct 2024 10:59:48 -0700 (PDT) From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH v2 17/19] xen: Update header guards - VM event, mem access, monitor Date: Thu, 3 Oct 2024 18:59:17 +0100 Message-Id: <20241003175919.472774-18-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241003175919.472774-1-frediano.ziglio@cloud.com> References: <20241003175919.472774-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1727979084556116600 Content-Type: text/plain; charset="utf-8" Updated headers related to VM event, mem access AND monitor. Signed-off-by: Frediano Ziglio --- xen/arch/x86/include/asm/hvm/monitor.h | 6 +++--- xen/arch/x86/include/asm/hvm/vm_event.h | 6 +++--- xen/arch/x86/include/asm/mem_access.h | 6 +++--- xen/arch/x86/include/asm/monitor.h | 6 +++--- xen/arch/x86/include/asm/vm_event.h | 6 +++--- xen/include/asm-generic/monitor.h | 6 +++--- xen/include/asm-generic/vm_event.h | 6 +++--- xen/include/public/vm_event.h | 6 +++--- xen/include/xen/mem_access.h | 6 +++--- xen/include/xen/monitor.h | 6 +++--- xen/include/xen/vm_event.h | 6 +++--- 11 files changed, 33 insertions(+), 33 deletions(-) diff --git a/xen/arch/x86/include/asm/hvm/monitor.h b/xen/arch/x86/include/= asm/hvm/monitor.h index 02021be47b..8ef90a1b03 100644 --- a/xen/arch/x86/include/asm/hvm/monitor.h +++ b/xen/arch/x86/include/asm/hvm/monitor.h @@ -5,8 +5,8 @@ * Arch-specific hardware virtual machine monitor abstractions. */ =20 -#ifndef __ASM_X86_HVM_MONITOR_H__ -#define __ASM_X86_HVM_MONITOR_H__ +#ifndef ASM__X86__HVM__MONITOR_H +#define ASM__X86__HVM__MONITOR_H =20 #include =20 @@ -46,7 +46,7 @@ int hvm_monitor_vmexit(unsigned long exit_reason, int hvm_monitor_io(unsigned int port, unsigned int bytes, bool in, bool str); =20 -#endif /* __ASM_X86_HVM_MONITOR_H__ */ +#endif /* ASM__X86__HVM__MONITOR_H */ =20 /* * Local variables: diff --git a/xen/arch/x86/include/asm/hvm/vm_event.h b/xen/arch/x86/include= /asm/hvm/vm_event.h index 506a85c774..c03df6f15e 100644 --- a/xen/arch/x86/include/asm/hvm/vm_event.h +++ b/xen/arch/x86/include/asm/hvm/vm_event.h @@ -5,12 +5,12 @@ * Hardware virtual machine vm_event abstractions. */ =20 -#ifndef __ASM_X86_HVM_VM_EVENT_H__ -#define __ASM_X86_HVM_VM_EVENT_H__ +#ifndef ASM__X86__HVM__VM_EVENT_H +#define ASM__X86__HVM__VM_EVENT_H =20 void hvm_vm_event_do_resume(struct vcpu *v); =20 -#endif /* __ASM_X86_HVM_VM_EVENT_H__ */ +#endif /* ASM__X86__HVM__VM_EVENT_H */ =20 /* * Local variables: diff --git a/xen/arch/x86/include/asm/mem_access.h b/xen/arch/x86/include/a= sm/mem_access.h index 1a52a10322..b774f2f8b6 100644 --- a/xen/arch/x86/include/asm/mem_access.h +++ b/xen/arch/x86/include/asm/mem_access.h @@ -11,8 +11,8 @@ * Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ =20 -#ifndef __ASM_X86_MEM_ACCESS_H__ -#define __ASM_X86_MEM_ACCESS_H__ +#ifndef ASM__X86__MEM_ACCESS_H +#define ASM__X86__MEM_ACCESS_H =20 /* * Setup vm_event request based on the access (gla is -1ull if not availab= le). @@ -44,7 +44,7 @@ int p2m_set_suppress_ve_multi(struct domain *d, int p2m_get_suppress_ve(struct domain *d, gfn_t gfn, bool *suppress_ve, unsigned int altp2m_idx); =20 -#endif /*__ASM_X86_MEM_ACCESS_H__ */ +#endif /*ASM__X86__MEM_ACCESS_H */ =20 /* * Local variables: diff --git a/xen/arch/x86/include/asm/monitor.h b/xen/arch/x86/include/asm/= monitor.h index 3c64d8258f..2d0dde5041 100644 --- a/xen/arch/x86/include/asm/monitor.h +++ b/xen/arch/x86/include/asm/monitor.h @@ -19,8 +19,8 @@ * License along with this program; If not, see . */ =20 -#ifndef __ASM_X86_MONITOR_H__ -#define __ASM_X86_MONITOR_H__ +#ifndef ASM__X86__MONITOR_H +#define ASM__X86__MONITOR_H =20 #include =20 @@ -126,4 +126,4 @@ static inline void arch_monitor_cleanup_domain(struct d= omain *d) {} bool monitored_msr(const struct domain *d, u32 msr); bool monitored_msr_onchangeonly(const struct domain *d, u32 msr); =20 -#endif /* __ASM_X86_MONITOR_H__ */ +#endif /* ASM__X86__MONITOR_H */ diff --git a/xen/arch/x86/include/asm/vm_event.h b/xen/arch/x86/include/asm= /vm_event.h index 46e77ed6d9..bac504ba70 100644 --- a/xen/arch/x86/include/asm/vm_event.h +++ b/xen/arch/x86/include/asm/vm_event.h @@ -5,8 +5,8 @@ * Copyright (c) 2015 Tamas K Lengyel (tamas@tklengyel.com) */ =20 -#ifndef __ASM_X86_VM_EVENT_H__ -#define __ASM_X86_VM_EVENT_H__ +#ifndef ASM__X86__VM_EVENT_H +#define ASM__X86__VM_EVENT_H =20 #include #include @@ -45,4 +45,4 @@ void vm_event_sync_event(struct vcpu *v, bool value); =20 void vm_event_reset_vmtrace(struct vcpu *v); =20 -#endif /* __ASM_X86_VM_EVENT_H__ */ +#endif /* ASM__X86__VM_EVENT_H */ diff --git a/xen/include/asm-generic/monitor.h b/xen/include/asm-generic/mo= nitor.h index 1ade289099..e53f0823cb 100644 --- a/xen/include/asm-generic/monitor.h +++ b/xen/include/asm-generic/monitor.h @@ -9,8 +9,8 @@ * */ =20 -#ifndef __ASM_GENERIC_MONITOR_H__ -#define __ASM_GENERIC_MONITOR_H__ +#ifndef ASM_GENERIC__MONITOR_H +#define ASM_GENERIC__MONITOR_H =20 #include #include @@ -52,7 +52,7 @@ void arch_monitor_cleanup_domain(struct domain *d) /* No arch-specific domain cleanup on GENERIC. */ } =20 -#endif /* __ASM_GENERIC_MONITOR_H__ */ +#endif /* ASM_GENERIC__MONITOR_H */ =20 /* * Local variables: diff --git a/xen/include/asm-generic/vm_event.h b/xen/include/asm-generic/v= m_event.h index 620c7b971c..ff538b6ba4 100644 --- a/xen/include/asm-generic/vm_event.h +++ b/xen/include/asm-generic/vm_event.h @@ -5,8 +5,8 @@ * Copyright (c) 2015 Tamas K Lengyel (tamas@tklengyel.com) */ =20 -#ifndef __ASM_GENERIC_VM_EVENT_H__ -#define __ASM_GENERIC_VM_EVENT_H__ +#ifndef ASM_GENERIC__VM_EVENT_H +#define ASM_GENERIC__VM_EVENT_H =20 #include #include @@ -52,4 +52,4 @@ void vm_event_reset_vmtrace(struct vcpu *v) /* Nothing to do. */ } =20 -#endif /* __ASM_GENERIC_VM_EVENT_H__ */ +#endif /* ASM_GENERIC__VM_EVENT_H */ diff --git a/xen/include/public/vm_event.h b/xen/include/public/vm_event.h index 3a86f0e208..6b861b06f0 100644 --- a/xen/include/public/vm_event.h +++ b/xen/include/public/vm_event.h @@ -7,8 +7,8 @@ * Copyright (c) 2009 by Citrix Systems, Inc. (Patrick Colp) */ =20 -#ifndef _XEN_PUBLIC_VM_EVENT_H -#define _XEN_PUBLIC_VM_EVENT_H +#ifndef PUBLIC__VM_EVENT_H +#define PUBLIC__VM_EVENT_H =20 #include "xen.h" =20 @@ -440,7 +440,7 @@ typedef struct vm_event_st { DEFINE_RING_TYPES(vm_event, vm_event_request_t, vm_event_response_t); =20 #endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ -#endif /* _XEN_PUBLIC_VM_EVENT_H */ +#endif /* PUBLIC__VM_EVENT_H */ =20 /* * Local variables: diff --git a/xen/include/xen/mem_access.h b/xen/include/xen/mem_access.h index 87d93b31f6..2d0e472934 100644 --- a/xen/include/xen/mem_access.h +++ b/xen/include/xen/mem_access.h @@ -19,8 +19,8 @@ * along with this program; If not, see . */ =20 -#ifndef _XEN_MEM_ACCESS_H -#define _XEN_MEM_ACCESS_H +#ifndef XEN__MEM_ACCESS_H +#define XEN__MEM_ACCESS_H =20 #include #include @@ -105,7 +105,7 @@ int mem_access_memop(unsigned long cmd, } #endif /* CONFIG_MEM_ACCESS */ =20 -#endif /* _XEN_MEM_ACCESS_H */ +#endif /* XEN__MEM_ACCESS_H */ =20 /* * Local variables: diff --git a/xen/include/xen/monitor.h b/xen/include/xen/monitor.h index 713d54f7c1..be301826c0 100644 --- a/xen/include/xen/monitor.h +++ b/xen/include/xen/monitor.h @@ -19,8 +19,8 @@ * License along with this program; If not, see . */ =20 -#ifndef __XEN_MONITOR_H__ -#define __XEN_MONITOR_H__ +#ifndef XEN__MONITOR_H +#define XEN__MONITOR_H =20 #include =20 @@ -32,4 +32,4 @@ void monitor_guest_request(void); =20 int monitor_traps(struct vcpu *v, bool sync, vm_event_request_t *req); =20 -#endif /* __XEN_MONITOR_H__ */ +#endif /* XEN__MONITOR_H */ diff --git a/xen/include/xen/vm_event.h b/xen/include/xen/vm_event.h index 9a86358b42..3f2cb6fba8 100644 --- a/xen/include/xen/vm_event.h +++ b/xen/include/xen/vm_event.h @@ -20,8 +20,8 @@ */ =20 =20 -#ifndef __VM_EVENT_H__ -#define __VM_EVENT_H__ +#ifndef XEN__VM_EVENT_H +#define XEN__VM_EVENT_H =20 #include #include @@ -98,7 +98,7 @@ void vm_event_set_registers(struct vcpu *v, vm_event_resp= onse_t *rsp); =20 void vm_event_monitor_next_interrupt(struct vcpu *v); =20 -#endif /* __VM_EVENT_H__ */ +#endif /* XEN__VM_EVENT_H */ =20 /* * Local variables: --=20 2.34.1