From d866834c9bede9afd2c06518ae5c3494629b30ea Mon Sep 17 00:00:00 2001
From: rockyautomation <rockyautomation@rockylinux.org>
Date: Tue, 1 Feb 2022 20:57:15 +0000
Subject: [PATCH] import virtio-win-1.9.24-2.el8_5

---
 .gitignore                                    | 10 +-
 .virtio-win.metadata                          | 16 ++--
 SOURCES/agents.json                           |  4 +-
 ...tio-win-pre-installable-drivers-win-11.xml | 96 +++++++++++++++++++
 SPECS/virtio-win.spec                         | 43 ++++++++-
 5 files changed, 149 insertions(+), 20 deletions(-)
 create mode 100644 SOURCES/virtio-win-pre-installable-drivers-win-11.xml

diff --git a/.gitignore b/.gitignore
index 4165b6c..c99cc91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,14 @@
-SOURCES/mingw-qemu-ga-win-102.7.0-0.el8.src.rpm
-SOURCES/qemu-ga-win-102.7.0-0.el8.noarch.rpm
+SOURCES/mingw-qemu-ga-win-102.10.0-0.el8_5.src.rpm
+SOURCES/qemu-ga-win-102.10.0-0.el8_5.noarch.rpm
 SOURCES/qxl-win-unsigned-0.1-24-sources.zip
 SOURCES/spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm
 SOURCES/spice-qxl-wddm-dod-0.21-2.el8.src.rpm
 SOURCES/spice-vdagent-win-0.10.0-5.el8.src.rpm
 SOURCES/spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm
 SOURCES/spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm
-SOURCES/virtio-win-1.9.19-bin-for-rpm.tar.gz
+SOURCES/virtio-win-1.9.24-bin-for-rpm.tar.gz
 SOURCES/virtio-win-gt-x64.msi
 SOURCES/virtio-win-gt-x86.msi
 SOURCES/virtio-win-guest-tools.exe
-SOURCES/virtio-win-installer-1.9.18-3-sources.zip
-SOURCES/virtio-win-prewhql-0.1-208-sources.zip
+SOURCES/virtio-win-installer-1.9.19-11-sources.zip
+SOURCES/virtio-win-prewhql-0.1-215-sources.zip
diff --git a/.virtio-win.metadata b/.virtio-win.metadata
index d1a8db8..71e22eb 100644
--- a/.virtio-win.metadata
+++ b/.virtio-win.metadata
@@ -1,14 +1,14 @@
-b6f9fe272b31e82d96b655cab6e7ff71ac90eaee SOURCES/mingw-qemu-ga-win-102.7.0-0.el8.src.rpm
-7790b1263dcfce8dc7237d8f60e278f6b008e9a5 SOURCES/qemu-ga-win-102.7.0-0.el8.noarch.rpm
+90289233838c449e4d386071c1d18f707abf2b32 SOURCES/mingw-qemu-ga-win-102.10.0-0.el8_5.src.rpm
+c5dabada049d2b79c9d4f84f4da025f742d1522e SOURCES/qemu-ga-win-102.10.0-0.el8_5.noarch.rpm
 1cb09750a3a1965a147889f5db3ec7b8feb005b8 SOURCES/qxl-win-unsigned-0.1-24-sources.zip
 95dab7088166ba71366bcbcb099267d771d61661 SOURCES/spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm
 055c8fe47a378ef48b89846ba9c2474238ad9aea SOURCES/spice-qxl-wddm-dod-0.21-2.el8.src.rpm
 085728c7db3503db1f7c8f1d264ca45b365d6837 SOURCES/spice-vdagent-win-0.10.0-5.el8.src.rpm
 fb35d3c12b9069133e651f54c35ae6ee68537959 SOURCES/spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm
 2d4bd6f8fb1b306f4d49a5a990e2da9c5f5baeac SOURCES/spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm
-1f66eabda48adeee61841564df53f707432eb086 SOURCES/virtio-win-1.9.19-bin-for-rpm.tar.gz
-9f9968d2ea32ceadf8732af3a343da3a11729218 SOURCES/virtio-win-gt-x64.msi
-48b7c4d302c1ab78421da47431a7b0bdf3c14a88 SOURCES/virtio-win-gt-x86.msi
-0ef087f6edee2415ea9b063181a115ad837e2f1f SOURCES/virtio-win-guest-tools.exe
-b006f7fdaa9e3586619478453ce7a20b2dab6b5c SOURCES/virtio-win-installer-1.9.18-3-sources.zip
-20fc86cd30879eba041a10d10db9c97ac30e3e4f SOURCES/virtio-win-prewhql-0.1-208-sources.zip
+2f867f7df39cd09eda0394bba2bad3acdca66896 SOURCES/virtio-win-1.9.24-bin-for-rpm.tar.gz
+dc30b8fbe610b4fcd61e2cf9f0f78a14f7fc74e7 SOURCES/virtio-win-gt-x64.msi
+edc97400b32296fafde8179e83f5a39582772354 SOURCES/virtio-win-gt-x86.msi
+42a233ba04a7ea7ec57d9d24d753e4fdfaa78461 SOURCES/virtio-win-guest-tools.exe
+7290fe32a462de46cbc2404d69c1a3e9788f6bb6 SOURCES/virtio-win-installer-1.9.19-11-sources.zip
+55504e151e1d76fe3208328a2d3c871f149c4d33 SOURCES/virtio-win-prewhql-0.1-215-sources.zip
diff --git a/SOURCES/agents.json b/SOURCES/agents.json
index 07b17be..5c51582 100644
--- a/SOURCES/agents.json
+++ b/SOURCES/agents.json
@@ -2,12 +2,12 @@
   "agents": [
     {
       "arch": "x86",
-      "agent_version": "102.7.0-0",
+      "agent_version": "102.10.0-0",
       "name": "Red Hat QEMU guest agent"
     },
     {
       "arch": "amd64",
-      "agent_version": "102.7.0-0",
+      "agent_version": "102.10.0-0",
       "name": "Red Hat QEMU guest agent"
     },
     {
diff --git a/SOURCES/virtio-win-pre-installable-drivers-win-11.xml b/SOURCES/virtio-win-pre-installable-drivers-win-11.xml
new file mode 100644
index 0000000..766758f
--- /dev/null
+++ b/SOURCES/virtio-win-pre-installable-drivers-win-11.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<libosinfo version="0.0.1">
+
+  <os id="http://microsoft.com/win/11">
+    <short-id>win11</short-id>
+    <name>Microsoft Windows 11</name>
+    <name xml:lang="ca">Microsoft Windows 11</name>
+    <name xml:lang="es">Microsoft Windows 11</name>
+    <name xml:lang="fr">Microsoft Windows 11</name>
+    <name xml:lang="id">Microsoft Windows 11</name>
+    <name xml:lang="it">Microsoft Windows 11</name>
+    <name xml:lang="pl">Microsoft Windows 11</name>
+    <name xml:lang="tr">Microsoft Windows 11</name>
+    <name xml:lang="uk">Microsoft Windows 11</name>
+    <vendor>Microsoft Corporation</vendor>
+    <vendor xml:lang="ca">Microsoft Corporation</vendor>
+    <vendor xml:lang="de">Microsoft Corporation</vendor>
+    <vendor xml:lang="es">Microsoft Corporation</vendor>
+    <vendor xml:lang="fr">Microsoft Corporation</vendor>
+    <vendor xml:lang="id">Microsoft Corporation</vendor>
+    <vendor xml:lang="it">Microsoft Corporation</vendor>
+    <vendor xml:lang="ja">Microsoft Corporation</vendor>
+    <vendor xml:lang="pl">Microsoft Corporation</vendor>
+    <vendor xml:lang="pt_BR">Microsoft Corporation</vendor>
+    <vendor xml:lang="tr">Microsoft Corporation</vendor>
+    <vendor xml:lang="uk">Корпорація Microsoft</vendor>
+
+    
+    <driver signed="true" pre-installable="true" location="file:///usr/share/virtio-win/drivers/by-os/amd64/w11/" arch="x86_64">
+      <file>balloon.cat</file>
+      <file>balloon.inf</file>
+      <file>balloon.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1002"/> 
+      <device id="http://pcisig.com/pci/1af4/1045"/> 
+
+      <file>netkvm.cat</file>
+      <file>netkvm.inf</file>
+      <file>netkvm.sys</file>
+      <file>netkvmco.dll</file>
+      <device id="http://pcisig.com/pci/1af4/1000"/> 
+      <device id="http://pcisig.com/pci/1af4/1041"/> 
+
+      <file>pvpanic.cat</file>
+      <file>pvpanic.inf</file>
+      <file>pvpanic.sys</file>
+
+      <file>qemufwcfg.cat</file>
+      <file>qemufwcfg.inf</file>
+
+      <file>qemupciserial.cat</file>
+      <file>qemupciserial.inf</file>
+
+      <file>viohidkmdf.sys</file>
+      <file>vioinput.cat</file>
+      <file>vioinput.inf</file>
+      <file>vioinput.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1052"/> 
+
+      <file>viorng.cat</file>
+      <file>viorng.inf</file>
+      <file>viorng.sys</file>
+      <file>viorngci.dll</file>
+      <file>viorngum.dll</file>
+      <device id="http://pcisig.com/pci/1af4/1005"/> 
+      <device id="http://pcisig.com/pci/1af4/1044"/> 
+
+      <file>vioscsi.cat</file>
+      <file>vioscsi.inf</file>
+      <file>vioscsi.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1004"/> 
+      <device id="http://pcisig.com/pci/1af4/1048"/> 
+
+      <file>vioser.cat</file>
+      <file>vioser.inf</file>
+      <file>vioser.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1003"/> 
+      <device id="http://pcisig.com/pci/1af4/1043"/> 
+
+      <file>viostor.cat</file>
+      <file>viostor.inf</file>
+      <file>viostor.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1001"/> 
+      <device id="http://pcisig.com/pci/1af4/1042"/> 
+
+      <file>viofs.cat</file>
+      <file>viofs.inf</file>
+      <file>viofs.sys</file>
+      <device id="http://pcisig.com/pci/1af4/105a"/>
+
+      <file>viogpudo.cat</file>
+      <file>viogpudo.inf</file>
+      <file>viogpudo.sys</file>
+      <device id="http://pcisig.com/pci/1af4/1050"/>
+    </driver>
+  </os>
+</libosinfo>
diff --git a/SPECS/virtio-win.spec b/SPECS/virtio-win.spec
index 3365c40..9ed16a0 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-208
-%global qemu_ga_win_build qemu-ga-win-102.7.0-0.el8
+%global virtio_win_prewhql_build virtio-win-prewhql-0.1-215
+%global qemu_ga_win_build qemu-ga-win-102.10.0-0.el8_5
 %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.18-3
+%global windows_installer_version -1.9.19-11
 
 Summary: VirtIO para-virtualized drivers for Windows(R)
 Name: virtio-win
-Version: 1.9.19
-Release: 1%{?dist}
+Version: 1.9.24
+Release: 2%{?dist}
 Group: Applications/System
 URL: http://www.redhat.com/
 BuildArch: noarch
@@ -66,6 +66,7 @@ Source70: virtio-win-pre-installable-drivers-win-7.xml
 Source71: virtio-win-pre-installable-drivers-win-8.xml
 Source72: virtio-win-pre-installable-drivers-win-8.1.xml
 Source73: virtio-win-pre-installable-drivers-win-10.xml
+Source74: virtio-win-pre-installable-drivers-win-11.xml
 Source80: agents.json
 %endif
 
@@ -183,6 +184,9 @@ add_link _servers_amd64.vfd
 
 %{__mkdir} -p %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-10.d/
 %{__cp} %{SOURCE73} %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-10.d/
+
+%{__mkdir} -p %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-11.d/
+%{__cp} %{SOURCE74} %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-11.d/
 %endif
 
 %{__cp} -a rpm-drivers %{buildroot}/%{_datadir}/%{name}/drivers
@@ -265,6 +269,7 @@ add_link _servers_amd64.vfd
 %{_datadir}/osinfo/os/microsoft.com/win-8.d/virtio-win-pre-installable-drivers-win-8.xml
 %{_datadir}/osinfo/os/microsoft.com/win-8.1.d/virtio-win-pre-installable-drivers-win-8.1.xml
 %{_datadir}/osinfo/os/microsoft.com/win-10.d/virtio-win-pre-installable-drivers-win-10.xml
+%{_datadir}/osinfo/os/microsoft.com/win-11.d/virtio-win-pre-installable-drivers-win-11.xml
 %endif
 
 # .json files
@@ -273,6 +278,34 @@ add_link _servers_amd64.vfd
 %endif
 
 %changelog
+* Fri Jan 14 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.24-2.el8
+- Update installer to 1.0.19.11
+- Resolves: rhbz#2033400
+
+* Thu Jan 13 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-4.el8
+- Update installer to 1.0.19.10
+- Resolves: rhbz#2033400
+
+* Sat Jan 08 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-2.el8
+- Update installer to 1.0.19.5
+- Resolves: rhbz#2033400
+
+* Fri Jan 07 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-1.el8
+- Update installer to 1.0.19.5
+- Resolves: rhbz#2033400
+
+* Wed Dec 29 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.21-1.el8
+- Update installer to 1.0.19.4
+- Resolves: rhbz#2033400
+
+* Sun Dec 19 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.20-3.el8
+- Update installer to 1.0.19.2
+- Resolves: rhbz#2033400
+
+* Tue Dec 14 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.20-2.el8
+- Update installer to 1.0.19.1
+- Resolves: rhbz#2033400
+
 * Sun Sep 12 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.19-1.el8
 - update to build 208
 - Resolves: rhbz#1996949
-- 
GitLab