[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Delete xenbus_monitor.dll


  • To: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Tue, 28 Apr 2026 09:54:03 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/X6bCRLQsj+vP9Y/A5gGWgTt3xdHoJ7VVv4c3a9Zdik=; b=IYItXSowbezaJwCe14q0ItCjo+MeQtSMn7DJ65eWSvMk/ZbkdoHdx4FwNkbckmgi2CJEhycItnoHIDMPzOuEx9OkLg8ETJwi4RgFiocnADdxEV6eJPc3VW49pmRWd8zj1oa6WcaeIQGZdI6csgIo92wZLuGem79XXIiGH3Ax+4YO2qFAIm4n+CNVTT0dAs+L3ErPaUmjK3JhOExwp3F54RG3OklIymWnrAqfSVbpuS+bigZ1ImxR6vIbnPDpYVRYO22MEaKaNGSmAQg+OMuKU/M8Q0HQImTYtVC+LyGc0F5toi2V6f25iNAotPY+WfIYBn0ts8DnSNVcd9z8UDX4rA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=s5VZtNL2+pSf/CPSvhnFvwDqfUcyypuvk3MKyuifXRSVEZZiyuAmlaFCYb/bD4nfUNOkf7kWm5zr8BTFFQzIx2CyXl1TCAFjTZvbi0XJ7Mt/IDXsTdVwnKGz6ueU/oqhkyp4+0aySChXdF+yJltmuvtSGBSxj/dJMWuLh1lxzcq+UdG31xK/ueL1SbMFftN2a93Ew2+JySCYh0WDphUWih+UbkaRVzPIfX/cbYOvL761l1/2x1r5ZalZGoTLoArG2DD7y48shM6/37qfpHBsuJNnUjZIpGCp9tms3N2n87f/s/UeexCF/76nk3zwwYVQIlRn3OXrkfax+ir66z1Hag==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Tue, 28 Apr 2026 09:54:11 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHczAP7NI3Pmnq7sk+uN4uX9Cz4Q7X0SZcAgAAHyZk=
  • Thread-topic: [PATCH] Delete xenbus_monitor.dll

<SpectreMitigation>Spectre</SpectreMitigation> is not present in the current 
project files,
which makes the patch not apply.
I have modified the patch to remove these lines from the diff's context, and 
will apply
the patch

Reviewed-by: Owen Smith <owen.smith@xxxxxxxxxx>


________________________________________
From: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
Sent: 28 April 2026 10:24 AM
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Cc: Owen Smith
Subject: Re: [PATCH] Delete xenbus_monitor.dll

Hi,

Just a quick reminder for this patch.

Thanks,

On 14/04/2026 13:44, Tu Dinh wrote:
> Now that trace logging is used, the DLL is not needed any more. Remove
> it from the build and package.
>
> Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
> ---
>   src/monitor/messages.mc                      | 55 --------------------
>   src/monitor/monitor.c                        |  2 -
>   src/monitor/xenbus_monitor.rc                |  1 -
>   vs2019/xenbus_monitor/xenbus_monitor.vcxproj | 17 ------
>   vs2022/xenbus_monitor/xenbus_monitor.vcxproj | 12 -----
>   5 files changed, 87 deletions(-)
>   delete mode 100644 src/monitor/messages.mc
>
> diff --git a/src/monitor/messages.mc b/src/monitor/messages.mc
> deleted file mode 100644
> index eb1d382..0000000
> --- a/src/monitor/messages.mc
> +++ /dev/null
> @@ -1,55 +0,0 @@
> -; // Copyright (c) Xen Project.
> -; // Copyright (c) Cloud Software Group, Inc.
> -; // All rights reserved.
> -; //
> -; // Redistribution and use in source and binary forms,
> -; // with or without modification, are permitted provided
> -; // that the following conditions are met:
> -; //
> -; // *   Redistributions of source code must retain the above
> -; //     copyright notice, this list of conditions and the
> -; //     following disclaimer.
> -; // *   Redistributions in binary form must reproduce the above
> -; //     copyright notice, this list of conditions and the
> -; //     following disclaimer in the documentation and/or other
> -; //     materials provided with the distribution.
> -; //
> -; // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
> -; // CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
> -; // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
> -; // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> -; // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
> -; // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> -; // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> -; // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
> -; // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> -; // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
> -; // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
> -; // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> -; // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> -; // SUCH DAMAGE.
> -
> -MessageIdTypedef=DWORD
> -
> -SeverityNames=(
> -     Success=0x0:STATUS_SEVERITY_SUCCESS
> -     Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
> -     Warning=0x2:STATUS_SEVERITY_WARNING
> -     Error=0x3:STATUS_SEVERITY_ERROR
> -     )
> -
> -
> -FacilityNames=(
> -     System=0x0:FACILITY_SYSTEM
> -     Runtime=0x2:FACILITY_RUNTIME
> -     Stubs=0x3:FACILITY_STUBS
> -     Io=0x4:FACILITY_IO_ERROR_CODE
> -     )
> -
> -MessageId=0x1
> -Severity=Informational
> -Facility=System
> -SymbolicName=MONITOR_LOG
> -Language=English
> -%1
> -.
> diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
> index 9bfb1f6..904badd 100644
> --- a/src/monitor/monitor.c
> +++ b/src/monitor/monitor.c
> @@ -47,8 +47,6 @@
>
>   #include <version.h>
>
> -#include "messages.h"
> -
>   #define stringify_literal(_text) #_text
>   #define stringify(_text) stringify_literal(_text)
>   #define __MODULE__ stringify(PROJECT)
> diff --git a/src/monitor/xenbus_monitor.rc b/src/monitor/xenbus_monitor.rc
> index dc2fc19..e771dad 100644
> --- a/src/monitor/xenbus_monitor.rc
> +++ b/src/monitor/xenbus_monitor.rc
> @@ -54,4 +54,3 @@
>   #define VER_FILESUBTYPE                 VFT2_UNKNOWN
>
>   #include "common.ver"
> -#include "messages.rc"
> diff --git a/vs2019/xenbus_monitor/xenbus_monitor.vcxproj 
> b/vs2019/xenbus_monitor/xenbus_monitor.vcxproj
> index c9eef03..9b20fce 100644
> --- a/vs2019/xenbus_monitor/xenbus_monitor.vcxproj
> +++ b/vs2019/xenbus_monitor/xenbus_monitor.vcxproj
> @@ -18,9 +18,6 @@
>       <EnableInf2cat>false</EnableInf2cat>
>       <SpectreMitigation>Spectre</SpectreMitigation>
>     </PropertyGroup>
> -  <PropertyGroup>
> -    <CustomBuildAfterTargets>Link</CustomBuildAfterTargets>
> -  </PropertyGroup>
>     <ItemDefinitionGroup>
>       <ClCompile>
>         <AdditionalOptions>/ZH:SHA_256 
> %(AdditionalOptions)</AdditionalOptions>
> @@ -55,32 +52,18 @@
>       <ClCompile>
>         
> <PreprocessorDefinitions>__i386__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>       </ClCompile>
> -    <CustomBuildStep>
> -      <Outputs>$(TargetDir)$(TargetName).dll</Outputs>
> -      <Inputs>$(IntDir)$(TargetName).res</Inputs>
> -      <Command>link -machine:x86 -dll -noentry -out:%(Outputs) 
> %(Inputs)</Command>
> -    </CustomBuildStep>
>     </ItemDefinitionGroup>
>     <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
>       <ClCompile>
>         
> <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>       </ClCompile>
> -    <CustomBuildStep>
> -      <Outputs>$(TargetDir)$(TargetName).dll</Outputs>
> -      <Inputs>$(IntDir)$(TargetName).res</Inputs>
> -      <Command>link -machine:x64 -dll -noentry -out:%(Outputs) 
> %(Inputs)</Command>
> -    </CustomBuildStep>
>     </ItemDefinitionGroup>
>     <ItemGroup>
>       <FilesToPackage Include="$(TargetPath)" />
>       <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
>       <FilesToPackage Include="$(OutDir)$(TargetName).map" />
> -    <FilesToPackage Include="$(OutDir)$(TargetName).dll" />
>       <FilesToPackage Include="@(Inf->'%(CopyOutput)')" 
> Condition="'@(Inf)'!=''" />
>     </ItemGroup>
> -  <ItemGroup>
> -    <MessageCompile Include="..\..\src\monitor\messages.mc" />
> -  </ItemGroup>
>     <ItemGroup>
>       <ClCompile Include="..\..\src\monitor\monitor.c" />
>     </ItemGroup>
> diff --git a/vs2022/xenbus_monitor/xenbus_monitor.vcxproj 
> b/vs2022/xenbus_monitor/xenbus_monitor.vcxproj
> index 1d686df..7d30855 100644
> --- a/vs2022/xenbus_monitor/xenbus_monitor.vcxproj
> +++ b/vs2022/xenbus_monitor/xenbus_monitor.vcxproj
> @@ -18,9 +18,6 @@
>       <EnableInf2cat>false</EnableInf2cat>
>       <SpectreMitigation>Spectre</SpectreMitigation>
>     </PropertyGroup>
> -  <PropertyGroup>
> -    <CustomBuildAfterTargets>Link</CustomBuildAfterTargets>
> -  </PropertyGroup>
>     <ItemDefinitionGroup>
>       <ClCompile>
>         <AdditionalOptions>/ZH:SHA_256 
> %(AdditionalOptions)</AdditionalOptions>
> @@ -55,22 +52,13 @@
>       <ClCompile>
>         
> <PreprocessorDefinitions>__x86_64__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
>       </ClCompile>
> -    <CustomBuildStep>
> -      <Outputs>$(TargetDir)$(TargetName).dll</Outputs>
> -      <Inputs>$(IntDir)$(TargetName).res</Inputs>
> -      <Command>link -machine:x64 -dll -noentry -out:%(Outputs) 
> %(Inputs)</Command>
> -    </CustomBuildStep>
>     </ItemDefinitionGroup>
>     <ItemGroup>
>       <FilesToPackage Include="$(TargetPath)" />
>       <FilesToPackage Include="$(OutDir)$(TargetName).pdb" />
>       <FilesToPackage Include="$(OutDir)$(TargetName).map" />
> -    <FilesToPackage Include="$(OutDir)$(TargetName).dll" />
>       <FilesToPackage Include="@(Inf->'%(CopyOutput)')" 
> Condition="'@(Inf)'!=''" />
>     </ItemGroup>
> -  <ItemGroup>
> -    <MessageCompile Include="..\..\src\monitor\messages.mc" />
> -  </ItemGroup>
>     <ItemGroup>
>       <ClCompile Include="..\..\src\monitor\monitor.c" />
>     </ItemGroup>



--
Ngoc Tu Dinh | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.