From f20292dfa07275df2b446ac257fcf2b9303800af Mon Sep 17 00:00:00 2001
From: Peridot Bot <rockyautomation@rockylinux.org>
Date: Wed, 12 Jun 2024 01:31:17 +0000
Subject: [PATCH] import virtio-win-1.9.40-0.el9_4

---
 .virtio-win.checksum                          |  2 +-
 .virtio-win.metadata                          | 20 ++++++-------
 SOURCES/agents.json                           |  4 +--
 ...tio-win-pre-installable-drivers-win-10.xml | 10 +++++++
 ...tio-win-pre-installable-drivers-win-11.xml |  5 ++++
 SPECS/virtio-win.spec                         | 29 +++++++++++++++----
 6 files changed, 51 insertions(+), 19 deletions(-)

diff --git a/.virtio-win.checksum b/.virtio-win.checksum
index ef1b13b..ead5d99 100644
--- a/.virtio-win.checksum
+++ b/.virtio-win.checksum
@@ -1 +1 @@
-b44d944d71b638a21691a59209deea0794fc6dd5de511819086ef5a5d9c0c18e
+3d1296f74fb1b64a1e0767148d312a5a5361bb68f5c23ccea04ed84abdbbbf58
diff --git a/.virtio-win.metadata b/.virtio-win.metadata
index 980dac7..b7c0831 100644
--- a/.virtio-win.metadata
+++ b/.virtio-win.metadata
@@ -1,16 +1,16 @@
-31128f229949de63de7b43448918021f6fc71752cda71bd9f78789dac1afb99d SOURCES/mingw-qemu-ga-win-106.0.1-1.el9.src.rpm
-55d336cbcd98ea65d490731a608b17191e34b286d1165b1274a29930d3521819 SOURCES/qemu-ga-win-106.0.1-1.el9.noarch.rpm
+edf141b93ef491820f69edfadef563ac10d2330176ca973129d9694f9d2408c3 SOURCES/mingw-qemu-ga-win-108.0.1-1.el9.src.rpm
+0cda28c5c8e4d4349c87a54a7d735751a3c49b78f73e98a68f1eb3d0d5272ffa SOURCES/qemu-ga-win-108.0.1-1.el9.noarch.rpm
 9c9159d8f7194b07506a40ac8538281b95bd4142e0564a261be9079cd53b7473 SOURCES/qxl-win-unsigned-0.1-24-sources.zip
 f8aed8bfb4cd323818c367a1d9f0564347ae93424a4d5e826b39ec734d452d92 SOURCES/spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm
 50f1d9d3a2a320e30bc801225a7c27077a3a709a52961a10785858d7a8c38c73 SOURCES/spice-qxl-wddm-dod-0.21-2.el8.src.rpm
 cf72c76a32ad14de634825f127255ad2409c81e33ba4dfe7b23c95b75f913271 SOURCES/spice-vdagent-win-0.10.0-5.el8.src.rpm
 ac70ca6395a9fe0c701200a5d88556ba4cf6ecea129fe40dc6e22bebf71dd7c6 SOURCES/spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm
 e2825ab6ec6cb7fa927c47425861058a11e88c8218fb716562f6f1c9f42008b1 SOURCES/spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm
-54e499c6581f1d681ffbb62a236ad8ba3f71634ea888a850861bd94b9a655395 SOURCES/virtio-win-1.9.36-bin-for-rpm.tar.gz
-0c46a4c0ee0b50f6b47aa26e129b17607579ce54d3f91420e5191c179a5fd6a0 SOURCES/virtio-win-gt-x64.msi
-861037e0f3499a20d98bfb2193e86c1866c2658c5d41cd0e808acae33a7da168 SOURCES/virtio-win-gt-x86.msi
-f0061a6bd760c1b94849dfd922943dba18fdcfc0da491283ad214fab6099fb75 SOURCES/virtio-win-guest-tools.exe
-32402ce96b999c055177cf5d1317618dcc31c4bcb809e1db211722d4c5bb14db SOURCES/virtio-win-installer-1.9.36-0-sources.zip
-91957fc7426812581e7a27ae973f9a4f7407c5893c537cc7462ee40e9ae9f654 SOURCES/virtio-win-prewhql-0.1-242-sources.zip
-c9ca492b2d30f8c3b350100a91bfb79caafebc4ec2b9d8c039401879146cba71 SOURCES/winfsp-1.12.22339-sources.zip
-45552d9c11f9681471108703f3ed600feda5b756a91863a5397c348cd01b193d SOURCES/winfsp-1.12.22339.msi
+67b9b4d4598b7d1a1aa65e6acc7e1623d28f91f1878d44439089b4fe03fc2fa0 SOURCES/virtio-win-1.9.40-bin-for-rpm.tar.gz
+1ea196df103782249394d0453ea06f0887c19109e403bd9fb2f97c67bc542b99 SOURCES/virtio-win-gt-x64.msi
+31bf71a20b72d386a5991e7b097c0a7c2190f7dcc81cb6b2c5750578b3434e12 SOURCES/virtio-win-gt-x86.msi
+8c66142b84234e37f113166dce38c0cff634905095f93b3fba5b38f5c331bd39 SOURCES/virtio-win-guest-tools.exe
+862b78e09fba011e3e829433ca9534cdf56a67d78837dc59378142762ff5bcda SOURCES/virtio-win-installer-1.9.40-0-sources.zip
+3632468df442492331c2eb03f774e6d66dfcf3c1131ed72d54a36dedea55bb3e SOURCES/virtio-win-prewhql-0.1-257-sources.zip
+0d8ad2d49237a2ea9f17667e6a67b9dd81c6f8a5951ebee9d48039448b8dd61f SOURCES/winfsp-2.0.23075-sources.zip
+6324dc81194a6a08f97b6aeca303cf5c2325c53ede153bae9fc4378f0838c101 SOURCES/winfsp-2.0.23075.msi
diff --git a/SOURCES/agents.json b/SOURCES/agents.json
index c79af99..240f885 100644
--- a/SOURCES/agents.json
+++ b/SOURCES/agents.json
@@ -2,12 +2,12 @@
   "agents": [
     {
       "arch": "x86",
-      "agent_version": "106.0.1-1",
+      "agent_version": "108.0.1-1",
       "name": "Red Hat QEMU guest agent"
     },
     {
       "arch": "amd64",
-      "agent_version": "106.0.1-1",
+      "agent_version": "108.0.1-1",
       "name": "Red Hat QEMU guest agent"
     },
     {
diff --git a/SOURCES/virtio-win-pre-installable-drivers-win-10.xml b/SOURCES/virtio-win-pre-installable-drivers-win-10.xml
index 3cf35e0..77c463c 100644
--- a/SOURCES/virtio-win-pre-installable-drivers-win-10.xml
+++ b/SOURCES/virtio-win-pre-installable-drivers-win-10.xml
@@ -97,6 +97,11 @@
       <file>viogpudo.inf</file>
       <file>viogpudo.sys</file>
       <device id="http://pcisig.com/pci/1af4/1050"/>
+
+      <file>viomem.cat</file>
+      <file>viomem.inf</file>
+      <file>viomem.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1058"/>
     </driver>
 
     <driver signed="true" pre-installable="true" location="file:///usr/share/virtio-win/drivers/by-os/amd64/w10/" arch="x86_64">
@@ -170,6 +175,11 @@
       <file>viogpudo.inf</file>
       <file>viogpudo.sys</file>
       <device id="http://pcisig.com/pci/1af4/1050"/>
+
+      <file>viomem.cat</file>
+      <file>viomem.inf</file>
+      <file>viomem.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1058"/>
     </driver>
   </os>
 </libosinfo>
diff --git a/SOURCES/virtio-win-pre-installable-drivers-win-11.xml b/SOURCES/virtio-win-pre-installable-drivers-win-11.xml
index 070d707..e5c00d9 100644
--- a/SOURCES/virtio-win-pre-installable-drivers-win-11.xml
+++ b/SOURCES/virtio-win-pre-installable-drivers-win-11.xml
@@ -92,6 +92,11 @@
       <file>viogpudo.inf</file>
       <file>viogpudo.sys</file>
       <device id="http://pcisig.com/pci/1af4/1050"/>
+
+      <file>viomem.cat</file>
+      <file>viomem.inf</file>
+      <file>viomem.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1058"/>
     </driver>
   </os>
 </libosinfo>
diff --git a/SPECS/virtio-win.spec b/SPECS/virtio-win.spec
index 86f0aea..6059b4c 100644
--- a/SPECS/virtio-win.spec
+++ b/SPECS/virtio-win.spec
@@ -8,18 +8,18 @@
 # If you make any changes to this file that affect the RPM content (but not
 # version numbers or changelogs, etc), submit a patch to the upstream spec.
 
-%global virtio_win_prewhql_build virtio-win-prewhql-0.1-242
-%global qemu_ga_win_build qemu-ga-win-106.0.1-1.el9
+%global virtio_win_prewhql_build virtio-win-prewhql-0.1-257
+%global qemu_ga_win_build qemu-ga-win-108.0.1-1.el9
 %global qxl_build qxl-win-unsigned-0.1-24
 %global spice_vdagent_build 0.10.0-5.el8
 %global qxlwddm_build spice-qxl-wddm-dod-0.21-2.el8
 
-%global windows_installer_version -1.9.36-0
-%global winfsp_version -1.12.22339
+%global windows_installer_version -1.9.40-0
+%global winfsp_version -2.0.23075
 
 Summary: VirtIO para-virtualized drivers for Windows(R)
 Name: virtio-win
-Version: 1.9.36
+Version: 1.9.40
 Release: 0%{?dist}
 Group: Applications/System
 License: Apache-2.0 AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later
@@ -239,6 +239,7 @@ add_link _servers_amd64.vfd
 %{_datadir}/%{name}/drivers/by-driver/sriov
 %{_datadir}/%{name}/drivers/by-driver/qxldod
 %{_datadir}/%{name}/drivers/by-driver/viogpudo
+%{_datadir}/%{name}/drivers/by-driver/viomem
 %{_datadir}/%{name}/drivers/by-driver/fwcfg
 %exclude %{_datadir}/%{name}/drivers/by-driver/virtio-win_license.txt
 %if 0%{?fedora}
@@ -273,6 +274,22 @@ add_link _servers_amd64.vfd
 %endif
 
 %changelog
+* Thu May 23 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
+- Update installer 1.9.40.0 with the latest agents RHEL-9.4.0.Z
+- Related: #37139
+
+* Mon Mar 11 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
+- Update installer 1.9.39.0 with the latest agents RHEL-8.10.0
+- Related: #21536
+
+* Thu Mar  7 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
+- Update installer 1.9.38.0 with the latest agents RHEL-9.4.0
+- Related: #18190
+
+* Tue Mar  5 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
+- Update installer 1.9.37.0 with the latest agents RHEL-9.4.0
+- Related: #18190
+
 * Sun Dec 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
 - Update installer 1.9.36.0 with the latest agents RHEL-9.3.0.Z
 - Related: #18403
@@ -281,7 +298,7 @@ add_link _servers_amd64.vfd
 - Update installer 1.9.35.0 with the latest agents RHEL-9.3.0
 - Related: #420
 
-* Sat Jul 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
+* Mon Jul 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
 - Update installer 1.9.34.0 with the latest agents RHEL-9.3.0
 - Related: #420
 
-- 
GitLab