From win-pv-devel-bounces@lists.xenproject.org Wed Mar 08 13:18:42 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Mar 2023 13:18:42 +0000
Received: from list by lists.xenproject.org with outflank-mailman.508016.782269 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZtgl-0007pJ-BF; Wed, 08 Mar 2023 13:18:39 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 508016.782269; Wed, 08 Mar 2023 13:18:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZtgl-0007pB-7w; Wed, 08 Mar 2023 13:18:39 +0000
Received: by outflank-mailman (input) for mailman id 508016;
 Wed, 08 Mar 2023 13:18:38 +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
 <SRS0=VSjt=7A=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1pZtgk-0007p5-Bj
 for win-pv-devel@lists.xenproject.org; Wed, 08 Mar 2023 13:18:38 +0000
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com
 [2a00:1450:4864:20::335])
 by se1-gles-flk1.inumbo.com (Halon) with ESMTPS
 id ba5a1df1-bdb3-11ed-956e-85ef70e17bfa;
 Wed, 08 Mar 2023 14:18:35 +0100 (CET)
Received: by mail-wm1-x335.google.com with SMTP id
 t25-20020a1c7719000000b003eb052cc5ccso1262982wmi.4
 for <win-pv-devel@lists.xenproject.org>; Wed, 08 Mar 2023 05:18:34 -0800 (PST)
Received: from [192.168.9.184] (54-240-197-235.amazon.com. [54.240.197.235])
 by smtp.gmail.com with ESMTPSA id
 w34-20020a05600c09a200b003e21f959453sm15820957wmp.32.2023.03.08.05.18.32
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 08 Mar 2023 05:18:33 -0800 (PST)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: ba5a1df1-bdb3-11ed-956e-85ef70e17bfa
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1678281514;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:cc:to:content-language:subject:user-agent:mime-version
         :date:message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=YbM26+BruYmr2r/7f0C7FZEWWN3WFPl/xBDyOeZj1lI=;
        b=qrCtVcHAagLXMVpsGVCKKUR4Nt2HpFTPyED12xESlcWX0zKOzncdDHmNbLt/ndaZ2V
         U25nsW4tpXBruuIjgwzVDTDerMJncJQYC6Dx8ZBw3k2VPsEWw0ZbWGeiJOaw3hI41Ag1
         s8U7hpXIH2L5OWRQ+1Lmhp11aEsED+C/NfMmxqzkw4o1eT+FhoZV2K+Oq/GH8yV1D+dN
         p0WjtVqoksj3Mgw/XKydlOIa/QVQiG5ovWmp4RgkD4e9j35wXRVfWxolSHk5/wRxXWHQ
         2U/XLLSg7h+CPWI7tlRzptYW7DIAoTmZyUIYwj/ziWiuT0DI6WDAdnZH/n5yck/ltwn2
         ZmMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1678281514;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:cc:to:content-language:subject:user-agent:mime-version
         :date:message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=YbM26+BruYmr2r/7f0C7FZEWWN3WFPl/xBDyOeZj1lI=;
        b=E0cKTI6jxylOYUyo/IBSZK6Jsoy82RBUT4D37w9N2wWokDdxhx9UYqcrUmbpSoAWEq
         /0Evl8G5EVx5b2k1o/x6gN86iRaywhbuz9OzH+2RT9EQ8WFdqDBPx5Xaq2y5YKVS+Lsr
         gcO4Vx2LvaXPzzl6q1CGkAqU4FcryWHQ9GSt+wziFlOj3alGpQXObRxQ15xDBbCi1Kdy
         m5tGArpfkjzbjh7eVK+kuNw8EGL/QXXFzSS0vOc/xEzPiXaIZP/FT6l4UxnCQ+yh7ml3
         7nMJHrtzKXdVIq/5fQWUAvKF3gtctgBdv/EWk61d3CnmDa9HwjVvwBX4KjZeW1bsNDS+
         GNVA==
X-Gm-Message-State: AO0yUKWH3x4eV8YyD3CSgdy3h16BMHOHco2+Lo2LhKUQ/HTrWXOdUImR
	OlsKiDsZkLrn7G20af/K5co=
X-Google-Smtp-Source: AK7set/IybbEaz3Zba8CDM83nsBGa3wZ7Ar3tA9gFxw90V/q9kMH0ndAw7B2b2FAezrO295ByyTBRw==
X-Received: by 2002:a05:600c:46c6:b0:3e2:1368:e395 with SMTP id q6-20020a05600c46c600b003e21368e395mr16247321wmo.33.1678281513422;
        Wed, 08 Mar 2023 05:18:33 -0800 (PST)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <3cfa3a1c-7ff9-5bc5-d2ca-e6d42bbe25b2@xen.org>
Date: Wed, 8 Mar 2023 13:18:32 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: [PATCH 0/3][XenVif] Change Copyright statement
Content-Language: en-US
To: Owen Smith <owen.smith@cloud.com>, win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@citrix.com>
References: <20230223095242.1827-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230223095242.1827-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 23/02/2023 09:52, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
> the copyright notices in all source files should be updated. This patch
> series includes some minor functional changes to allow setting a particular
> copyright string in the embedded resources, and a scripted change to
> source files.
> 
> Powershell script that was used to generate the source file copyright changes:
> 
> Function Multiline-Replace {
>      param(
>          [string]$Filename,
>          [string]$ToReplace,
>          [array]$ReplaceWith
>      )
> 
>      $content = Get-Content $Filename
>      $replace = $false
>      $output = ""
>      $content | ForEach {
>          $line = $_
>          if ($line.Contains($ToReplace)) {
>              $replace = $true
>              $ReplaceWith | ForEach {
>                  $output += $line.Replace($ToReplace, $_) + "`n"
>              }
>          } else {
>              $output += $line + "`n"
>          }
>      }
>      if ($replace) {
>          Write-Host "Replacing: " $Filename
>          $output | Set-Content $Filename
>      } else {
>          Write-Host "Ignoring:  " $Filename
>      }
> }
> 
> Function Replace-Filestrings {
>      param(
>          [array]$FilleTypes,
>          [string]$ToReplace,
>          [array]$Replacements,
>          [array]$ExcludeList
>      )
> 
>      $FileTypes | ForEach {
>          Get-ChildItem $_ -Recurse | ForEach-Object {
>              $filename = $_
>              if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
>                  Write-Host "Excluding: " $filename
>              } else {
>                  Multiline-Replace $_ $ToReplace $Replacements
>              }
>          }
>      }
> }
> 
> $ExcludeList = @("*include\xen\*", "*\obj\*")
> $Replace = "Copyright (c) Citrix Systems Inc."
> 
> $Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.c", "*.h", "*.rc")
> Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.mc")
> Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.inf", "*.def")
> Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("LICENSE")
> Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList
> 
> Owen Smith (3):
>    [XenVif] Allow rebranding file copyright string
>    [XenVif] Add resource file to coinstaller
>    [XenVif] Scripted replacement of Copyright notices in source
> 
>   LICENSE                                    |  4 +-
>   build.ps1                                  |  4 ++
>   include/cache_interface.h                  |  4 +-
>   include/debug_interface.h                  |  4 +-
>   include/ethernet.h                         |  4 +-
>   include/evtchn_interface.h                 |  4 +-
>   include/gnttab_interface.h                 |  4 +-
>   include/ipx.h                              |  4 +-
>   include/llc.h                              |  4 +-
>   include/range_set_interface.h              |  4 +-
>   include/revision.h                         |  4 +-
>   include/store_interface.h                  |  4 +-
>   include/suspend_interface.h                |  4 +-
>   include/tcpip.h                            |  4 +-
>   include/unplug_interface.h                 |  4 +-
>   include/version.tmpl                       |  1 +
>   include/vif_interface.h                    |  4 +-
>   include/xen-types.h                        |  4 +-
>   include/xen-version.h                      |  4 +-
>   include/xen-warnings.h                     |  4 +-
>   include/xen.h                              |  4 +-
>   scripts/genfiles.ps1                       |  1 +
>   src/coinst/coinst.c                        |  4 +-
>   src/coinst/xenvif_coinst.def               |  4 +-
>   src/coinst/xenvif_coinst.rc                | 58 ++++++++++++++++++++++
>   src/xenvif.inf                             |  4 +-
>   src/xenvif/assert.h                        |  4 +-
>   src/xenvif/bus.c                           |  4 +-
>   src/xenvif/bus.h                           |  4 +-
>   src/xenvif/checksum.c                      |  4 +-
>   src/xenvif/checksum.h                      |  4 +-
>   src/xenvif/controller.c                    |  4 +-
>   src/xenvif/controller.h                    |  4 +-
>   src/xenvif/dbg_print.h                     |  4 +-
>   src/xenvif/driver.c                        |  4 +-
>   src/xenvif/driver.h                        |  4 +-
>   src/xenvif/fdo.c                           |  4 +-
>   src/xenvif/fdo.h                           |  4 +-
>   src/xenvif/frontend.c                      |  4 +-
>   src/xenvif/frontend.h                      |  4 +-
>   src/xenvif/link.c                          |  4 +-
>   src/xenvif/link.h                          |  4 +-
>   src/xenvif/mac.c                           |  4 +-
>   src/xenvif/mac.h                           |  4 +-
>   src/xenvif/mrsw.h                          |  4 +-
>   src/xenvif/mutex.h                         |  4 +-
>   src/xenvif/names.h                         |  4 +-
>   src/xenvif/parse.c                         |  4 +-
>   src/xenvif/parse.h                         |  4 +-
>   src/xenvif/pdo.c                           |  4 +-
>   src/xenvif/pdo.h                           |  4 +-
>   src/xenvif/receiver.c                      |  4 +-
>   src/xenvif/receiver.h                      |  4 +-
>   src/xenvif/registry.c                      |  4 +-
>   src/xenvif/registry.h                      |  4 +-
>   src/xenvif/settings.c                      |  4 +-
>   src/xenvif/settings.h                      |  4 +-
>   src/xenvif/thread.c                        |  4 +-
>   src/xenvif/thread.h                        |  4 +-
>   src/xenvif/transmitter.c                   |  4 +-
>   src/xenvif/transmitter.h                   |  4 +-
>   src/xenvif/types.h                         |  4 +-
>   src/xenvif/util.h                          |  4 +-
>   src/xenvif/vif.c                           |  4 +-
>   src/xenvif/vif.h                           |  4 +-
>   src/xenvif/xenvif.rc                       |  6 ++-
>   vs2015/xenvif_coinst/xenvif_coinst.vcxproj |  6 +++
>   vs2017/xenvif_coinst/xenvif_coinst.vcxproj |  6 +++
>   vs2019/xenvif_coinst/xenvif_coinst.vcxproj |  6 +++
>   vs2022/xenvif_coinst/xenvif_coinst.vcxproj |  6 +++
>   70 files changed, 275 insertions(+), 63 deletions(-)
>   create mode 100644 src/coinst/xenvif_coinst.rc
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>


From win-pv-devel-bounces@lists.xenproject.org Wed Mar 08 13:18:53 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Mar 2023 13:18:53 +0000
Received: from list by lists.xenproject.org with outflank-mailman.508017.782272 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZtgz-0007rt-CU; Wed, 08 Mar 2023 13:18:53 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 508017.782272; Wed, 08 Mar 2023 13:18:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZtgz-0007rm-9s; Wed, 08 Mar 2023 13:18:53 +0000
Received: by outflank-mailman (input) for mailman id 508017;
 Wed, 08 Mar 2023 13:18:51 +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
 <SRS0=VSjt=7A=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1pZtgx-0007rN-UN
 for win-pv-devel@lists.xenproject.org; Wed, 08 Mar 2023 13:18:51 +0000
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com
 [2a00:1450:4864:20::42a])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id c2ff97b4-bdb3-11ed-87f5-c1b5be75604c;
 Wed, 08 Mar 2023 14:18:50 +0100 (CET)
Received: by mail-wr1-x42a.google.com with SMTP id l1so15291718wry.12
 for <win-pv-devel@lists.xenproject.org>; Wed, 08 Mar 2023 05:18:48 -0800 (PST)
Received: from [192.168.9.184] (54-240-197-235.amazon.com. [54.240.197.235])
 by smtp.gmail.com with ESMTPSA id
 m16-20020a056000009000b002be099f78c0sm15286345wrx.69.2023.03.08.05.18.47
 for <win-pv-devel@lists.xenproject.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 08 Mar 2023 05:18:47 -0800 (PST)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: c2ff97b4-bdb3-11ed-87f5-c1b5be75604c
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1678281528;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=84jWF1OGXYM0bpj7nZH0wb3OUcq5O13IZSOOApW1WzE=;
        b=ojClvFaL4k1UooQjyMzdu9pUR9TbjKO2h5+JUlX428KTNRixgIhYgnmwDu/05SqNCr
         C2R56TEInCCmqinzafqYMItCTGXLyrUvMSRQqwI284Lp2cljT+RMOcS+D5dvSgHuwxij
         OcJ5HUUlxgqLJ2El8QGh7eEp4yFXbKA+QMONvzFWV32bx8NTbAwszxaFw7FgL9Uso40s
         Q7Lrzk2/GqgPxk24tnOhfC1e20xSs5WJ8gTMzMtcuIgjiLyrbB3kxQ3ojVly3ROYUVYy
         zHGX883g0hnsqHw8Gt7lszf2f8vwDRJLkFoLiW71mLYJ0K0EnRECRsV5dRnaA928LNV/
         zqrw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1678281528;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=84jWF1OGXYM0bpj7nZH0wb3OUcq5O13IZSOOApW1WzE=;
        b=FekAt2v4O/yBUykQ1pv1DVGTLM4gTfmk1d+e3QNIaoMkM+PGeU0PvL5T0DEhqza5WN
         /nEmnn+u3hZj3oAcT9tTzIkLjF6WCbo0WMb6uZ4XJQHqWFxWAkkvBcrFu3019geV8c4a
         N4GrEG/yn8XsMtJQqHL8QEn2l5HBeIcAYn5+LPoUod/MaxmgxiGuuGatIY/nc7D51S/Z
         zJ+ftbtAv+u6DYb2lvWj+l+zp5CIhnEdeehoCLjcHy6PenOAhIl9GnVCrYOqTGVarme5
         LU3BK2dJSaEZZ5DA8yhL32ov95P8EeHI0itzheDukGMPg7017l3guNSwFrPm/NxwPors
         KJdg==
X-Gm-Message-State: AO0yUKWi+BjI6awtLVvBncCBDVDBxHQdprxkXH9K66kXZw7xS9abjXYC
	/WPumdhEDnaJOdvUuPilnkBweu0OS+6KYQ==
X-Google-Smtp-Source: AK7set+vgc3laABpyCeJOHTU/kfhRnUWdy4cplTYEn7Sfis93YFRPqeBW3RpJWl2jI4g0+Z/f6jhCw==
X-Received: by 2002:adf:fe44:0:b0:2c7:bbe:456c with SMTP id m4-20020adffe44000000b002c70bbe456cmr10099966wrs.63.1678281528107;
        Wed, 08 Mar 2023 05:18:48 -0800 (PST)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <1f3d8e8f-34e3-e930-03d7-5149070eb41b@xen.org>
Date: Wed, 8 Mar 2023 13:18:47 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: [PATCH 0/3][XenVbd] Change Copyright statement
Content-Language: en-US
To: win-pv-devel@lists.xenproject.org
References: <20230223095130.1015-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230223095130.1015-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 23/02/2023 09:51, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
> the copyright notices in all source files should be updated. This patch
> series includes some minor functional changes to allow setting a particular
> copyright string in the embedded resources, and a scripted change to
> source files.
> 
> Powershell script that was used to generate the source file copyright changes:
> 
> Function Multiline-Replace {
>      param(
>          [string]$Filename,
>          [string]$ToReplace,
>          [array]$ReplaceWith
>      )
> 
>      $content = Get-Content $Filename
>      $replace = $false
>      $output = ""
>      $content | ForEach {
>          $line = $_
>          if ($line.Contains($ToReplace)) {
>              $replace = $true
>              $ReplaceWith | ForEach {
>                  $output += $line.Replace($ToReplace, $_) + "`n"
>              }
>          } else {
>              $output += $line + "`n"
>          }
>      }
>      if ($replace) {
>          Write-Host "Replacing: " $Filename
>          $output | Set-Content $Filename
>      } else {
>          Write-Host "Ignoring:  " $Filename
>      }
> }
> 
> Function Replace-Filestrings {
>      param(
>          [array]$FilleTypes,
>          [string]$ToReplace,
>          [array]$Replacements,
>          [array]$ExcludeList
>      )
> 
>      $FileTypes | ForEach {
>          Get-ChildItem $_ -Recurse | ForEach-Object {
>              $filename = $_
>              if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
>                  Write-Host "Excluding: " $filename
>              } else {
>                  Multiline-Replace $_ $ToReplace $Replacements
>              }
>          }
>      }
> }
> 
> $ExcludeList = @("*include\xen\*", "*\obj\*")
> $Replace = "Copyright (c) Citrix Systems Inc."
> 
> $Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.c", "*.h", "*.rc")
> Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.mc")
> Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.inf", "*.def")
> Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("LICENSE")
> Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList
> 
> Owen Smith (3):
>    [XenVbd] Allow rebranding file copyright string
>    [XenVbd] Add resource file to coinstaller
>    [XenVbd] Scripted replacement of Copyright notices in source
> 
>   LICENSE                                    |  4 +-
>   build.ps1                                  |  4 ++
>   include/cache_interface.h                  |  4 +-
>   include/debug_interface.h                  |  4 +-
>   include/emulated_interface.h               |  4 +-
>   include/evtchn_interface.h                 |  4 +-
>   include/gnttab_interface.h                 |  4 +-
>   include/names.h                            |  6 ++-
>   include/store_interface.h                  |  4 +-
>   include/suspend_interface.h                |  4 +-
>   include/unplug_interface.h                 |  4 +-
>   include/version.tmpl                       |  1 +
>   include/xen-errno.h                        |  4 +-
>   include/xen-types.h                        |  4 +-
>   include/xen-version.h                      |  4 +-
>   include/xen-warnings.h                     |  4 +-
>   include/xen.h                              |  4 +-
>   include/xencdb.h                           |  4 +-
>   include/xencrsh_interface.h                |  4 +-
>   include/xenvbd-ntstrsafe.h                 |  4 +-
>   include/xenvbd-storport.h                  |  4 +-
>   scripts/genfiles.ps1                       |  1 +
>   src/coinst/coinst.c                        |  4 +-
>   src/coinst/xenvbd_coinst.def               |  4 +-
>   src/coinst/xenvbd_coinst.rc                | 58 ++++++++++++++++++++++
>   src/common/util.h                          |  4 +-
>   src/xencrsh/assert.h                       |  4 +-
>   src/xencrsh/austere.c                      |  4 +-
>   src/xencrsh/austere.h                      |  4 +-
>   src/xencrsh/buffer.c                       |  4 +-
>   src/xencrsh/buffer.h                       |  4 +-
>   src/xencrsh/driver.c                       |  4 +-
>   src/xencrsh/driver.h                       |  4 +-
>   src/xencrsh/evtchn.c                       |  4 +-
>   src/xencrsh/evtchn.h                       |  4 +-
>   src/xencrsh/fdo.c                          |  4 +-
>   src/xencrsh/fdo.h                          |  4 +-
>   src/xencrsh/frontend.c                     |  4 +-
>   src/xencrsh/frontend.h                     |  4 +-
>   src/xencrsh/gnttab.c                       |  4 +-
>   src/xencrsh/gnttab.h                       |  4 +-
>   src/xencrsh/hvm.c                          |  4 +-
>   src/xencrsh/hvm.h                          |  4 +-
>   src/xencrsh/hypercall.h                    |  4 +-
>   src/xencrsh/hypercall_stub.c               |  4 +-
>   src/xencrsh/log.c                          |  4 +-
>   src/xencrsh/log.h                          |  4 +-
>   src/xencrsh/pdo.c                          |  4 +-
>   src/xencrsh/pdo.h                          |  4 +-
>   src/xencrsh/pdoinquiry.c                   |  4 +-
>   src/xencrsh/pdoinquiry.h                   |  4 +-
>   src/xencrsh/queue.c                        |  4 +-
>   src/xencrsh/queue.h                        |  4 +-
>   src/xencrsh/ring.h                         |  4 +-
>   src/xencrsh/srbext.h                       |  4 +-
>   src/xencrsh/store.c                        |  4 +-
>   src/xencrsh/store.h                        |  4 +-
>   src/xencrsh/xencrsh.def                    |  4 +-
>   src/xencrsh/xencrsh.rc                     |  6 ++-
>   src/xendisk/assert.h                       |  4 +-
>   src/xendisk/debug.h                        |  4 +-
>   src/xendisk/driver.c                       |  4 +-
>   src/xendisk/driver.h                       |  4 +-
>   src/xendisk/fdo.c                          |  4 +-
>   src/xendisk/fdo.h                          |  4 +-
>   src/xendisk/mutex.h                        |  4 +-
>   src/xendisk/pdo.c                          |  4 +-
>   src/xendisk/pdo.h                          |  4 +-
>   src/xendisk/registry.c                     |  4 +-
>   src/xendisk/registry.h                     |  4 +-
>   src/xendisk/thread.c                       |  4 +-
>   src/xendisk/thread.h                       |  4 +-
>   src/xendisk/types.h                        |  4 +-
>   src/xendisk/xendisk.rc                     |  6 ++-
>   src/xenvbd.inf                             |  4 +-
>   src/xenvbd/adapter.c                       |  4 +-
>   src/xenvbd/adapter.h                       |  4 +-
>   src/xenvbd/assert.h                        |  4 +-
>   src/xenvbd/base64.c                        |  4 +-
>   src/xenvbd/base64.h                        |  4 +-
>   src/xenvbd/debug.h                         |  4 +-
>   src/xenvbd/driver.c                        |  4 +-
>   src/xenvbd/driver.h                        |  4 +-
>   src/xenvbd/frontend.c                      |  4 +-
>   src/xenvbd/frontend.h                      |  4 +-
>   src/xenvbd/granter.c                       |  4 +-
>   src/xenvbd/granter.h                       |  4 +-
>   src/xenvbd/registry.c                      |  4 +-
>   src/xenvbd/registry.h                      |  4 +-
>   src/xenvbd/ring.c                          |  4 +-
>   src/xenvbd/ring.h                          |  4 +-
>   src/xenvbd/srbext.h                        |  4 +-
>   src/xenvbd/target.c                        |  4 +-
>   src/xenvbd/target.h                        |  4 +-
>   src/xenvbd/thread.c                        |  4 +-
>   src/xenvbd/thread.h                        |  4 +-
>   src/xenvbd/types.h                         |  4 +-
>   src/xenvbd/xenvbd.rc                       |  6 ++-
>   vs2015/xenvbd_coinst/xenvbd_coinst.vcxproj |  3 ++
>   vs2017/xenvbd_coinst/xenvbd_coinst.vcxproj |  3 ++
>   vs2019/xenvbd_coinst/xenvbd_coinst.vcxproj |  3 ++
>   vs2022/xenvbd_coinst/xenvbd_coinst.vcxproj |  3 ++
>   102 files changed, 362 insertions(+), 98 deletions(-)
>   create mode 100644 src/coinst/xenvbd_coinst.rc
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>


From win-pv-devel-bounces@lists.xenproject.org Wed Mar 08 13:19:04 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Mar 2023 13:19:04 +0000
Received: from list by lists.xenproject.org with outflank-mailman.508021.782277 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthA-00084u-El; Wed, 08 Mar 2023 13:19:04 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 508021.782277; Wed, 08 Mar 2023 13:19:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthA-00084n-Bk; Wed, 08 Mar 2023 13:19:04 +0000
Received: by outflank-mailman (input) for mailman id 508021;
 Wed, 08 Mar 2023 13:19:03 +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
 <SRS0=VSjt=7A=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1pZth9-0007p5-GF
 for win-pv-devel@lists.xenproject.org; Wed, 08 Mar 2023 13:19:03 +0000
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com
 [2a00:1450:4864:20::336])
 by se1-gles-flk1.inumbo.com (Halon) with ESMTPS
 id cabf35df-bdb3-11ed-956e-85ef70e17bfa;
 Wed, 08 Mar 2023 14:19:01 +0100 (CET)
Received: by mail-wm1-x336.google.com with SMTP id
 o38-20020a05600c512600b003e8320d1c11so2051898wms.1
 for <win-pv-devel@lists.xenproject.org>; Wed, 08 Mar 2023 05:19:01 -0800 (PST)
Received: from [192.168.9.184] (54-240-197-235.amazon.com. [54.240.197.235])
 by smtp.gmail.com with ESMTPSA id
 o10-20020a1c750a000000b003e00c453447sm19156122wmc.48.2023.03.08.05.19.00
 for <win-pv-devel@lists.xenproject.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 08 Mar 2023 05:19:00 -0800 (PST)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: cabf35df-bdb3-11ed-956e-85ef70e17bfa
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1678281541;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=VuutZxoUbySSLamjpWoxBrzdkY6ZzDRNoYdTrUT2XDU=;
        b=E1Y5TxWLk9Xb8lxRJYsw1aZgjGq/4cuiBpx/7U909Pn7vngCHbJK5y3XbooDctPCWX
         B86gL58UJGb212vAYtXkA6Yj1hEjJAMC2g4GE0wDg4wp6Ghk6uPZ6902sAOLGfONLM7/
         0Qapsglw/HNd5Y+WgXPjNCq0/qAIvtUAZJOEiOpLrHdDWjdpQffavE8I3Mr2ld/gQOTU
         j2yBJPojx1CqNn0liILKIfaXiyRS/LQKCEuK/LaMSlvvUnJGirkvLRA64a5GWz8i8J7L
         wK2RA9IzMrrU7Y8PBzZHW43BYOtEGoDIaZTvyJYToqQL/qAS7pW8Cg+yWPKLe/8/6U4e
         U3qQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1678281541;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=VuutZxoUbySSLamjpWoxBrzdkY6ZzDRNoYdTrUT2XDU=;
        b=SRRQ3tvnfsaFOPay09Lg99TjGdoJUJEkX6uOOmLituO1OpH/X3Of3cHcA9xImEmVMT
         FZv0WHyQxfCV5eV66vXfU9Y2QcqC7cLGqqYO1mmgyHr4fQY6sAP2uZ7c/aKXd18cLaLS
         rXrVDGlmcvmwVbkV3Fqq+V7wvgAWF3hmfxCmZ8dg9WgJ4niZcInDt4r7jLe8+XaeTR5e
         LTUdsTVqEbRurS1qIG7xdFr11jSCsCsxdYy2Dquq4kesrAi49ITGtTJLqm9vahOa/gG6
         /5+z095aCibEIcFxJivRkAPdWbVwege3i8/bYf+7TCo/NR+isZM8YJv38uU6gLleqLe0
         IxoQ==
X-Gm-Message-State: AO0yUKXkVMKUZnkv2fz7/JIUgy+bvCEtNTsve+6/kCNvzLl/3lVZVZqW
	A22lr0nl1JB/w2d1mL88F8b+mdvFvZLKTA==
X-Google-Smtp-Source: AK7set/8jTqSClFz75v8o2pe22z+pXkjDbrGxu/TUSXqkw3jb+ASWwhcvg2zt4A4BO+paj+9C1ZNeA==
X-Received: by 2002:a05:600c:c11:b0:3df:d431:cf64 with SMTP id fm17-20020a05600c0c1100b003dfd431cf64mr16541733wmb.39.1678281541296;
        Wed, 08 Mar 2023 05:19:01 -0800 (PST)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <f9140e10-0f58-4ac2-ae62-20fe00b2f164@xen.org>
Date: Wed, 8 Mar 2023 13:19:00 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: [PATCH 0/3][XenNet] Change Copyright statement
Content-Language: en-US
To: win-pv-devel@lists.xenproject.org
References: <20230223095043.429-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230223095043.429-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 23/02/2023 09:50, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
> the copyright notices in all source files should be updated. This patch
> series includes some minor functional changes to allow setting a particular
> copyright string in the embedded resources, and a scripted change to
> source files.
> 
> Powershell script that was used to generate the source file copyright changes:
> 
> Function Multiline-Replace {
>      param(
>          [string]$Filename,
>          [string]$ToReplace,
>          [array]$ReplaceWith
>      )
> 
>      $content = Get-Content $Filename
>      $replace = $false
>      $output = ""
>      $content | ForEach {
>          $line = $_
>          if ($line.Contains($ToReplace)) {
>              $replace = $true
>              $ReplaceWith | ForEach {
>                  $output += $line.Replace($ToReplace, $_) + "`n"
>              }
>          } else {
>              $output += $line + "`n"
>          }
>      }
>      if ($replace) {
>          Write-Host "Replacing: " $Filename
>          $output | Set-Content $Filename
>      } else {
>          Write-Host "Ignoring:  " $Filename
>      }
> }
> 
> Function Replace-Filestrings {
>      param(
>          [array]$FilleTypes,
>          [string]$ToReplace,
>          [array]$Replacements,
>          [array]$ExcludeList
>      )
> 
>      $FileTypes | ForEach {
>          Get-ChildItem $_ -Recurse | ForEach-Object {
>              $filename = $_
>              if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
>                  Write-Host "Excluding: " $filename
>              } else {
>                  Multiline-Replace $_ $ToReplace $Replacements
>              }
>          }
>      }
> }
> 
> $ExcludeList = @("*include\xen\*", "*\obj\*")
> $Replace = "Copyright (c) Citrix Systems Inc."
> 
> $Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.c", "*.h", "*.rc")
> Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.mc")
> Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.inf", "*.def")
> Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("LICENSE")
> Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList
> 
> Owen Smith (3):
>    [XenNet] Allow rebranding file copyright string
>    [XenNet] Add resource file to coinstaller
>    [XenNet] Scripted replacement of Copyright notices in source
> 
>   LICENSE                                    |  4 +-
>   build.ps1                                  |  4 ++
>   include/ethernet.h                         |  4 +-
>   include/store_interface.h                  |  4 +-
>   include/suspend_interface.h                |  4 +-
>   include/tcpip.h                            |  4 +-
>   include/version.tmpl                       |  1 +
>   include/vif_interface.h                    |  4 +-
>   include/xen-types.h                        |  4 +-
>   include/xen-version.h                      |  4 +-
>   include/xen-warnings.h                     |  4 +-
>   include/xen.h                              |  4 +-
>   scripts/genfiles.ps1                       |  1 +
>   src/coinst/coinst.c                        |  4 +-
>   src/coinst/xennet_coinst.def               |  4 +-
>   src/coinst/xennet_coinst.rc                | 58 ++++++++++++++++++++++
>   src/xennet.inf                             |  4 +-
>   src/xennet/adapter.c                       |  4 +-
>   src/xennet/adapter.h                       |  4 +-
>   src/xennet/assert.h                        |  4 +-
>   src/xennet/dbg_print.h                     |  4 +-
>   src/xennet/driver.c                        |  4 +-
>   src/xennet/driver.h                        |  4 +-
>   src/xennet/miniport.c                      |  4 +-
>   src/xennet/miniport.h                      |  4 +-
>   src/xennet/receiver.c                      |  4 +-
>   src/xennet/receiver.h                      |  4 +-
>   src/xennet/string.c                        |  4 +-
>   src/xennet/string.h                        |  4 +-
>   src/xennet/transmitter.c                   |  4 +-
>   src/xennet/transmitter.h                   |  4 +-
>   src/xennet/util.h                          |  4 +-
>   src/xennet/xennet.rc                       |  6 ++-
>   vs2015/xennet_coinst/xennet_coinst.vcxproj |  6 +++
>   vs2017/xennet_coinst/xennet_coinst.vcxproj |  6 +++
>   vs2019/xennet_coinst/xennet_coinst.vcxproj |  6 +++
>   vs2022/xennet_coinst/xennet_coinst.vcxproj |  6 +++
>   37 files changed, 176 insertions(+), 30 deletions(-)
>   create mode 100644 src/coinst/xennet_coinst.rc
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>


From win-pv-devel-bounces@lists.xenproject.org Wed Mar 08 13:19:18 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Mar 2023 13:19:18 +0000
Received: from list by lists.xenproject.org with outflank-mailman.508029.782280 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthO-0008CA-HX; Wed, 08 Mar 2023 13:19:18 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 508029.782280; Wed, 08 Mar 2023 13:19:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthO-0008C3-Ey; Wed, 08 Mar 2023 13:19:18 +0000
Received: by outflank-mailman (input) for mailman id 508029;
 Wed, 08 Mar 2023 13:19:17 +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
 <SRS0=VSjt=7A=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1pZthN-0007rN-GB
 for win-pv-devel@lists.xenproject.org; Wed, 08 Mar 2023 13:19:17 +0000
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com
 [2a00:1450:4864:20::329])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id d39fa31f-bdb3-11ed-87f5-c1b5be75604c;
 Wed, 08 Mar 2023 14:19:16 +0100 (CET)
Received: by mail-wm1-x329.google.com with SMTP id
 bg16-20020a05600c3c9000b003eb34e21bdfso1292409wmb.0
 for <win-pv-devel@lists.xenproject.org>; Wed, 08 Mar 2023 05:19:16 -0800 (PST)
Received: from [192.168.9.184] (54-240-197-227.amazon.com. [54.240.197.227])
 by smtp.gmail.com with ESMTPSA id
 f5-20020a7bc8c5000000b003e896d953a8sm19913897wml.17.2023.03.08.05.19.15
 for <win-pv-devel@lists.xenproject.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 08 Mar 2023 05:19:15 -0800 (PST)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d39fa31f-bdb3-11ed-87f5-c1b5be75604c
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1678281556;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=lNNA1wJhBTOaQ9FlhQI0MdhLYIeBwlPGB1wzic4Tio4=;
        b=PJ6gorApMX5EarBy3acLPpxmQ0T+2g2YBfrYXjmSxXDNanUEWBIEmLYPnv7zCIPgPg
         ILVXfQRM8Sj36zxKACAJW4WyFLuyRzN6wXOwo/4+JtpO8PDSxfqwFQeIbSNAAcT75Ast
         ZJADxdExOIla3m8vRCTyUY+EU8jI4CIrvkDbHWdeuVZtSEcRhUONh1Y39PbCGo/+4sKK
         JKKNcZeF8EA9SpfLks7Kb7PC6vHtpRDeXbmc+X2AJU/IPMlqGCCF5xznYnLiNVVhgTvQ
         g+c8J93vPq1oeAfYVZ+1jqfSG1/Qu2kK6vDc8tHkV1YRs3Yc1M2QTezPew45425b4Fgt
         ofQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1678281556;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=lNNA1wJhBTOaQ9FlhQI0MdhLYIeBwlPGB1wzic4Tio4=;
        b=bYl0GIxrv1TLbP6xhnnmnYFoAAUC/nKImgZU/3Z5QU8GdCiSWWD1baoNMaT3I7pXNB
         clYIcOU7DyuwviHS7WOOnmgzzCCVcHDv0M0D/FG0HwcjUUKaWzbMfONLdzT9Fan1QgBW
         7KX/5XD+Z9a3IR4FNxZUORWZDHY4Nn3dm2SML9Rhy5ct8T1M6SFyT/W2+xSjDIwdpiBB
         wx4wyfwdHggL5t/syfrcA6VdRhdEAGAOmGthjTfoanAHvkoGYPs6jzj+OuHZiduQz7Yc
         UrLDvDuBGUXkNwQKfT2iH++3DXKYPeOfBO3vg3dwvelpec+/2tocOGb2ktq/Cxu+jQSk
         AGLA==
X-Gm-Message-State: AO0yUKXH2j6prEn6F3Q63gIGxdayg1ckje972LCZJvUqkCLHZoxAvll6
	WLd/ByZgvcI/IjAvm9t/HELOUhBMYbrd9g==
X-Google-Smtp-Source: AK7set8q7LgPhjQDGQXQldMFyobIzatnvzmmNxUNpiyvxrRQQvLLFT65mbVe/BZZWCPPruZrXWVBug==
X-Received: by 2002:a05:600c:4f0c:b0:3e2:1368:e3a0 with SMTP id l12-20020a05600c4f0c00b003e21368e3a0mr16234959wmq.18.1678281556118;
        Wed, 08 Mar 2023 05:19:16 -0800 (PST)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <271b8712-3fcf-a613-fc74-6730156d74b5@xen.org>
Date: Wed, 8 Mar 2023 13:19:15 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: [PATCH 0/3][XenIface] Change Copyright statement
Content-Language: en-US
To: win-pv-devel@lists.xenproject.org
References: <20230223094954.2025-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230223094954.2025-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 23/02/2023 09:49, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
> the copyright notices in all source files should be updated. This patch
> series includes some minor functional changes to allow setting a particular
> copyright string in the embedded resources, and a scripted change to
> source files.
> 
> Powershell script that was used to generate the source file copyright changes:
> 
> Function Multiline-Replace {
>      param(
>          [string]$Filename,
>          [string]$ToReplace,
>          [array]$ReplaceWith
>      )
> 
>      $content = Get-Content $Filename
>      $replace = $false
>      $output = ""
>      $content | ForEach {
>          $line = $_
>          if ($line.Contains($ToReplace)) {
>              $replace = $true
>              $ReplaceWith | ForEach {
>                  $output += $line.Replace($ToReplace, $_) + "`n"
>              }
>          } else {
>              $output += $line + "`n"
>          }
>      }
>      if ($replace) {
>          Write-Host "Replacing: " $Filename
>          $output | Set-Content $Filename
>      } else {
>          Write-Host "Ignoring:  " $Filename
>      }
> }
> 
> Function Replace-Filestrings {
>      param(
>          [array]$FilleTypes,
>          [string]$ToReplace,
>          [array]$Replacements,
>          [array]$ExcludeList
>      )
> 
>      $FileTypes | ForEach {
>          Get-ChildItem $_ -Recurse | ForEach-Object {
>              $filename = $_
>              if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
>                  Write-Host "Excluding: " $filename
>              } else {
>                  Multiline-Replace $_ $ToReplace $Replacements
>              }
>          }
>      }
> }
> 
> $ExcludeList = @("*include\xen\*", "*\obj\*")
> $Replace = "Copyright (c) Citrix Systems Inc."
> 
> $Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.c", "*.h", "*.rc")
> Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.mc")
> Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.inf", "*.def")
> Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("LICENSE")
> Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList
> 
> Owen Smith (3):
>    [XenIface] Allow rebranding file copyright string
>    [XenIface] Add resource file to coinstaller
>    [XenIface] Scripted replacement of Copyright notices in source
> 
>   LICENSE                                       |  4 +-
>   build.ps1                                     |  4 ++
>   include/cache_interface.h                     |  4 +-
>   include/evtchn_interface.h                    |  4 +-
>   include/gnttab_interface.h                    |  4 +-
>   include/shared_info_interface.h               |  4 +-
>   include/store_interface.h                     |  4 +-
>   include/suspend_interface.h                   |  4 +-
>   include/version.tmpl                          |  1 +
>   include/xeniface_ioctls.h                     |  4 +-
>   scripts/genfiles.ps1                          |  1 +
>   src/coinst/coinst.c                           |  4 +-
>   src/coinst/xeniface_coinst.def                |  4 +-
>   src/coinst/xeniface_coinst.rc                 | 59 +++++++++++++++++++
>   src/xenagent/convdevice.h                     |  4 +-
>   src/xenagent/devicelist.h                     |  4 +-
>   src/xenagent/messages.mc                      |  4 +-
>   src/xenagent/service.h                        |  4 +-
>   src/xenagent/xenagent.rc                      |  8 ++-
>   src/xenagent/xenifacedevice.h                 |  4 +-
>   src/xeniface.inf                              |  4 +-
>   src/xeniface/assert.h                         |  4 +-
>   src/xeniface/driver.c                         |  4 +-
>   src/xeniface/driver.h                         |  4 +-
>   src/xeniface/fdo.c                            |  4 +-
>   src/xeniface/fdo.h                            |  4 +-
>   src/xeniface/ioctl_sharedinfo.c               |  4 +-
>   src/xeniface/ioctl_store.c                    |  4 +-
>   src/xeniface/ioctl_suspend.c                  |  4 +-
>   src/xeniface/ioctls.c                         |  4 +-
>   src/xeniface/ioctls.h                         |  4 +-
>   src/xeniface/log.h                            |  4 +-
>   src/xeniface/mutex.h                          |  4 +-
>   src/xeniface/names.h                          |  4 +-
>   src/xeniface/registry.c                       |  4 +-
>   src/xeniface/registry.h                       |  4 +-
>   src/xeniface/thread.c                         |  4 +-
>   src/xeniface/thread.h                         |  4 +-
>   src/xeniface/types.h                          |  4 +-
>   src/xeniface/util.h                           |  4 +-
>   src/xeniface/wmi.c                            |  4 +-
>   src/xeniface/wmi.h                            |  4 +-
>   src/xeniface/xeniface.rc                      |  6 +-
>   .../xeniface_coinst/xeniface_coinst.vcxproj   |  3 +
>   .../xeniface_coinst/xeniface_coinst.vcxproj   |  3 +
>   .../xeniface_coinst/xeniface_coinst.vcxproj   |  3 +
>   .../xeniface_coinst/xeniface_coinst.vcxproj   |  3 +
>   47 files changed, 197 insertions(+), 42 deletions(-)
>   create mode 100644 src/coinst/xeniface_coinst.rc
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>


From win-pv-devel-bounces@lists.xenproject.org Wed Mar 08 13:19:34 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Mar 2023 13:19:34 +0000
Received: from list by lists.xenproject.org with outflank-mailman.508034.782285 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthe-0008GI-Jb; Wed, 08 Mar 2023 13:19:34 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 508034.782285; Wed, 08 Mar 2023 13:19:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pZthe-0008GB-Gv; Wed, 08 Mar 2023 13:19:34 +0000
Received: by outflank-mailman (input) for mailman id 508034;
 Wed, 08 Mar 2023 13:19:33 +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
 <SRS0=VSjt=7A=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1pZthd-0007rN-Hk
 for win-pv-devel@lists.xenproject.org; Wed, 08 Mar 2023 13:19:33 +0000
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com
 [2a00:1450:4864:20::435])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id dd4a69c7-bdb3-11ed-87f5-c1b5be75604c;
 Wed, 08 Mar 2023 14:19:32 +0100 (CET)
Received: by mail-wr1-x435.google.com with SMTP id f11so15322044wrv.8
 for <win-pv-devel@lists.xenproject.org>; Wed, 08 Mar 2023 05:19:32 -0800 (PST)
Received: from [192.168.9.184] (54-240-197-227.amazon.com. [54.240.197.227])
 by smtp.gmail.com with ESMTPSA id
 z1-20020adff1c1000000b002c70c99db74sm15319550wro.86.2023.03.08.05.19.31
 for <win-pv-devel@lists.xenproject.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 08 Mar 2023 05:19:31 -0800 (PST)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: dd4a69c7-bdb3-11ed-87f5-c1b5be75604c
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1678281572;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=VAMlsS4iJr/Qb+H0Wlt9Rr6aBOGqQMuL0mfOADLTr/w=;
        b=da4olr6WIcdkrTCsfnC3ownglSvXz1tzoeXmQYzPUYiOfcmME4g9A6eomB1dnhOIwL
         GHocHfVRPM8EtALsnGLAvtsFoh3SKe73TosvOrmA4Jeer0XqUA9tIrvoJxYZRTQ8iP1a
         9Kcg9N3rkkSuLVMF/5HZ0PD3aAgj0P0eAM4H8pssmQE/KD9GfvaR/6nZwrX18t1Wn771
         OgpPNR8Vw+22UnBZgbKkoDO51fSLlRaCC6QHWEBnZVFaOtlRjwHJSO8nLE0HnyxNv9ba
         No44LMG/xU/jbr0e7onvnQlX9iwkQbHx9wxmdezcN+ynbFZ6fL1ZulEg7PWmsWY8niBN
         z3kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1678281572;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=VAMlsS4iJr/Qb+H0Wlt9Rr6aBOGqQMuL0mfOADLTr/w=;
        b=6R6VGZSdQ5FYbkuyQRxOE/BCjhFJoNop31/b54pfTaLUJuO7SM6+dzNw/UuMye9pyU
         b9Sv/Rj9ezXIDr0Lo0r034nCAgkjMkdiptDK0qwvU5lCy6yYm6k2tILdAjbFq9jASiZL
         XkSypO5Nx6vslKjbnLF3vao3ltrPp4rjZbKu/hxNshAbmeG6D/+Q8LlMeLmp0F293Y16
         JtSLSeJ6/9vFRKe8pT39Vs4Zvtf9+adLx6svUUFyxoAlf5o6XunPXrgf1ArvXgIaFKX1
         hFoOs+zVjK2GPAbQFnu5thufRKJYnjopxp9Dc/1tSbKokc7OnnDXWqrO+7iMUBVOxxgF
         UvCw==
X-Gm-Message-State: AO0yUKVMgwS7MC5SGou/tXrGpl/8dWd2CtCIkEyZOsJlKoHdLcZak/rk
	LLGuaJ9jaFPQLc9kg07/jzo8ocHtO5kDCQ==
X-Google-Smtp-Source: AK7set/arAxm3aJRaVeFEP+IJIBHlCUJXxexj/1QJGK3q3bV++qJNByaWjc0voP56zfm865x85b+SQ==
X-Received: by 2002:adf:f750:0:b0:2c5:5938:e6d6 with SMTP id z16-20020adff750000000b002c55938e6d6mr12950989wrp.35.1678281572289;
        Wed, 08 Mar 2023 05:19:32 -0800 (PST)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <c8204f22-98c2-64dd-c9be-bc000096eed1@xen.org>
Date: Wed, 8 Mar 2023 13:19:31 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: [PATCH 0/3][XenCons] Change Copyright statement
Content-Language: en-US
To: win-pv-devel@lists.xenproject.org
References: <20230223094726.282-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230223094726.282-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 23/02/2023 09:47, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
> the copyright notices in all source files should be updated. This patch
> series includes some minor functional changes to allow setting a particular
> copyright string in the embedded resources, and a scripted change to
> source files.
> 
> Powershell script that was used to generate the source file copyright changes:
> 
> Function Multiline-Replace {
>      param(
>          [string]$Filename,
>          [string]$ToReplace,
>          [array]$ReplaceWith
>      )
> 
>      $content = Get-Content $Filename
>      $replace = $false
>      $output = ""
>      $content | ForEach {
>          $line = $_
>          if ($line.Contains($ToReplace)) {
>              $replace = $true
>              $ReplaceWith | ForEach {
>                  $output += $line.Replace($ToReplace, $_) + "`n"
>              }
>          } else {
>              $output += $line + "`n"
>          }
>      }
>      if ($replace) {
>          Write-Host "Replacing: " $Filename
>          $output | Set-Content $Filename
>      } else {
>          Write-Host "Ignoring:  " $Filename
>      }
> }
> 
> Function Replace-Filestrings {
>      param(
>          [array]$FilleTypes,
>          [string]$ToReplace,
>          [array]$Replacements,
>          [array]$ExcludeList
>      )
> 
>      $FileTypes | ForEach {
>          Get-ChildItem $_ -Recurse | ForEach-Object {
>              $filename = $_
>              if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
>                  Write-Host "Excluding: " $filename
>              } else {
>                  Multiline-Replace $_ $ToReplace $Replacements
>              }
>          }
>      }
> }
> 
> $ExcludeList = @("*include\xen\*", "*\obj\*")
> $Replace = "Copyright (c) Citrix Systems Inc."
> 
> $Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.c", "*.h", "*.rc")
> Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.mc")
> Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("*.inf", "*.def")
> Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList
> 
> $Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
> $FileTypes = @("LICENSE")
> Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList
> 
> Owen Smith (3):
>    [XenCons] Allow rebranding file copyright string
>    [XenCons] Add resource file to coinstaller
>    [XenCons] Scripted replacement of Copyright notices in source
> 
>   LICENSE                                      |  4 +-
>   build.ps1                                    |  4 ++
>   include/cache_interface.h                    |  4 +-
>   include/console_interface.h                  |  4 +-
>   include/debug_interface.h                    |  4 +-
>   include/evtchn_interface.h                   |  4 +-
>   include/gnttab_interface.h                   |  4 +-
>   include/store_interface.h                    |  4 +-
>   include/suspend_interface.h                  |  4 +-
>   include/version.tmpl                         |  1 +
>   include/xen-types.h                          |  4 +-
>   include/xen-version.h                        |  4 +-
>   include/xen-warnings.h                       |  4 +-
>   include/xen.h                                |  4 +-
>   include/xencons_device.h                     |  4 +-
>   scripts/genfiles.ps1                         |  1 +
>   src/coinst/coinst.c                          |  4 +-
>   src/coinst/xencons_coinst.def                |  4 +-
>   src/coinst/xencons_coinst.rc                 | 57 ++++++++++++++++++++
>   src/monitor/messages.mc                      |  4 +-
>   src/monitor/monitor.c                        |  4 +-
>   src/monitor/xencons_monitor.rc               |  6 ++-
>   src/tty/tty.c                                |  4 +-
>   src/tty/xencons_tty.rc                       |  6 ++-
>   src/xencons.inf                              |  4 +-
>   src/xencons/assert.h                         |  4 +-
>   src/xencons/console.c                        |  4 +-
>   src/xencons/console.h                        |  4 +-
>   src/xencons/console_abi.h                    |  4 +-
>   src/xencons/dbg_print.h                      |  4 +-
>   src/xencons/driver.c                         |  4 +-
>   src/xencons/driver.h                         |  4 +-
>   src/xencons/fdo.c                            |  4 +-
>   src/xencons/fdo.h                            |  4 +-
>   src/xencons/frontend.c                       |  4 +-
>   src/xencons/frontend.h                       |  4 +-
>   src/xencons/mutex.h                          |  4 +-
>   src/xencons/names.h                          |  4 +-
>   src/xencons/pdo.c                            |  4 +-
>   src/xencons/pdo.h                            |  4 +-
>   src/xencons/registry.c                       |  4 +-
>   src/xencons/registry.h                       |  4 +-
>   src/xencons/ring.c                           |  4 +-
>   src/xencons/ring.h                           |  4 +-
>   src/xencons/stream.c                         |  4 +-
>   src/xencons/stream.h                         |  4 +-
>   src/xencons/thread.c                         |  4 +-
>   src/xencons/thread.h                         |  4 +-
>   src/xencons/types.h                          |  4 +-
>   src/xencons/util.h                           |  4 +-
>   src/xencons/xencons.rc                       |  6 ++-
>   vs2015/xencons_coinst/xencons_coinst.vcxproj |  3 ++
>   vs2017/xencons_coinst/xencons_coinst.vcxproj |  3 ++
>   vs2019/xencons_coinst/xencons_coinst.vcxproj |  3 ++
>   vs2022/xencons_coinst/xencons_coinst.vcxproj |  3 ++
>   55 files changed, 219 insertions(+), 50 deletions(-)
>   create mode 100644 src/coinst/xencons_coinst.rc
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>


From win-pv-devel-bounces@lists.xenproject.org Thu Mar 23 17:56:40 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Mar 2023 17:56:40 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514032.795944 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfPB0-0007Z2-2e; Thu, 23 Mar 2023 17:56:38 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514032.795944; Thu, 23 Mar 2023 17:56:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfPAz-0007Yu-Vy; Thu, 23 Mar 2023 17:56:37 +0000
Received: by outflank-mailman (input) for mailman id 514032;
 Thu, 23 Mar 2023 17:56:37 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfPAy-0007Yo-MV
 for win-pv-devel@lists.xenproject.org; Thu, 23 Mar 2023 17:56:37 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Thu, 23 Mar 2023 17:57:03 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <9601971.1.1679594227520.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENBUS-master - Build #242 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_0_10953166.1679594226223"
X-Jenkins-Job: XENBUS-master
X-Jenkins-Result: SUCCESS


------=_Part_0_10953166.1679594226223
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #242.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENBUS-master/242/console to view the results.
------=_Part_0_10953166.1679594226223--


From win-pv-devel-bounces@lists.xenproject.org Thu Mar 23 20:03:49 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Mar 2023 20:03:49 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514068.796013 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfRA3-0001s1-NF; Thu, 23 Mar 2023 20:03:47 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514068.796013; Thu, 23 Mar 2023 20:03:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfRA3-0001ru-Kh; Thu, 23 Mar 2023 20:03:47 +0000
Received: by outflank-mailman (input) for mailman id 514068;
 Thu, 23 Mar 2023 20:03:45 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfRA1-0001rO-Mx
 for win-pv-devel@lists.xenproject.org; Thu, 23 Mar 2023 20:03:45 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Thu, 23 Mar 2023 20:04:15 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <14546121.3.1679601855961.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENNET-master - Build #126 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_2_9647259.1679601855742"
X-Jenkins-Job: XENNET-master
X-Jenkins-Result: SUCCESS


------=_Part_2_9647259.1679601855742
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #126.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENNET-master/126/console to view the results.
------=_Part_2_9647259.1679601855742--


From win-pv-devel-bounces@lists.xenproject.org Thu Mar 23 21:45:19 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Mar 2023 21:45:19 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514083.796029 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfSkG-0006Pp-Sb; Thu, 23 Mar 2023 21:45:16 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514083.796029; Thu, 23 Mar 2023 21:45:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfSkG-0006Pi-QC; Thu, 23 Mar 2023 21:45:16 +0000
Received: by outflank-mailman (input) for mailman id 514083;
 Thu, 23 Mar 2023 21:45:15 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfSkF-0006Pc-2h
 for win-pv-devel@lists.xenproject.org; Thu, 23 Mar 2023 21:45:15 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Thu, 23 Mar 2023 21:45:45 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <13359185.5.1679607945199.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENVBD-master - Build #165 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_4_1365656.1679607945074"
X-Jenkins-Job: XENVBD-master
X-Jenkins-Result: SUCCESS


------=_Part_4_1365656.1679607945074
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #165.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENVBD-master/165/console to view the results.
------=_Part_4_1365656.1679607945074--


From win-pv-devel-bounces@lists.xenproject.org Thu Mar 23 23:58:37 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Mar 2023 23:58:37 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514109.796084 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfUpH-0007fM-54; Thu, 23 Mar 2023 23:58:35 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514109.796084; Thu, 23 Mar 2023 23:58:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfUpH-0007fF-2Y; Thu, 23 Mar 2023 23:58:35 +0000
Received: by outflank-mailman (input) for mailman id 514109;
 Thu, 23 Mar 2023 23:58:33 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfUpE-0007f7-V3
 for win-pv-devel@lists.xenproject.org; Thu, 23 Mar 2023 23:58:32 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Thu, 23 Mar 2023 23:59:02 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <26060039.7.1679615942890.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENIFACE-master - Build #118 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6_27809196.1679615942765"
X-Jenkins-Job: XENIFACE-master
X-Jenkins-Result: SUCCESS


------=_Part_6_27809196.1679615942765
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #118.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENIFACE-master/118/console to view the results.
------=_Part_6_27809196.1679615942765--


From win-pv-devel-bounces@lists.xenproject.org Fri Mar 24 01:58:42 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Mar 2023 01:58:42 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514131.796111 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfWhU-0005OT-Bo; Fri, 24 Mar 2023 01:58:40 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514131.796111; Fri, 24 Mar 2023 01:58:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfWhU-0005OK-8P; Fri, 24 Mar 2023 01:58:40 +0000
Received: by outflank-mailman (input) for mailman id 514131;
 Fri, 24 Mar 2023 01:58:38 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfWhS-0005OE-PE
 for win-pv-devel@lists.xenproject.org; Fri, 24 Mar 2023 01:58:38 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Fri, 24 Mar 2023 01:59:08 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <3547896.9.1679623148550.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENCONS-master - Build #42 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_8_30803373.1679623148410"
X-Jenkins-Job: XENCONS-master
X-Jenkins-Result: SUCCESS


------=_Part_8_30803373.1679623148410
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #42.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENCONS-master/42/console to view the results.
------=_Part_8_30803373.1679623148410--


From win-pv-devel-bounces@lists.xenproject.org Fri Mar 24 03:22:12 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Mar 2023 03:22:12 +0000
Received: from list by lists.xenproject.org with outflank-mailman.514146.796130 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfY0I-0002V0-GV; Fri, 24 Mar 2023 03:22:10 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 514146.796130; Fri, 24 Mar 2023 03:22:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1pfY0I-0002Ut-E4; Fri, 24 Mar 2023 03:22:10 +0000
Received: by outflank-mailman (input) for mailman id 514146;
 Fri, 24 Mar 2023 03:22:09 +0000
Received: from winpvdrvbuild.xenproject.org ([162.242.160.44])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <paul.durrant@xenproject.org>) id 1pfY0G-0002Un-VZ
 for win-pv-devel@lists.xenproject.org; Fri, 24 Mar 2023 03:22:08 +0000
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
Date: Fri, 24 Mar 2023 03:22:38 +0000 (UTC)
From: paul.durrant@xenproject.org
To: win-pv-devel@lists.xenproject.org
Message-ID: <4872477.11.1679628158646.JavaMail.WINPVDRVBUILD$@winpvdrvbuild>
Subject: XENVIF-master - Build #206 - Successful
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_10_29520021.1679628158350"
X-Jenkins-Job: XENVIF-master
X-Jenkins-Result: SUCCESS


------=_Part_10_29520021.1679628158350
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

The build system has completed build #206.

Check console output at https://winpvdrvbuild.xenproject.org:8080/job/XENVIF-master/206/console to view the results.
------=_Part_10_29520021.1679628158350--


From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:51:09 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:51:09 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515685.798828 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r1-0006Ip-Pf; Tue, 28 Mar 2023 11:51:07 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515685.798828; Tue, 28 Mar 2023 11:51:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r1-0006Ii-Mq; Tue, 28 Mar 2023 11:51:07 +0000
Received: by outflank-mailman (input) for mailman id 515685;
 Tue, 28 Mar 2023 11:51:06 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7r0-0006Ib-IK
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:51:06 +0000
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com
 [2a00:1450:4864:20::435])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id d0dc27c5-cd5e-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 13:51:05 +0200 (CEST)
Received: by mail-wr1-x435.google.com with SMTP id i9so11888886wrp.3
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:51:03 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 e11-20020a5d65cb000000b002c55de1c72bsm27419360wrw.62.2023.03.28.04.51.02
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:51:02 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d0dc27c5-cd5e-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004262;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:from:to:cc:subject:date:message-id:reply-to;
        bh=kyQ4zh/k4tv+xe/MFHDYQ/alWHDBR0hiN4STFKiEUV8=;
        b=ZHhLHp+EPAsxj/EkK9qMIIyEbyWVsRDbJNz/VUAh54Oh+r6vk+FR3ni+ygXyRc38ML
         A9OYaIkrJxoDF/AvYGuMrqQxbmJ68EzBsgPJ4OAozBmxrChYWBPl6O3Iue5SLu94YiDO
         Jklnq+ekOdXiIB6mElB9vMudiiuJspR1mL9zo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004262;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=kyQ4zh/k4tv+xe/MFHDYQ/alWHDBR0hiN4STFKiEUV8=;
        b=5k1GRaSdQ0eU4DwdEPZYs/TwAb2HVpnafLgBeaXob7xoFjC64P8dEQ8HqbA7XtNZYo
         OiZPqydLTspPi5ZbjHQ4HO40rcQ/2MV4ZDDh0uBAaui2M/HApATfoHL17gH8E0DUnpx4
         Tx0pLkbfKrKZlxuv5K3FJQTz1otzD2YY9Rwb1HJITYYEx+p0Hr0bknnWwy5gjookhw88
         uWO7xZC2VhbWshED7Uif2kDv0uhar8PqANhPC+Cu6wfTDAj/cYLQtbthw0LzBkiu9Ukd
         191CxYd7l9dnAsBkimpQkkkgru7pxF6P5Pwa7CxH42UPFVbIZtMF2Nyaa2uua3kw0Ilt
         GdGA==
X-Gm-Message-State: AAQBX9cZiaUtG4ED/FPzIH1S7qCsFPVFwbBgrs4n8wg4Sip3yaUM0hkl
	jo9iiYAJY3sG8pjBQ+8E55QbNBxkfJKiHYhvWA==
X-Google-Smtp-Source: AKy350ak1wzkFJBqcWQLTtVKM0yKzkNuZ3XbjdEzqZ4USMQ5DwL5ojqpbPAB/xvee/hFOkoF5Iwkhg==
X-Received: by 2002:a5d:58c9:0:b0:2cf:e34c:a229 with SMTP id o9-20020a5d58c9000000b002cfe34ca229mr14455568wrf.8.1680004262606;
        Tue, 28 Mar 2023 04:51:02 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@cloud.com>,
	Owen Smith <owen.smith@citrix.com>
Subject: [XENHID PATCH 1/3] Allow rebranding file copyright string
Date: Tue, 28 Mar 2023 12:50:38 +0100
Message-Id: <20230328115040.2042-1-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Pass COPYRIGHT string from environment to override the copyright string
that is embedded in the output binaries.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 build.ps1            | 4 ++++
 include/version.tmpl | 1 +
 scripts/genfiles.ps1 | 1 +
 src/xenhid/xenhid.rc | 2 +-
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/build.ps1 b/build.ps1
index 27efa38..31ba9a8 100644
--- a/build.ps1
+++ b/build.ps1
@@ -88,6 +88,10 @@ if ([string]::IsNullOrEmpty($Env:PRODUCT_NAME)) {
 	Set-Item -Path Env:PRODUCT_NAME -Value 'Xen'
 }
 
+if ([string]::IsNullOrEmpty($Env:COPYRIGHT)) {
+	Set-Item -Path Env:COPYRIGHT -Value 'Copyright (c) Xen Project.'
+}
+
 if ([string]::IsNullOrEmpty($Env:BUILD_NUMBER)) {
 	if (Test-Path ".build_number") {
 		$BuildNum = Get-Content -Path ".build_number"
diff --git a/include/version.tmpl b/include/version.tmpl
index d6f9a48..ce056d3 100644
--- a/include/version.tmpl
+++ b/include/version.tmpl
@@ -2,6 +2,7 @@
 #define PRODUCT_NAME_STR     "@PRODUCT_NAME@"
 #define VENDOR_PREFIX_STR    "@VENDOR_PREFIX@"
 #define VENDOR_DEVICE_ID_STR "@VENDOR_DEVICE_ID@"
+#define COPYRIGHT_STR        "@COPYRIGHT@"
 
 #define MAJOR_VERSION_STR    "@MAJOR_VERSION@"
 #define MINOR_VERSION_STR    "@MINOR_VERSION@"
diff --git a/scripts/genfiles.ps1 b/scripts/genfiles.ps1
index 2cfb3ab..9404ecf 100644
--- a/scripts/genfiles.ps1
+++ b/scripts/genfiles.ps1
@@ -61,6 +61,7 @@ $Replacements = [ordered]@{
 	'PRODUCT_NAME' = $Env:PRODUCT_NAME;
 	'VENDOR_DEVICE_ID' = $Env:VENDOR_DEVICE_ID;
 	'VENDOR_PREFIX' = $Env:VENDOR_PREFIX;
+	'COPYRIGHT' = $Env:COPYRIGHT;
 
 	'MAJOR_VERSION' = $Env:MAJOR_VERSION;
 	'MINOR_VERSION' = $Env:MINOR_VERSION;
diff --git a/src/xenhid/xenhid.rc b/src/xenhid/xenhid.rc
index 3363671..008da30 100644
--- a/src/xenhid/xenhid.rc
+++ b/src/xenhid/xenhid.rc
@@ -41,7 +41,7 @@
 #include <version.h>
 
 #define	VER_COMPANYNAME_STR         VENDOR_NAME_STR
-#define VER_LEGALCOPYRIGHT_STR      "Copyright (c) Citrix Systems Inc."
+#define VER_LEGALCOPYRIGHT_STR      COPYRIGHT_STR
 
 #define VER_PRODUCTNAME_STR         "XENHID"
 #define VER_PRODUCTVERSION          MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:51:13 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:51:13 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515686.798832 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r7-0006Ks-RM; Tue, 28 Mar 2023 11:51:13 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515686.798832; Tue, 28 Mar 2023 11:51:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r7-0006Kj-OV; Tue, 28 Mar 2023 11:51:13 +0000
Received: by outflank-mailman (input) for mailman id 515686;
 Tue, 28 Mar 2023 11:51:13 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7r7-0006KZ-0x
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:51:13 +0000
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com
 [2a00:1450:4864:20::42f])
 by se1-gles-flk1.inumbo.com (Halon) with ESMTPS
 id d26e6e8b-cd5e-11ed-b464-930f4c7d94ae;
 Tue, 28 Mar 2023 13:51:06 +0200 (CEST)
Received: by mail-wr1-x42f.google.com with SMTP id j24so11917483wrd.0
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:51:06 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 e11-20020a5d65cb000000b002c55de1c72bsm27419360wrw.62.2023.03.28.04.51.04
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:51:05 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d26e6e8b-cd5e-11ed-b464-930f4c7d94ae
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004265;
        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=n0MIhekSUXUd+b/5mRuwS6UzXXX/EdM6MaALm8RmD/4=;
        b=ebb7l3og/ToLMGAWxj42TxyyM2GwqW7JwkaaY6nM8ESVvfWyglw52Yoioy6LgV2kdn
         7EgpIZ4xnOhLEMykeubpoF7VQqtZ5KN4E/L+xQ+ZvwGu18aa1KaOCgZzKxKVPRbqw/PY
         fDtc8H8E+Ge8zbt4W8o/wRtrrBUKx2JdnvkQM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004265;
        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=n0MIhekSUXUd+b/5mRuwS6UzXXX/EdM6MaALm8RmD/4=;
        b=bvPUHqyrVgMKBR97nYDF9fHcjeBVHR6YB/CExPqiQuxsftSvkkTiF2NvPy3IEf3lfi
         wOqtXgVG7P4rrIQUi/doiBOaO0KKIIfKFjx93/l8Ur2K702wQMq94sL2vEC5jCP1F956
         SJtWvC6akJ7iHDySSHTIhmz7wiqZO5cWFrOhv2WFZe+Nt++/SuuADI8bqX3m5I94SW+9
         HOrSBiugzlappdrx7ZQP9yN6vIb3VdXaONmSwfim2phDU1kwEtKJOdgseAZyniVD9f+B
         srvcSY3axX5ngUppg0GKP8UAZI7aiJdJmb1N6XX6uBuIddqvbuJLsklDQvUHnz8x5fT2
         TFhw==
X-Gm-Message-State: AAQBX9e342EXarzLiPL3LpVVis1rACGi0W42CTJxO19HW8PFaV/Jat85
	LY7bYg7jmdOrE/WVK8fvykl7a0L2Xcc3Hu4l7Q==
X-Google-Smtp-Source: AKy350bH1DLDS3/OOCqsjatKxnynEU83ITi7C5Po25p7ezbTKoO5/UkbhHvn0GRjR64+isbmujaNBA==
X-Received: by 2002:a05:6000:10:b0:2ce:a6f6:edca with SMTP id h16-20020a056000001000b002cea6f6edcamr10925131wrx.55.1680004265362;
        Tue, 28 Mar 2023 04:51:05 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@cloud.com>,
	Owen Smith <owen.smith@citrix.com>
Subject: [XENHID PATCH 2/3] Add resource file to coinstaller
Date: Tue, 28 Mar 2023 12:50:39 +0100
Message-Id: <20230328115040.2042-2-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
In-Reply-To: <20230328115040.2042-1-owen.smith@cloud.com>
References: <20230328115040.2042-1-owen.smith@cloud.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 src/coinst/xenhid_coinst.rc                | 57 ++++++++++++++++++++++
 vs2015/xenhid_coinst/xenhid_coinst.vcxproj |  3 ++
 vs2017/xenhid_coinst/xenhid_coinst.vcxproj |  3 ++
 vs2019/xenhid_coinst/xenhid_coinst.vcxproj |  3 ++
 vs2022/xenhid_coinst/xenhid_coinst.vcxproj |  3 ++
 5 files changed, 69 insertions(+)
 create mode 100644 src/coinst/xenhid_coinst.rc

diff --git a/src/coinst/xenhid_coinst.rc b/src/coinst/xenhid_coinst.rc
new file mode 100644
index 0000000..fc2c4d5
--- /dev/null
+++ b/src/coinst/xenhid_coinst.rc
@@ -0,0 +1,57 @@
+/* Copyright (c) Citrix Systems 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.
+ */
+
+
+#include <windows.h>
+#include <ntverp.h>
+
+#undef VER_COMPANYNAME_STR
+#undef VER_PRODUCTNAME_STR
+#undef VER_PRODUCTVERSION
+#undef VER_PRODUCTVERSION_STR
+
+#include <version.h>
+
+#define VER_COMPANYNAME_STR         VENDOR_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR      COPYRIGHT_STR
+
+#define VER_PRODUCTNAME_STR         "XENHID_COINST"
+#define VER_PRODUCTVERSION          MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
+#define VER_PRODUCTVERSION_STR      MAJOR_VERSION_STR "." MINOR_VERSION_STR "." MICRO_VERSION_STR "." BUILD_NUMBER_STR
+
+#define VER_INTERNALNAME_STR 	    "XENHID_COINST.DLL"
+#define VER_FILEVERSION_STR 	    MAJOR_VERSION_STR "." MINOR_VERSION_STR "." MICRO_VERSION_STR "." BUILD_NUMBER_STR
+#define VER_FILEDESCRIPTION_STR     "XENHID_COINST"
+#define VER_ORIGINALFILENAME_STR    "XENHID_COINST.DLL"
+#define VER_FILETYPE VFT_APP
+#define VER_FILESUBTYPE 0
+
+#include "common.ver"
\ No newline at end of file
diff --git a/vs2015/xenhid_coinst/xenhid_coinst.vcxproj b/vs2015/xenhid_coinst/xenhid_coinst.vcxproj
index ba658cb..46df4c3 100644
--- a/vs2015/xenhid_coinst/xenhid_coinst.vcxproj
+++ b/vs2015/xenhid_coinst/xenhid_coinst.vcxproj
@@ -55,5 +55,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenhid_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenhid_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2017/xenhid_coinst/xenhid_coinst.vcxproj b/vs2017/xenhid_coinst/xenhid_coinst.vcxproj
index 652d511..c24037c 100644
--- a/vs2017/xenhid_coinst/xenhid_coinst.vcxproj
+++ b/vs2017/xenhid_coinst/xenhid_coinst.vcxproj
@@ -55,5 +55,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenhid_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenhid_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2019/xenhid_coinst/xenhid_coinst.vcxproj b/vs2019/xenhid_coinst/xenhid_coinst.vcxproj
index f88f409..76ae9a6 100644
--- a/vs2019/xenhid_coinst/xenhid_coinst.vcxproj
+++ b/vs2019/xenhid_coinst/xenhid_coinst.vcxproj
@@ -58,5 +58,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenhid_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenhid_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2022/xenhid_coinst/xenhid_coinst.vcxproj b/vs2022/xenhid_coinst/xenhid_coinst.vcxproj
index f88f409..76ae9a6 100644
--- a/vs2022/xenhid_coinst/xenhid_coinst.vcxproj
+++ b/vs2022/xenhid_coinst/xenhid_coinst.vcxproj
@@ -58,5 +58,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenhid_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenhid_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:51:14 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:51:14 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515687.798835 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r8-0006Mu-Sk; Tue, 28 Mar 2023 11:51:14 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515687.798835; Tue, 28 Mar 2023 11:51:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7r8-0006Mm-Pt; Tue, 28 Mar 2023 11:51:14 +0000
Received: by outflank-mailman (input) for mailman id 515687;
 Tue, 28 Mar 2023 11:51:13 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7r7-0006KZ-N2
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:51:13 +0000
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com
 [2a00:1450:4864:20::429])
 by se1-gles-flk1.inumbo.com (Halon) with ESMTPS
 id d33f5774-cd5e-11ed-b464-930f4c7d94ae;
 Tue, 28 Mar 2023 13:51:07 +0200 (CEST)
Received: by mail-wr1-x429.google.com with SMTP id d17so11861264wrb.11
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:51:07 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 e11-20020a5d65cb000000b002c55de1c72bsm27419360wrw.62.2023.03.28.04.51.05
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:51:05 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d33f5774-cd5e-11ed-b464-930f4c7d94ae
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004267;
        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=hkdTic77S4SCsGoT/TQ/YZr5j9jKrYyyUI4bA4oMHoE=;
        b=hRrYNrMxwuQS1YWKzE7tE8TSJMNUcaSO4exKnLwPi//Z/gcn9aNZMuwUoQ3kbSqUGK
         7H0KSGSJ6qZfhl4eMOWBTDf4U1sN/Xw96ERfpQr6KGh5GUudcf4g22YjKzzXHDmo3Al6
         fIPAtaZHpkvZEhCzf2++1UDZBUPZaLxFTNUfU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004267;
        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=hkdTic77S4SCsGoT/TQ/YZr5j9jKrYyyUI4bA4oMHoE=;
        b=2vT6w/MS+QyuLu9/3sZZ2MnZUqNCgiJWBM8Sk+JIKx5DS1ttgK3Q+xY3FIFopoKAvS
         0FRnvCR3fpPyvdq4WyU1EOKM/TkGny4gPmMaeaCATiPVTXcaP8J6BF/kU+oK0qYqn36R
         HX//8NxuBjc0t4ZFYPcD3pZfviVLQkoJnGvWzLFySLQxe0Hx7RSvDBXe8lkEkKxeIu5J
         9yUtRko/+3ukoAqqfvo/4JOIzUwxcMjwE+0PxrnIXxINUbUbeVAS/5m5hUUJ7HEJb6Yq
         2qmPxh+gLyCWTXM9AwoqDpKB5yhPcvtA87uk/OnpK7uakjG+hDA9XpbPozsqYwfsRu1Z
         Oi5Q==
X-Gm-Message-State: AAQBX9fIaujl4fYcav84lgONdTRx40exgS/wg5JmpNuqDqFheBf54HVP
	IYGB6JdEFjYDZsJL67O2g/rxbrndP9ZhG5HUKA==
X-Google-Smtp-Source: AKy350YgRuBlBuHK/Vm3ZCF+l4+ZSxzJ14FdsA6PBld0SQ3rJQ0xkd0UhP/0D8xOmN3JEa4l5EJukg==
X-Received: by 2002:adf:e304:0:b0:2d2:39d3:ce73 with SMTP id b4-20020adfe304000000b002d239d3ce73mr11798357wrj.32.1680004266072;
        Tue, 28 Mar 2023 04:51:06 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@cloud.com>,
	Owen Smith <owen.smith@citrix.com>
Subject: [XENHID PATCH 3/3] Scripted replacement of Copyright notices in source
Date: Tue, 28 Mar 2023 12:50:40 +0100
Message-Id: <20230328115040.2042-3-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
In-Reply-To: <20230328115040.2042-1-owen.smith@cloud.com>
References: <20230328115040.2042-1-owen.smith@cloud.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
the copyright notices in all source files should be updated.

Using the powershell script below replace "Copyright (c) Citrix Systems, Inc."
with "Copyright (c) Xen Project." and "Copyright (c) Cloud Software Group, Inc."

Function Multiline-Replace {
    param(
        [string]$Filename,
        [string]$ToReplace,
        [array]$ReplaceWith
    )

    $content = Get-Content $Filename
    $replace = $false
    $output = ""
    $content | ForEach {
        $line = $_
        if ($line.Contains($ToReplace)) {
            $replace = $true
            $ReplaceWith | ForEach {
                $output += $line.Replace($ToReplace, $_) + "`n"
            }
        } else {
            $output += $line + "`n"
        }
    }
    if ($replace) {
        Write-Host "Replacing: " $Filename
        $output | Set-Content $Filename
    } else {
        Write-Host "Ignoring:  " $Filename
    }
}

Function Replace-Filestrings {
    param(
        [array]$FilleTypes,
        [string]$ToReplace,
        [array]$Replacements,
        [array]$ExcludeList
    )

    $FileTypes | ForEach {
        Get-ChildItem $_ -Recurse | ForEach-Object {
            $filename = $_
            if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
                Write-Host "Excluding: " $filename
            } else {
                Multiline-Replace $_ $ToReplace $Replacements
            }
        }
    }
}

$ExcludeList = @("*include\xen\*", "*\obj\*")
$Replace = "Copyright (c) Citrix Systems Inc."

$Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.c", "*.h", "*.rc")
Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList

$Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.mc")
Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList

$Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.inf", "*.def")
Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList

$Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("LICENSE")
Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList

Signed-off-by: Owen Smith <owen.smith@citrix.com>

Manually fixed whitespace at end of files.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 LICENSE                      | 3 ++-
 include/hid_interface.h      | 3 ++-
 include/store_interface.h    | 3 ++-
 include/suspend_interface.h  | 3 ++-
 src/coinst/coinst.c          | 3 ++-
 src/coinst/xenhid_coinst.def | 3 ++-
 src/coinst/xenhid_coinst.rc  | 5 +++--
 src/xenhid.inf               | 3 ++-
 src/xenhid/assert.h          | 3 ++-
 src/xenhid/dbg_print.h       | 3 ++-
 src/xenhid/driver.c          | 3 ++-
 src/xenhid/driver.h          | 3 ++-
 src/xenhid/fdo.c             | 3 ++-
 src/xenhid/fdo.h             | 3 ++-
 src/xenhid/names.h           | 3 ++-
 src/xenhid/string.c          | 3 ++-
 src/xenhid/string.h          | 3 ++-
 src/xenhid/thread.c          | 3 ++-
 src/xenhid/thread.h          | 3 ++-
 src/xenhid/types.h           | 3 ++-
 src/xenhid/util.h            | 3 ++-
 src/xenhid/xenhid.rc         | 3 ++-
 22 files changed, 45 insertions(+), 23 deletions(-)

diff --git a/LICENSE b/LICENSE
index df521f1..b35096e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,5 @@
-Copyright (c) Citrix Systems Inc.
+Copyright (c) Xen Project.
+Copyright (c) Cloud Software Group, Inc.
 All rights reserved.
 
 Redistribution and use in source and binary forms,
diff --git a/include/hid_interface.h b/include/hid_interface.h
index 93a8851..2e2d9e6 100644
--- a/include/hid_interface.h
+++ b/include/hid_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/include/store_interface.h b/include/store_interface.h
index 83fed17..616bc36 100644
--- a/include/store_interface.h
+++ b/include/store_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/include/suspend_interface.h b/include/suspend_interface.h
index 9ef386b..ee31d95 100644
--- a/include/suspend_interface.h
+++ b/include/suspend_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/coinst/coinst.c b/src/coinst/coinst.c
index aec1ae9..2e2e2fa 100644
--- a/src/coinst/coinst.c
+++ b/src/coinst/coinst.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/coinst/xenhid_coinst.def b/src/coinst/xenhid_coinst.def
index df65c7f..71d8f65 100644
--- a/src/coinst/xenhid_coinst.def
+++ b/src/coinst/xenhid_coinst.def
@@ -1,4 +1,5 @@
-; Copyright (c) Citrix Systems Inc.
+; Copyright (c) Xen Project.
+; Copyright (c) Cloud Software Group, Inc.
 ; All rights reserved.
 ; 
 ; Redistribution and use in source and binary forms, 
diff --git a/src/coinst/xenhid_coinst.rc b/src/coinst/xenhid_coinst.rc
index fc2c4d5..f9dba02 100644
--- a/src/coinst/xenhid_coinst.rc
+++ b/src/coinst/xenhid_coinst.rc
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
@@ -54,4 +55,4 @@
 #define VER_FILETYPE VFT_APP
 #define VER_FILESUBTYPE 0
 
-#include "common.ver"
\ No newline at end of file
+#include "common.ver"
diff --git a/src/xenhid.inf b/src/xenhid.inf
index e42ebb2..94b0bec 100644
--- a/src/xenhid.inf
+++ b/src/xenhid.inf
@@ -1,4 +1,5 @@
-; Copyright (c) Citrix Systems Inc.
+; Copyright (c) Xen Project.
+; Copyright (c) Cloud Software Group, Inc.
 ; All rights reserved.
 ;
 ; Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/assert.h b/src/xenhid/assert.h
index def95a2..913938d 100644
--- a/src/xenhid/assert.h
+++ b/src/xenhid/assert.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/dbg_print.h b/src/xenhid/dbg_print.h
index 5686407..5dab9e5 100644
--- a/src/xenhid/dbg_print.h
+++ b/src/xenhid/dbg_print.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/driver.c b/src/xenhid/driver.c
index 9436518..fb655b0 100644
--- a/src/xenhid/driver.c
+++ b/src/xenhid/driver.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/driver.h b/src/xenhid/driver.h
index 6202017..093ad0d 100644
--- a/src/xenhid/driver.h
+++ b/src/xenhid/driver.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/fdo.c b/src/xenhid/fdo.c
index 1df6900..7111ba6 100644
--- a/src/xenhid/fdo.c
+++ b/src/xenhid/fdo.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/fdo.h b/src/xenhid/fdo.h
index f88fc24..1a8931d 100644
--- a/src/xenhid/fdo.h
+++ b/src/xenhid/fdo.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/names.h b/src/xenhid/names.h
index a2d9c15..be36847 100644
--- a/src/xenhid/names.h
+++ b/src/xenhid/names.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/string.c b/src/xenhid/string.c
index 7d2f1e3..e0e22a7 100644
--- a/src/xenhid/string.c
+++ b/src/xenhid/string.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/string.h b/src/xenhid/string.h
index 389239e..6276fd9 100644
--- a/src/xenhid/string.h
+++ b/src/xenhid/string.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/thread.c b/src/xenhid/thread.c
index f643156..43266be 100644
--- a/src/xenhid/thread.c
+++ b/src/xenhid/thread.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/thread.h b/src/xenhid/thread.h
index 097532d..5373c34 100644
--- a/src/xenhid/thread.h
+++ b/src/xenhid/thread.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/types.h b/src/xenhid/types.h
index 2517c47..0194171 100644
--- a/src/xenhid/types.h
+++ b/src/xenhid/types.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenhid/util.h b/src/xenhid/util.h
index 977e362..9ec9d71 100644
--- a/src/xenhid/util.h
+++ b/src/xenhid/util.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenhid/xenhid.rc b/src/xenhid/xenhid.rc
index 008da30..63ea819 100644
--- a/src/xenhid/xenhid.rc
+++ b/src/xenhid/xenhid.rc
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:52:40 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:52:40 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515704.798840 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sW-0006W5-1E; Tue, 28 Mar 2023 11:52:40 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515704.798840; Tue, 28 Mar 2023 11:52:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sV-0006Vy-UT; Tue, 28 Mar 2023 11:52:39 +0000
Received: by outflank-mailman (input) for mailman id 515704;
 Tue, 28 Mar 2023 11:52:39 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7sV-0006Vh-DI
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:52:39 +0000
Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com
 [2a00:1450:4864:20::32b])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id 09aef363-cd5f-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 13:52:38 +0200 (CEST)
Received: by mail-wm1-x32b.google.com with SMTP id
 t17-20020a05600c451100b003edc906aeeaso664872wmo.1
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:52:38 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 n6-20020a7bcbc6000000b003ed243222adsm16840021wmi.42.2023.03.28.04.52.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:52:37 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 09aef363-cd5f-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004358;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:from:to:cc:subject:date:message-id:reply-to;
        bh=vdx1HaZEpVGVkbaLPZIwaxbukBoGSLwAGbpnXZbcK/w=;
        b=VnVhNl2aG+WoAiEycGfQ31Wv3inGfYu3ZtGRSBdWgMSxEtNbsmihMjQtQMT/UisCy+
         EgTgUv1U2RJ0BKDkM5UNwXF4XnTgvdG6+vUvtjdp890MVAuKr1CvZrLsIh3n//9eQI55
         ZZKSb12iqK+yBJ1rRfngcwI6xvLympkyEWIAE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004358;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=vdx1HaZEpVGVkbaLPZIwaxbukBoGSLwAGbpnXZbcK/w=;
        b=Sj22dcGgsgaH5AiXQZgELT6YjFkK6UUYkDpLZr15s6n9u+6sN3Q3rczCrwkdRiAFnH
         Zqby+pkHp7lnAoC5/ySc5sb4Dj/mx8QZHworN5//E0SMG0dr4FvzNTYUQTqilSR+PR3a
         s/34vyy8vZC9jfcJc3e11lUGGWK6TQ7Ef5bZGPZlr4LOClcaP5bPxxuWhQAYg3OUDAN7
         HbrOifbFqn+UJ71oAb98VjgqsbTxUitP1Lf972BDWO/d6R6K1rEW4chxIxFIUxNLVfYt
         5oyoOUjUU7/lg+Xj4WpA+3oX/8UKESmNUr+9of/8MK6QeubSqR+u94Oz3fVwLpMwOB8x
         zdvQ==
X-Gm-Message-State: AO0yUKUPcd0gz8Kv1S3giPdqsYP23Ak7636VB+CfkFG9DWnSxs7f8Z6z
	Ffn8awcWnPs32olr3PHWm8ShaCGohYspf8+08Q==
X-Google-Smtp-Source: AK7set+dMAaRPGt5jXURSM2PKMe/yTfZCRPESo+J6J+XyXwZ4cDxbFtFNJxkwW0rLYcTv2r40fbOyw==
X-Received: by 2002:a05:600c:220f:b0:3ed:fc8c:f197 with SMTP id z15-20020a05600c220f00b003edfc8cf197mr11911038wml.29.1680004358059;
        Tue, 28 Mar 2023 04:52:38 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@citrix.com>
Subject: [XENVKBD PATCH 1/3] Allow rebranding file copyright string
Date: Tue, 28 Mar 2023 12:52:20 +0100
Message-Id: <20230328115222.715-1-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

From: Owen Smith <owen.smith@citrix.com>

Pass COPYRIGHT string from environment to override the copyright string
that is embedded in the output binaries.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 build.ps1              | 4 ++++
 include/version.tmpl   | 1 +
 scripts/genfiles.ps1   | 1 +
 src/xenvkbd/xenvkbd.rc | 2 +-
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/build.ps1 b/build.ps1
index 27efa38..31ba9a8 100644
--- a/build.ps1
+++ b/build.ps1
@@ -88,6 +88,10 @@ if ([string]::IsNullOrEmpty($Env:PRODUCT_NAME)) {
 	Set-Item -Path Env:PRODUCT_NAME -Value 'Xen'
 }
 
+if ([string]::IsNullOrEmpty($Env:COPYRIGHT)) {
+	Set-Item -Path Env:COPYRIGHT -Value 'Copyright (c) Xen Project.'
+}
+
 if ([string]::IsNullOrEmpty($Env:BUILD_NUMBER)) {
 	if (Test-Path ".build_number") {
 		$BuildNum = Get-Content -Path ".build_number"
diff --git a/include/version.tmpl b/include/version.tmpl
index d6f9a48..ce056d3 100644
--- a/include/version.tmpl
+++ b/include/version.tmpl
@@ -2,6 +2,7 @@
 #define PRODUCT_NAME_STR     "@PRODUCT_NAME@"
 #define VENDOR_PREFIX_STR    "@VENDOR_PREFIX@"
 #define VENDOR_DEVICE_ID_STR "@VENDOR_DEVICE_ID@"
+#define COPYRIGHT_STR        "@COPYRIGHT@"
 
 #define MAJOR_VERSION_STR    "@MAJOR_VERSION@"
 #define MINOR_VERSION_STR    "@MINOR_VERSION@"
diff --git a/scripts/genfiles.ps1 b/scripts/genfiles.ps1
index a288a6c..fa3ecc3 100644
--- a/scripts/genfiles.ps1
+++ b/scripts/genfiles.ps1
@@ -61,6 +61,7 @@ $Replacements = [ordered]@{
 	'PRODUCT_NAME' = $Env:PRODUCT_NAME;
 	'VENDOR_DEVICE_ID' = $Env:VENDOR_DEVICE_ID;
 	'VENDOR_PREFIX' = $Env:VENDOR_PREFIX;
+	'COPYRIGHT' = $Env:COPYRIGHT;
 
 	'MAJOR_VERSION' = $Env:MAJOR_VERSION;
 	'MINOR_VERSION' = $Env:MINOR_VERSION;
diff --git a/src/xenvkbd/xenvkbd.rc b/src/xenvkbd/xenvkbd.rc
index 1ce56c5..e198e27 100644
--- a/src/xenvkbd/xenvkbd.rc
+++ b/src/xenvkbd/xenvkbd.rc
@@ -41,7 +41,7 @@
 #include <version.h>
 
 #define	VER_COMPANYNAME_STR         VENDOR_NAME_STR
-#define VER_LEGALCOPYRIGHT_STR      "Copyright (c) Citrix Systems Inc."
+#define VER_LEGALCOPYRIGHT_STR      COPYRIGHT_STR
 
 #define VER_PRODUCTNAME_STR         "XENVKBD"
 #define VER_PRODUCTVERSION          MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:52:41 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:52:41 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515705.798844 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sX-0006Xz-3N; Tue, 28 Mar 2023 11:52:41 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515705.798844; Tue, 28 Mar 2023 11:52:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sX-0006Xs-0I; Tue, 28 Mar 2023 11:52:41 +0000
Received: by outflank-mailman (input) for mailman id 515705;
 Tue, 28 Mar 2023 11:52:40 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7sW-0006Vh-DG
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:52:40 +0000
Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com
 [2a00:1450:4864:20::32e])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id 0a1322c8-cd5f-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 13:52:39 +0200 (CEST)
Received: by mail-wm1-x32e.google.com with SMTP id n19so6785502wms.0
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:52:39 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 n6-20020a7bcbc6000000b003ed243222adsm16840021wmi.42.2023.03.28.04.52.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:52:38 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 0a1322c8-cd5f-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004358;
        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=e5RYpXlZh3DDn2oxYf+JhvHrcE8j1mODWNsCoVOcyWE=;
        b=dL2TuVYxEocNtqs+sBwaMjEFkEmgaVB+w35EgQdjU8QzvymTCoEMGDg8R81cxHq1PN
         OQ18wO9hp/crRQy4FuFnVQFVIcGPRnPxpWGM4BIxMgUnw4b9tgTgDPCHRHCKeKltc1qP
         fcI/k3eGJphB4x1CREvuXFtrM234vBRBU560E=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004358;
        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=e5RYpXlZh3DDn2oxYf+JhvHrcE8j1mODWNsCoVOcyWE=;
        b=QeVKn/XDIzJcCNFiNl47wXz8WTOxppR/hWybyL1/41VfG3cLRzLstdA785p+5rX/8T
         mUrazruJd4/3tfBEkeBLs5zDxhQkrvHw81KAogfCGLGld6wjkrFzIh4JW5KTpP2SNWmX
         5X6uv/I0xFLrLthNJO0ezq1km9W2HiVC4Pz5tJ9zrR/oD2mfamU1zjR2aaFSatsMt8fw
         mVtWjL8U3z/8Pd/2NMp2aAOYNM6UgAusDovoK3A952Lu/QnXqDC/P8xvsFU7s51EE10Q
         ws+/sP5d1xkEASa/y6rprcC92Vs7ha1Slva86u2dc05LwC9DbhTYVJw7iIZu5x9Ix3X9
         XQvA==
X-Gm-Message-State: AO0yUKVme03A76ockUQkdGHgxxcWDoft/4MDQtEifkQ9umx1vOJftilT
	mtY/yeSjTufamAHelw1W/I4fWJWY8ATJs9z1Bw==
X-Google-Smtp-Source: AK7set8dgYIUbfahZB1Ixn3MC9ZKbUDZ5bfsBjymcfnLf2NKlWCH9hk1F1UXgO+oj4UV7AcFQDxuYg==
X-Received: by 2002:a7b:c7c5:0:b0:3ed:809b:79ac with SMTP id z5-20020a7bc7c5000000b003ed809b79acmr12072029wmk.19.1680004358727;
        Tue, 28 Mar 2023 04:52:38 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@citrix.com>
Subject: [XENVKBD PATCH 2/3] Add resource file to coinstaller
Date: Tue, 28 Mar 2023 12:52:21 +0100
Message-Id: <20230328115222.715-2-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
In-Reply-To: <20230328115222.715-1-owen.smith@cloud.com>
References: <20230328115222.715-1-owen.smith@cloud.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

From: Owen Smith <owen.smith@citrix.com>

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 src/coinst/xenvkbd_coinst.rc                 | 58 ++++++++++++++++++++
 vs2015/xenvkbd_coinst/xenvkbd_coinst.vcxproj |  3 +
 vs2017/xenvkbd_coinst/xenvkbd_coinst.vcxproj |  3 +
 vs2019/xenvkbd_coinst/xenvkbd_coinst.vcxproj |  3 +
 vs2022/xenvkbd_coinst/xenvkbd_coinst.vcxproj |  3 +
 5 files changed, 70 insertions(+)
 create mode 100644 src/coinst/xenvkbd_coinst.rc

diff --git a/src/coinst/xenvkbd_coinst.rc b/src/coinst/xenvkbd_coinst.rc
new file mode 100644
index 0000000..fc56f69
--- /dev/null
+++ b/src/coinst/xenvkbd_coinst.rc
@@ -0,0 +1,58 @@
+/* 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.
+ */
+
+
+#include <windows.h>
+#include <ntverp.h>
+
+#undef VER_COMPANYNAME_STR
+#undef VER_PRODUCTNAME_STR
+#undef VER_PRODUCTVERSION
+#undef VER_PRODUCTVERSION_STR
+
+#include <version.h>
+
+#define VER_COMPANYNAME_STR         VENDOR_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR      COPYRIGHT_STR
+
+#define VER_PRODUCTNAME_STR         "XENVKBD_COINST"
+#define VER_PRODUCTVERSION          MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
+#define VER_PRODUCTVERSION_STR      MAJOR_VERSION_STR "." MINOR_VERSION_STR "." MICRO_VERSION_STR "." BUILD_NUMBER_STR
+
+#define VER_INTERNALNAME_STR 	    "XENVKBD_COINST.DLL"
+#define VER_FILEVERSION_STR 	    MAJOR_VERSION_STR "." MINOR_VERSION_STR "." MICRO_VERSION_STR "." BUILD_NUMBER_STR
+#define VER_FILEDESCRIPTION_STR     "XENVKBD_COINST"
+#define VER_ORIGINALFILENAME_STR    "XENVKBD_COINST.DLL"
+#define VER_FILETYPE VFT_APP
+#define VER_FILESUBTYPE 0
+
+#include "common.ver"
diff --git a/vs2015/xenvkbd_coinst/xenvkbd_coinst.vcxproj b/vs2015/xenvkbd_coinst/xenvkbd_coinst.vcxproj
index 354172b..23876e1 100644
--- a/vs2015/xenvkbd_coinst/xenvkbd_coinst.vcxproj
+++ b/vs2015/xenvkbd_coinst/xenvkbd_coinst.vcxproj
@@ -55,5 +55,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenvkbd_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenvkbd_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2017/xenvkbd_coinst/xenvkbd_coinst.vcxproj b/vs2017/xenvkbd_coinst/xenvkbd_coinst.vcxproj
index fdcc07b..82b1bb1 100644
--- a/vs2017/xenvkbd_coinst/xenvkbd_coinst.vcxproj
+++ b/vs2017/xenvkbd_coinst/xenvkbd_coinst.vcxproj
@@ -55,5 +55,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenvkbd_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenvkbd_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2019/xenvkbd_coinst/xenvkbd_coinst.vcxproj b/vs2019/xenvkbd_coinst/xenvkbd_coinst.vcxproj
index 46b63bb..a610583 100644
--- a/vs2019/xenvkbd_coinst/xenvkbd_coinst.vcxproj
+++ b/vs2019/xenvkbd_coinst/xenvkbd_coinst.vcxproj
@@ -58,5 +58,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenvkbd_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenvkbd_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
diff --git a/vs2022/xenvkbd_coinst/xenvkbd_coinst.vcxproj b/vs2022/xenvkbd_coinst/xenvkbd_coinst.vcxproj
index 46b63bb..a610583 100644
--- a/vs2022/xenvkbd_coinst/xenvkbd_coinst.vcxproj
+++ b/vs2022/xenvkbd_coinst/xenvkbd_coinst.vcxproj
@@ -58,5 +58,8 @@
   <ItemGroup>
     <None Include="..\..\src\coinst\xenvkbd_coinst.def" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\coinst\xenvkbd_coinst.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 </Project>
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 11:52:44 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 11:52:44 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515706.798848 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sa-0006ae-4Y; Tue, 28 Mar 2023 11:52:44 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515706.798848; Tue, 28 Mar 2023 11:52:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph7sa-0006aX-1n; Tue, 28 Mar 2023 11:52:44 +0000
Received: by outflank-mailman (input) for mailman id 515706;
 Tue, 28 Mar 2023 11:52:43 +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 <SRS0=XZIP=7U=tibco.com=osmith@srs-se1.protection.inumbo.net>)
 id 1ph7sY-0006Vh-La
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 11:52:42 +0000
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com
 [2a00:1450:4864:20::329])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id 0b17c580-cd5f-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 13:52:41 +0200 (CEST)
Received: by mail-wm1-x329.google.com with SMTP id
 v20-20020a05600c471400b003ed8826253aso800201wmo.0
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 04:52:41 -0700 (PDT)
Received: from localhost.localdomain ([185.25.65.68])
 by smtp.gmail.com with ESMTPSA id
 n6-20020a7bcbc6000000b003ed243222adsm16840021wmi.42.2023.03.28.04.52.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 28 Mar 2023 04:52:39 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 0b17c580-cd5f-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=cloud.com; s=cloud; t=1680004360;
        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=lNL5QF/UVltPEUiapKMLtALJ8eUY/JYfZFiLe+or8PE=;
        b=fM9EcBA/7AyiHwX49eUyeQ5llsuRAQYy7QlhPuNRQPP67BtZbOs9qMKS/3DZFgSPOJ
         nfHtFh/D0zoNZrvujyWLfJU+18ynRwA3/C8HpiBs37gbu1h74TsHbbPomcMSUM2joJwD
         hPEWG31NdzOhg1BpVXeu0laAJDAct6IubFWWs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680004360;
        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=lNL5QF/UVltPEUiapKMLtALJ8eUY/JYfZFiLe+or8PE=;
        b=Y4MkkEgf9dcUEjMySZGAlYqT18GaDTXr1QJt/NgHNd02QbD2XFqbTKh6XUmqaKW4Dl
         hCmNI+WyN2uJjfuiw42udrZVVHFCz81px9dRuIgYiBtwJLUq/WrQAHUskP5jUbAEp1VJ
         1P6+CsOrTsGyNi44y55aouMROvke9Z+k3A+7xiIDyuYQQe6pmQgQ0xFqfL9ayiNK1dj/
         JyvJOveSShRvgQzGhzZxVIJLf1kvrgibMo4kROgQQxb0j9QdyqBPshwBR6AoUVk18gfS
         ouVl0BwE+uus4xBpGpvblytig7RlofLfwTpDodbR8ssx6lBor2O+bPXufw3rQVs9+KVg
         tLQw==
X-Gm-Message-State: AO0yUKWtM/N2vJEZ2xV5io6xiIVg/gbD/DS9s7ZNNFQLE7MXI+NknP2z
	4QXiYL/CDo500I+OtFtzQE5/ckh9ha90DRZRNQ==
X-Google-Smtp-Source: AK7set/NGUdmd9IBE29ZoFitVLQMYrmPaX1vi3lUGf3gDFc3TSeWF2zy4K1YIaZjFVuFX8tcVHX0gg==
X-Received: by 2002:a1c:7c17:0:b0:3ed:2ae9:6c75 with SMTP id x23-20020a1c7c17000000b003ed2ae96c75mr11946310wmc.37.1680004359445;
        Tue, 28 Mar 2023 04:52:39 -0700 (PDT)
From: Owen Smith <owen.smith@cloud.com>
To: win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@citrix.com>
Subject: [XENVKBD PATCH 3/3] Scripted replacement of Copyright notices in source
Date: Tue, 28 Mar 2023 12:52:22 +0100
Message-Id: <20230328115222.715-3-owen.smith@cloud.com>
X-Mailer: git-send-email 2.39.0.windows.1
In-Reply-To: <20230328115222.715-1-owen.smith@cloud.com>
References: <20230328115222.715-1-owen.smith@cloud.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

From: Owen Smith <owen.smith@citrix.com>

Due to a transfer of copyright ownership from Citrix to Cloud Software Group,
the copyright notices in all source files should be updated.

Using the powershell script below replace "Copyright (c) Citrix Systems, Inc."
with "Copyright (c) Xen Project." and "Copyright (c) Cloud Software Group, Inc."

Function Multiline-Replace {
    param(
        [string]$Filename,
        [string]$ToReplace,
        [array]$ReplaceWith
    )

    $content = Get-Content $Filename
    $replace = $false
    $output = ""
    $content | ForEach {
        $line = $_
        if ($line.Contains($ToReplace)) {
            $replace = $true
            $ReplaceWith | ForEach {
                $output += $line.Replace($ToReplace, $_) + "`n"
            }
        } else {
            $output += $line + "`n"
        }
    }
    if ($replace) {
        Write-Host "Replacing: " $Filename
        $output | Set-Content $Filename
    } else {
        Write-Host "Ignoring:  " $Filename
    }
}

Function Replace-Filestrings {
    param(
        [array]$FilleTypes,
        [string]$ToReplace,
        [array]$Replacements,
        [array]$ExcludeList
    )

    $FileTypes | ForEach {
        Get-ChildItem $_ -Recurse | ForEach-Object {
            $filename = $_
            if (($ExcludeList | %{ $filename -Like $_ }) -Contains $True) {
                Write-Host "Excluding: " $filename
            } else {
                Multiline-Replace $_ $ToReplace $Replacements
            }
        }
    }
}

$ExcludeList = @("*include\xen\*", "*\obj\*")
$Replace = "Copyright (c) Citrix Systems Inc."

$Replacements = @("/* Copyright (c) Xen Project.", " * Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.c", "*.h", "*.rc")
Replace-Filestrings $FileTypes ('/* ' + $Replace) $Replacements $ExcludeList

$Replacements = @("; // Copyright (c) Xen Project.", "; // Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.mc")
Replace-Filestrings $FileTypes ('; // ' + $Replace) $Replacements $ExcludeList

$Replacements = @("; Copyright (c) Xen Project.", "; Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("*.inf", "*.def")
Replace-Filestrings $FileTypes ('; ' + $Replace) $Replacements $ExcludeList

$Replacements = @("Copyright (c) Xen Project.", "Copyright (c) Cloud Software Group, Inc.")
$FileTypes = @("LICENSE")
Replace-Filestrings $FileTypes $Replace $Replacements $ExcludeList

Signed-off-by: Owen Smith <owen.smith@citrix.com>

Manually fixed whitespace at end of files.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
---
 LICENSE                       | 4 ++--
 include/cache_interface.h     | 3 ++-
 include/debug_interface.h     | 4 ++--
 include/evtchn_interface.h    | 4 ++--
 include/gnttab_interface.h    | 4 ++--
 include/hid_interface.h       | 3 ++-
 include/range_set_interface.h | 4 ++--
 include/revision.h            | 3 ++-
 include/store_interface.h     | 4 ++--
 include/suspend_interface.h   | 4 ++--
 include/unplug_interface.h    | 4 ++--
 include/xen-types.h           | 3 ++-
 include/xen-version.h         | 3 ++-
 include/xen-warnings.h        | 4 +++-
 include/xen.h                 | 3 ++-
 src/coinst/coinst.c           | 3 ++-
 src/coinst/xenvkbd_coinst.def | 3 ++-
 src/xenvkbd.inf               | 3 ++-
 src/xenvkbd/assert.h          | 3 ++-
 src/xenvkbd/bus.c             | 3 ++-
 src/xenvkbd/bus.h             | 4 ++--
 src/xenvkbd/dbg_print.h       | 3 ++-
 src/xenvkbd/driver.c          | 3 ++-
 src/xenvkbd/driver.h          | 3 ++-
 src/xenvkbd/fdo.c             | 3 ++-
 src/xenvkbd/fdo.h             | 3 ++-
 src/xenvkbd/frontend.c        | 3 ++-
 src/xenvkbd/frontend.h        | 3 ++-
 src/xenvkbd/hid.c             | 3 ++-
 src/xenvkbd/hid.h             | 4 ++--
 src/xenvkbd/mrsw.h            | 3 ++-
 src/xenvkbd/mutex.h           | 3 ++-
 src/xenvkbd/names.h           | 3 ++-
 src/xenvkbd/pdo.c             | 3 ++-
 src/xenvkbd/pdo.h             | 3 ++-
 src/xenvkbd/registry.c        | 3 ++-
 src/xenvkbd/registry.h        | 3 ++-
 src/xenvkbd/ring.c            | 3 ++-
 src/xenvkbd/ring.h            | 3 ++-
 src/xenvkbd/thread.c          | 4 ++--
 src/xenvkbd/thread.h          | 4 ++--
 src/xenvkbd/types.h           | 3 ++-
 src/xenvkbd/util.h            | 3 ++-
 src/xenvkbd/vkbd.h            | 3 ++-
 src/xenvkbd/xenvkbd.rc        | 3 ++-
 45 files changed, 91 insertions(+), 57 deletions(-)

diff --git a/LICENSE b/LICENSE
index 00be666..6604afc 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,5 @@
-Copyright (c) Citrix Systems Inc.
+Copyright (c) Xen Project.
+Copyright (c) Cloud Software Group, Inc.
 All rights reserved.
 
 Redistribution and use in source and binary forms, 
@@ -27,4 +28,3 @@ 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.
-
diff --git a/include/cache_interface.h b/include/cache_interface.h
index ce50f4e..97fa315 100644
--- a/include/cache_interface.h
+++ b/include/cache_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/include/debug_interface.h b/include/debug_interface.h
index cc71db0..79729c7 100644
--- a/include/debug_interface.h
+++ b/include/debug_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -172,4 +173,3 @@ typedef struct _XENBUS_DEBUG_INTERFACE_V1 XENBUS_DEBUG_INTERFACE, *PXENBUS_DEBUG
 #define XENBUS_DEBUG_INTERFACE_VERSION_MAX  1
 
 #endif  // _XENBUS_DEBUG_INTERFACE_H
-
diff --git a/include/evtchn_interface.h b/include/evtchn_interface.h
index 05c342e..ef67487 100644
--- a/include/evtchn_interface.h
+++ b/include/evtchn_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -358,4 +359,3 @@ typedef struct _XENBUS_EVTCHN_INTERFACE_V9 XENBUS_EVTCHN_INTERFACE, *PXENBUS_EVT
 #define XENBUS_EVTCHN_INTERFACE_VERSION_MAX 9
 
 #endif  // _XENBUS_EVTCHN_INTERFACE_H
-
diff --git a/include/gnttab_interface.h b/include/gnttab_interface.h
index e3ee888..4fc8f1f 100644
--- a/include/gnttab_interface.h
+++ b/include/gnttab_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -300,4 +301,3 @@ typedef struct _XENBUS_GNTTAB_INTERFACE_V4 XENBUS_GNTTAB_INTERFACE, *PXENBUS_GNT
 #define XENBUS_GNTTAB_INTERFACE_VERSION_MAX 4
 
 #endif  // _XENBUS_GNTTAB_INTERFACE_H
-
diff --git a/include/hid_interface.h b/include/hid_interface.h
index 93a8851..2e2d9e6 100644
--- a/include/hid_interface.h
+++ b/include/hid_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/include/range_set_interface.h b/include/range_set_interface.h
index 5ab416d..c45a161 100644
--- a/include/range_set_interface.h
+++ b/include/range_set_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -176,4 +177,3 @@ typedef struct _XENBUS_RANGE_SET_INTERFACE_V1 XENBUS_RANGE_SET_INTERFACE, *PXENB
 #define XENBUS_RANGE_SET_INTERFACE_VERSION_MAX 1
 
 #endif  // _XENBUS_RANGE_SET_INTERFACE_H
-
diff --git a/include/revision.h b/include/revision.h
index b7f798c..ff043be 100644
--- a/include/revision.h
+++ b/include/revision.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/include/store_interface.h b/include/store_interface.h
index e1251dd..ca883bd 100644
--- a/include/store_interface.h
+++ b/include/store_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -325,4 +326,3 @@ typedef struct _XENBUS_STORE_INTERFACE_V2 XENBUS_STORE_INTERFACE, *PXENBUS_STORE
 #define XENBUS_STORE_INTERFACE_VERSION_MAX  2
 
 #endif  // _XENBUS_STORE_INTERFACE_H
-
diff --git a/include/suspend_interface.h b/include/suspend_interface.h
index cbe11ab..4176dc3 100644
--- a/include/suspend_interface.h
+++ b/include/suspend_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -174,4 +175,3 @@ typedef struct _XENBUS_SUSPEND_INTERFACE_V1 XENBUS_SUSPEND_INTERFACE, *PXENBUS_S
 #define XENBUS_SUSPEND_INTERFACE_VERSION_MAX    1
 
 #endif  // _XENBUS_SUSPEND_INTERFACE_H
-
diff --git a/include/unplug_interface.h b/include/unplug_interface.h
index 83b3dc9..e465e2e 100644
--- a/include/unplug_interface.h
+++ b/include/unplug_interface.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -113,4 +114,3 @@ typedef struct _XENBUS_UNPLUG_INTERFACE_V1 XENBUS_UNPLUG_INTERFACE, *PXENBUS_UNP
 #define XENBUS_UNPLUG_INTERFACE_VERSION_MAX  1
 
 #endif  // _XENBUS_UNPLUG_INTERFACE_H
-
diff --git a/include/xen-types.h b/include/xen-types.h
index cfad732..2480526 100644
--- a/include/xen-types.h
+++ b/include/xen-types.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/include/xen-version.h b/include/xen-version.h
index 5da4233..d77a531 100644
--- a/include/xen-version.h
+++ b/include/xen-version.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/include/xen-warnings.h b/include/xen-warnings.h
index 5a095b4..a84f19f 100644
--- a/include/xen-warnings.h
+++ b/include/xen-warnings.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -40,3 +41,4 @@
 # pragma warning(disable:4200) // nonstandard extension used : zero-sized array in struct/union
 
 #endif  // _XEN_WARNINGS_H
+
diff --git a/include/xen.h b/include/xen.h
index 8ef8416..af514a2 100644
--- a/include/xen.h
+++ b/include/xen.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/coinst/coinst.c b/src/coinst/coinst.c
index da2c59e..49e5e5e 100644
--- a/src/coinst/coinst.c
+++ b/src/coinst/coinst.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/coinst/xenvkbd_coinst.def b/src/coinst/xenvkbd_coinst.def
index df65c7f..71d8f65 100644
--- a/src/coinst/xenvkbd_coinst.def
+++ b/src/coinst/xenvkbd_coinst.def
@@ -1,4 +1,5 @@
-; Copyright (c) Citrix Systems Inc.
+; Copyright (c) Xen Project.
+; Copyright (c) Cloud Software Group, Inc.
 ; All rights reserved.
 ; 
 ; Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd.inf b/src/xenvkbd.inf
index 3d67ef0..08d96d0 100644
--- a/src/xenvkbd.inf
+++ b/src/xenvkbd.inf
@@ -1,4 +1,5 @@
-; Copyright (c) Citrix Systems Inc.
+; Copyright (c) Xen Project.
+; Copyright (c) Cloud Software Group, Inc.
 ; All rights reserved.
 ;
 ; Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/assert.h b/src/xenvkbd/assert.h
index d28fcfe..fe76f98 100644
--- a/src/xenvkbd/assert.h
+++ b/src/xenvkbd/assert.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/bus.c b/src/xenvkbd/bus.c
index 89e0f24..8bd5b3c 100644
--- a/src/xenvkbd/bus.c
+++ b/src/xenvkbd/bus.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/bus.h b/src/xenvkbd/bus.h
index a48dff6..99a58a7 100644
--- a/src/xenvkbd/bus.h
+++ b/src/xenvkbd/bus.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -49,4 +50,3 @@ BusTeardown(
     );
 
 #endif  // _XENVKBD_BUS_H
-
diff --git a/src/xenvkbd/dbg_print.h b/src/xenvkbd/dbg_print.h
index 751655b..dc9f8b1 100644
--- a/src/xenvkbd/dbg_print.h
+++ b/src/xenvkbd/dbg_print.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/driver.c b/src/xenvkbd/driver.c
index 26f6cb2..818f9dc 100644
--- a/src/xenvkbd/driver.c
+++ b/src/xenvkbd/driver.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/driver.h b/src/xenvkbd/driver.h
index 3999905..7612a9a 100644
--- a/src/xenvkbd/driver.h
+++ b/src/xenvkbd/driver.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/fdo.c b/src/xenvkbd/fdo.c
index 61949cf..5c00ee1 100644
--- a/src/xenvkbd/fdo.c
+++ b/src/xenvkbd/fdo.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/fdo.h b/src/xenvkbd/fdo.h
index 677a9da..d9ec308 100644
--- a/src/xenvkbd/fdo.h
+++ b/src/xenvkbd/fdo.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/frontend.c b/src/xenvkbd/frontend.c
index 1d6d360..801ba35 100644
--- a/src/xenvkbd/frontend.c
+++ b/src/xenvkbd/frontend.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/frontend.h b/src/xenvkbd/frontend.h
index f4e338f..d67851b 100644
--- a/src/xenvkbd/frontend.h
+++ b/src/xenvkbd/frontend.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/hid.c b/src/xenvkbd/hid.c
index 8a90dd1..98cac43 100644
--- a/src/xenvkbd/hid.c
+++ b/src/xenvkbd/hid.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/hid.h b/src/xenvkbd/hid.h
index 116f749..1130415 100644
--- a/src/xenvkbd/hid.h
+++ b/src/xenvkbd/hid.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -70,4 +71,3 @@ HidSendReadReport(
     );
 
 #endif  // _XENVKBD_VKBD_H
-
diff --git a/src/xenvkbd/mrsw.h b/src/xenvkbd/mrsw.h
index ee480a3..929415e 100644
--- a/src/xenvkbd/mrsw.h
+++ b/src/xenvkbd/mrsw.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/mutex.h b/src/xenvkbd/mutex.h
index de98ab7..d60d9e1 100644
--- a/src/xenvkbd/mutex.h
+++ b/src/xenvkbd/mutex.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/names.h b/src/xenvkbd/names.h
index 58ef694..db3e58d 100644
--- a/src/xenvkbd/names.h
+++ b/src/xenvkbd/names.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/pdo.c b/src/xenvkbd/pdo.c
index d101910..3591e14 100644
--- a/src/xenvkbd/pdo.c
+++ b/src/xenvkbd/pdo.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/pdo.h b/src/xenvkbd/pdo.h
index 5e68a86..166bb27 100644
--- a/src/xenvkbd/pdo.h
+++ b/src/xenvkbd/pdo.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/registry.c b/src/xenvkbd/registry.c
index 9f5628c..8f84818 100644
--- a/src/xenvkbd/registry.c
+++ b/src/xenvkbd/registry.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/registry.h b/src/xenvkbd/registry.h
index 4ade040..904ff10 100644
--- a/src/xenvkbd/registry.h
+++ b/src/xenvkbd/registry.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/ring.c b/src/xenvkbd/ring.c
index acb0a5c..a91c31f 100644
--- a/src/xenvkbd/ring.c
+++ b/src/xenvkbd/ring.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/ring.h b/src/xenvkbd/ring.h
index bfc6c4f..cf0b139 100644
--- a/src/xenvkbd/ring.h
+++ b/src/xenvkbd/ring.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/thread.c b/src/xenvkbd/thread.c
index 65e14ae..5cb6b09 100644
--- a/src/xenvkbd/thread.c
+++ b/src/xenvkbd/thread.c
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -223,4 +224,3 @@ ThreadJoin(
 
     __ThreadFree(Thread);
 }
-
diff --git a/src/xenvkbd/thread.h b/src/xenvkbd/thread.h
index 5db568b..37796a2 100644
--- a/src/xenvkbd/thread.h
+++ b/src/xenvkbd/thread.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
@@ -72,4 +73,3 @@ ThreadJoin(
     );
 
 #endif  // _XENVKBD_THREAD_H
-
diff --git a/src/xenvkbd/types.h b/src/xenvkbd/types.h
index 9ec16dc..c798477 100644
--- a/src/xenvkbd/types.h
+++ b/src/xenvkbd/types.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/util.h b/src/xenvkbd/util.h
index 517b015..f393709 100644
--- a/src/xenvkbd/util.h
+++ b/src/xenvkbd/util.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms,
diff --git a/src/xenvkbd/vkbd.h b/src/xenvkbd/vkbd.h
index 7cec2d0..abdf934 100644
--- a/src/xenvkbd/vkbd.h
+++ b/src/xenvkbd/vkbd.h
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
diff --git a/src/xenvkbd/xenvkbd.rc b/src/xenvkbd/xenvkbd.rc
index e198e27..3f2c9b7 100644
--- a/src/xenvkbd/xenvkbd.rc
+++ b/src/xenvkbd/xenvkbd.rc
@@ -1,4 +1,5 @@
-/* Copyright (c) Citrix Systems Inc.
+/* Copyright (c) Xen Project.
+ * Copyright (c) Cloud Software Group, Inc.
  * All rights reserved.
  * 
  * Redistribution and use in source and binary forms, 
-- 
2.39.0.windows.1



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 12:51:07 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 12:51:07 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515762.798921 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph8n4-0008UW-AI; Tue, 28 Mar 2023 12:51:06 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515762.798921; Tue, 28 Mar 2023 12:51:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph8n4-0008US-7P; Tue, 28 Mar 2023 12:51:06 +0000
Received: by outflank-mailman (input) for mailman id 515762;
 Tue, 28 Mar 2023 12:51:04 +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
 <SRS0=mQbd=7U=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1ph8n2-0008U3-TO
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 12:51:04 +0000
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com
 [2a00:1450:4864:20::433])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id 32f9194e-cd67-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 14:51:04 +0200 (CEST)
Received: by mail-wr1-x433.google.com with SMTP id y14so12095950wrq.4
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 05:51:04 -0700 (PDT)
Received: from [10.95.148.169] (54-240-197-226.amazon.com. [54.240.197.226])
 by smtp.gmail.com with ESMTPSA id
 b7-20020a5d4d87000000b002c707785da4sm27516794wru.107.2023.03.28.05.51.02
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 28 Mar 2023 05:51:03 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 32f9194e-cd67-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1680007863;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:cc:to:content-language:subject:user-agent:mime-version
         :date:message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=azXDEgdpqoAz1LFcuXu3/vzYMYOsPNXrXcvgSDmKGcY=;
        b=YuQtI4BySccRaeUg3AhDajA3b2TrzmlcZZGemI9tCbQRVz21vrILCUv7V9JorR82SP
         l+9cFaHRHf7o1LOC75tftaKdszYtWAjv7rTyvQnj+qX4GQC6yhZchz4sa6Z+SvigsdS+
         uN43eJYwiDQbweuPG0OtfCP4a5x2hbsokZiZQ3VF+9tKaPHFeyyksrCRheXNUdVjhj4r
         tAIanblaUQOG9a6RfnQ3si8IOf+fbR8G2EbDQ1UeYo2IaJx3Hf/SPvus93G99TERAIL7
         xS0LkPbDpGdMiM0FHEe+YJ5N+iOgsT6B231bkWblvoYOyb2UhO0/xh8807f4DrLbvwmz
         IfQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680007863;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:cc:to:content-language:subject:user-agent:mime-version
         :date:message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=azXDEgdpqoAz1LFcuXu3/vzYMYOsPNXrXcvgSDmKGcY=;
        b=sMkF/DLOILneOZ0COVypuzDqzrJsUncgl4CQFjCebtVot/qNw+o0s+dVGa0+wPYyDd
         xDXVNpuRW89BVV3Sxl1eA26oU3b/RcjPYb1X+RZbEKHTdHXFF5G9QLUuMCfW9mP/8MM+
         9Jks8W5Nq/G8rbmmdBX1gh+rM3RdlbizJF808hz3s4RLp1bO5E35FaUcpfeJu+ZbQkg8
         lk0Rej7mf7MtvJjyGS2eW0Y7wBZka3q1qIw5Vr34Pag3eU14QDW9Cd7zIRxZr0c+js2U
         DkFceikfycdWnm55nDFbgQRt7q7Hn4w95sHz4ml3mCdsKJHhP6SLr9Z2m+f9zQR6z0px
         TfwQ==
X-Gm-Message-State: AAQBX9fSwYvrfZVTd7zfhzxcbkhkrAYkzrQjm9rsvX3qQVayj+7OrbR4
	Q3Ebm3famwZTdhngn+VohWw=
X-Google-Smtp-Source: AKy350bM0kHaGLGAqbg8Htg/s9aa6qkRGJ0DFRH5NSiwlWPh9egOqEDQ0Qxb5ZOb2Ii70fcJV9/MuA==
X-Received: by 2002:adf:f9cc:0:b0:2ce:a777:90c4 with SMTP id w12-20020adff9cc000000b002cea77790c4mr11256045wrr.31.1680007863412;
        Tue, 28 Mar 2023 05:51:03 -0700 (PDT)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <8ba8ce5c-ea3a-2728-fa68-e2d36b662bb7@xen.org>
Date: Tue, 28 Mar 2023 13:51:02 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.9.0
Subject: Re: [XENVKBD PATCH 1/3] Allow rebranding file copyright string
Content-Language: en-US
To: Owen Smith <owen.smith@cloud.com>, win-pv-devel@lists.xenproject.org
Cc: Owen Smith <owen.smith@citrix.com>
References: <20230328115222.715-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230328115222.715-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 28/03/2023 12:52, Owen Smith wrote:
> From: Owen Smith <owen.smith@citrix.com>
> 
> Pass COPYRIGHT string from environment to override the copyright string
> that is embedded in the output binaries.
> 
> Signed-off-by: Owen Smith <owen.smith@citrix.com>
> ---
>   build.ps1              | 4 ++++
>   include/version.tmpl   | 1 +
>   scripts/genfiles.ps1   | 1 +
>   src/xenvkbd/xenvkbd.rc | 2 +-
>   4 files changed, 7 insertions(+), 1 deletion(-)
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>



From win-pv-devel-bounces@lists.xenproject.org Tue Mar 28 12:51:45 2023
Return-path: <win-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Mar 2023 12:51:45 +0000
Received: from list by lists.xenproject.org with outflank-mailman.515768.798926 (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph8ng-0000Dt-DC; Tue, 28 Mar 2023 12:51:44 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 515768.798926; Tue, 28 Mar 2023 12:51:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <win-pv-devel-bounces@lists.xenproject.org>)
	id 1ph8ng-0000Dm-A8; Tue, 28 Mar 2023 12:51:44 +0000
Received: by outflank-mailman (input) for mailman id 515768;
 Tue, 28 Mar 2023 12:51:43 +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
 <SRS0=mQbd=7U=gmail.com=xadimgnik@srs-se1.protection.inumbo.net>)
 id 1ph8nf-0000Da-0F
 for win-pv-devel@lists.xenproject.org; Tue, 28 Mar 2023 12:51:43 +0000
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com
 [2a00:1450:4864:20::42d])
 by se1-gles-sth1.inumbo.com (Halon) with ESMTPS
 id 49b8424e-cd67-11ed-85db-49a42c6b2330;
 Tue, 28 Mar 2023 14:51:42 +0200 (CEST)
Received: by mail-wr1-x42d.google.com with SMTP id r29so12058962wra.13
 for <win-pv-devel@lists.xenproject.org>; Tue, 28 Mar 2023 05:51:42 -0700 (PDT)
Received: from [10.95.148.169] (54-240-197-226.amazon.com. [54.240.197.226])
 by smtp.gmail.com with ESMTPSA id
 l5-20020adfe585000000b002cea9d931e6sm27736794wrm.78.2023.03.28.05.51.41
 for <win-pv-devel@lists.xenproject.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 28 Mar 2023 05:51:41 -0700 (PDT)
X-BeenThere: win-pv-devel@lists.xenproject.org
List-Id: Developer list for the Windows PV Drivers subproject
 <win-pv-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:win-pv-devel@lists.xenproject.org>
List-Help: <mailto:win-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/win-pv-devel>, 
 <mailto:win-pv-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: win-pv-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "win-pv-devel" <win-pv-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 49b8424e-cd67-11ed-85db-49a42c6b2330
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1680007901;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:from:to:cc:subject:date:message-id:reply-to;
        bh=+x7a7pStFJe5QjQxAk7FLCJPndFfD7SkRBbDkZiYkU0=;
        b=YGBnrBRh//NqqODDGhhaPv76jWvWU9oimlQLr3PAD0aq0mUGWoFlFRpE097yLkN9Ur
         MVwf48hBW1/KL9sSmNZsSto/a9RRwdGTuyYu4VdYE5790FxbMJ4mQWL7IFXt9ZSoygbw
         uLGQbkhUAMqZCQ8nUa85HBC2FAKVpa2h4hYC906I0c0lb3R5FiWKqU3Xjma/esX4nUrO
         6Hv98+rIdc4IXXLBXHFeqdNg40MK8tX2GUviExkzVjlST0aLCoE2X8bKu7EwUTo27m7+
         1/KJPenZ6hGK4SGGy1IrnzIX/pVsFRhKCR8vNLPLl/4qAHMe6biR7VTs/Ii5MXtT6KrR
         sxzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1680007901;
        h=content-transfer-encoding:in-reply-to:organization:reply-to
         :references:to:content-language:subject:user-agent:mime-version:date
         :message-id:from:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=+x7a7pStFJe5QjQxAk7FLCJPndFfD7SkRBbDkZiYkU0=;
        b=lNPUOIT2oBACKJguV+HjkXj4Xj+i1n0DovuA7/xTI5k12cOYZx2wG0A9y5g1KjJ73T
         oz3wRl7Kp5NmUGyXgNNxYhdZZ6JOF19iAi1IvpfkDmlY13YBzufjZYU6qPncvjb3s2ub
         OY6v3Zr6JQcFEA1DqSwHbdsBSArB7JBkywJPh/L5GtdMCY+hUDPivwcud/XQLS7FHMsW
         wlzllOWucLt+iDSqMQ6TsWAeqau0OKpcAoh8vz3jNyljXzYDJVHhUuyBmiMmOZmC8AMq
         dPpztpSanW/rgFSe3bXOqA5fX2iHRfqYh+2pcL93f66fDYbs57Ff23+RTq/7e35F/5mw
         5y+Q==
X-Gm-Message-State: AAQBX9fwBz5YSSBqapGneWU40Ou7ALEUonVuuLuHtK2u6WpxLeLuhMdz
	W6Iq6HlCC+TLcfr+MSx+3gPQzZmaokNVOA==
X-Google-Smtp-Source: AKy350bGkAMBH4FU8GzyhgohnlK2fTDVMYJ9WRI0r7n8cKJbShbMSJ5TKSDJuf3U7mifiVq5Xd60Vg==
X-Received: by 2002:adf:db0a:0:b0:2df:7c0a:df33 with SMTP id s10-20020adfdb0a000000b002df7c0adf33mr7541679wri.30.1680007901693;
        Tue, 28 Mar 2023 05:51:41 -0700 (PDT)
From: Paul Durrant <xadimgnik@gmail.com>
X-Google-Original-From: Paul Durrant <paul@xen.org>
Message-ID: <6e9c7dbe-d8b4-4e5f-a69b-9da18347cc46@xen.org>
Date: Tue, 28 Mar 2023 13:51:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.9.0
Subject: Re: [XENHID PATCH 1/3] Allow rebranding file copyright string
Content-Language: en-US
To: win-pv-devel@lists.xenproject.org
References: <20230328115040.2042-1-owen.smith@cloud.com>
Reply-To: paul@xen.org
Organization: Xen Project
In-Reply-To: <20230328115040.2042-1-owen.smith@cloud.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 28/03/2023 12:50, Owen Smith wrote:
> Pass COPYRIGHT string from environment to override the copyright string
> that is embedded in the output binaries.
> 
> Signed-off-by: Owen Smith <owen.smith@citrix.com>
> ---
>   build.ps1            | 4 ++++
>   include/version.tmpl | 1 +
>   scripts/genfiles.ps1 | 1 +
>   src/xenhid/xenhid.rc | 2 +-
>   4 files changed, 7 insertions(+), 1 deletion(-)
> 

Series...

Acked-by: Paul Durrant <paul@xen.org>



