Compare commits

..

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

14
.gitignore vendored

@ -1,16 +1,16 @@
SOURCES/mingw-qemu-ga-win-108.0.2-1.el9.src.rpm
SOURCES/qemu-ga-win-108.0.2-1.el9.noarch.rpm
SOURCES/mingw-qemu-ga-win-106.0.1-1.el9.src.rpm
SOURCES/qemu-ga-win-106.0.1-1.el9.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.44-bin-for-rpm.tar.gz
SOURCES/virtio-win-1.9.35-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.44-0-sources.zip
SOURCES/virtio-win-prewhql-0.1-266-sources.zip
SOURCES/winfsp-2.0.23075-sources.zip
SOURCES/winfsp-2.0.23075.msi
SOURCES/virtio-win-installer-1.9.35-0-sources.zip
SOURCES/virtio-win-prewhql-0.1-240-sources.zip
SOURCES/winfsp-1.12.22339-sources.zip
SOURCES/winfsp-1.12.22339.msi

@ -1,16 +1,16 @@
2edafa2d96588ea5a559f1b29e9bf5669e505f02 SOURCES/mingw-qemu-ga-win-108.0.2-1.el9.src.rpm
f3a5cf94bde206e52d084bd0cd6695adba4eb2fb SOURCES/qemu-ga-win-108.0.2-1.el9.noarch.rpm
82c187edce788f5968c227cc1da3db001250c35d SOURCES/mingw-qemu-ga-win-106.0.1-1.el9.src.rpm
27ab2810f7ad43b9a6348d10b2d09142ab0be776 SOURCES/qemu-ga-win-106.0.1-1.el9.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
fdb57fb57cfc64377c1c429ae919a1747b6e343c SOURCES/virtio-win-1.9.44-bin-for-rpm.tar.gz
53b152b0ac65f73cde78afdaa2eef8fa927cce1b SOURCES/virtio-win-gt-x64.msi
488d604e74ed568b0ff049c2e8ef054068849726 SOURCES/virtio-win-gt-x86.msi
78a095ccc18d0c48e128f2f9227be4112bf43de1 SOURCES/virtio-win-guest-tools.exe
438e7fed35c81b27a0d2a67cc67817d921db6f24 SOURCES/virtio-win-installer-1.9.44-0-sources.zip
b4c7f106c95cd9ac7cae41b8d2b6906e6ad85932 SOURCES/virtio-win-prewhql-0.1-266-sources.zip
8cbe79255a6749d23d5dec0d2cd51f22fb02a927 SOURCES/winfsp-2.0.23075-sources.zip
89c1012ca71e4863d8f5329a7addfa05e0f51e62 SOURCES/winfsp-2.0.23075.msi
e0cb9d972c38cec824cc4d84b54110ae54f5cfba SOURCES/virtio-win-1.9.35-bin-for-rpm.tar.gz
756bab2368d28ec936af496a8a3e9723a50ffc35 SOURCES/virtio-win-gt-x64.msi
33159bbbb6242fec2425634ab78472167580d206 SOURCES/virtio-win-gt-x86.msi
97f1f48ec0ea0bb449dad57227b458024e7dd441 SOURCES/virtio-win-guest-tools.exe
0621a23248ae02eba9d1efde00d6abd7196acfdf SOURCES/virtio-win-installer-1.9.35-0-sources.zip
cb231b467e637e938529c5f75512cf1e6eb9ee8a SOURCES/virtio-win-prewhql-0.1-240-sources.zip
151e6a4b1d429c5bbb768f4aee51055708832ae5 SOURCES/winfsp-1.12.22339-sources.zip
ced3777f88438097ee0f4fc94ac951e4d2f2b602 SOURCES/winfsp-1.12.22339.msi

@ -1,288 +0,0 @@
# This script collects various system information for diagnostic
# purposes. The collected data includes system configuration,
# event logs, driver lists, registry information, update logs,
# services, uptime, running processes, installed applications,
# installed KBs, and memory dumps.
# Copyright (c) 2024 Red Hat, Inc. and/or its affiliates. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. 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.
# 3. Neither the names of the copyright holders nor the names of their contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
# 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 HOLDERS 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.
# Ensure the script runs with an unrestricted execution policy (for Windows 10 and Windows Server 2016)
# Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
# For gathering event logs run the script as an administrator
# IncludeSensitiveData is used to include memory dumps add this parameter to your command line to collect them
# Example: .\CollectSystemInfo.ps1 -IncludeSensitiveData
param (
[switch]$IncludeSensitiveData,
[switch]$Help
)
Add-Type -AssemblyName 'System.IO.Compression.FileSystem'
function Compress-Files {
param (
[string]$SourcePath,
[string]$DestinationPath
)
[System.IO.Compression.ZipFile]::CreateFromDirectory($SourcePath, $DestinationPath)
}
function Show-Help {
Write-Host "Usage: .\CollectSystemInfo.ps1 [-IncludeSensitiveData] [-Help]"
Write-Host ""
Write-Host "Parameters:"
Write-Host " -IncludeSensitiveData Include sensitive data (memory dump)"
Write-Host " -Help Show this help message"
Write-Host ""
Write-Host "If no parameters are provided, the script will run with default behavior."
}
function Export-SystemConfiguration {
try {
Write-Host 'Collecting system configuration started it may take a while...'
Start-Process -FilePath 'msinfo32.exe' -ArgumentList '/report', (Join-Path $logfolderPath 'msinfo32.txt') -Wait
Write-Host 'System configuration collection completed.'
} catch {
Write-Warning "Failed to collect system configuration: $_"
}
}
function Export-EventLogs {
try {
$logNames = @('system', 'security', 'application')
foreach ($logName in $logNames) {
$logPath = Join-Path $logfolderPath "$logName.evtx"
wevtutil epl $logName $logPath
wevtutil al $logPath
}
Write-Host 'Event logs collection completed.'
} catch {
Write-Warning "Failed to collect event logs: $_"
}
}
function Export-DriversList {
try {
Get-WindowsDriver -Online -All | Select-Object -Property * | Export-Csv -Path (Join-Path $logfolderPath 'drv_list.csv') -NoTypeInformation
Write-Host 'Drivers list collection completed.'
} catch {
Write-Warning "Failed to collect drivers list: $_"
}
}
function Export-VirtioWinStorageDrivers {
$registryPaths = @(
'HKLM:\SYSTEM\CurrentControlSet\Services\Disk',
'HKLM:\SYSTEM\CurrentControlSet\Services\viostor\Parameters',
'HKLM:\SYSTEM\CurrentControlSet\Services\vioscsi\Parameters'
)
$valuesToQuery = @('IoTimeoutValue', 'TimeoutValue')
foreach ($path in $registryPaths) {
foreach ($value in $valuesToQuery) {
$property = Get-ItemProperty -Path $path -Name $value -ErrorAction SilentlyContinue
$output = "$path\$value : $($property.$value)"
$output | Out-File -FilePath (Join-Path $logfolderPath 'virtio_disk.txt') -Append
}
}
Write-Host 'Virtio-Win storage drivers configuration collection completed.'
}
function Export-WindowsUpdateLogs {
try {
$logPath = Join-Path $logfolderPath 'WindowsUpdate.log'
$command = "Get-WindowsUpdateLog -LogPath '$logPath'"
Start-Process -FilePath 'powershell.exe' -ArgumentList '-NoLogo', '-NoProfile', '-Command', $command -NoNewWindow -Wait -RedirectStandardOutput (Join-Path $logfolderPath 'OutputWindowsUpdate.log') -RedirectStandardError (Join-Path $logfolderPath 'ErrorWindowsUpdate.log')
Write-Host 'Windows Update logs collection completed.'
} catch {
Write-Warning "Failed to collect Windows Update logs: $_"
}
}
function Export-WindowsUptime {
try {
$uptime = (Get-Date) - (gcim Win32_OperatingSystem).LastBootUpTime
$uptime.ToString() | Out-File -FilePath (Join-Path $logfolderPath 'WindowsUptime.txt')
Write-Host 'Windows uptime collection completed.'
} catch {
Write-Warning "Failed to collect Windows uptime: $_"
}
}
function Export-ServicesList {
try {
Get-Service | Select-Object -Property Name, DisplayName, Status, StartType | Export-Csv -Path (Join-Path $logfolderPath 'Services.csv') -NoTypeInformation
Write-Host 'Services list collection completed.'
} catch {
Write-Warning "Failed to collect list of services: $_"
}
}
function Export-RunningProcesses {
try {
Get-Process | Select-Object -Property Id, ProcessName, StartTime | Export-Csv -Path (Join-Path $logfolderPath 'RunningProcesses.csv') -NoTypeInformation
Write-Host 'Running processes collection completed.'
} catch {
Write-Warning "Failed to collect list of running processes: $_"
}
}
function Export-InstalledApplications {
try {
Get-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' |
Select-Object -Property DisplayName, DisplayVersion, Publisher, InstallDate |
Export-Csv -Path (Join-Path $logfolderPath 'InstalledApplications.csv') -NoTypeInformation
Write-Host 'Installed applications collection completed.'
} catch {
Write-Warning "Failed to collect list of installed applications: $_"
}
}
function Export-InstalledKBs {
try {
Get-HotFix | Select-Object -Property Description, HotFixID, InstalledOn | Export-Csv -Path (Join-Path $logfolderPath 'InstalledKBs.csv') -NoTypeInformation
Write-Host 'Installed KBs collection completed.'
} catch {
Write-Warning "Failed to collect list of installed KBs: $_"
}
}
function Export-NetworkConfiguration {
try {
Get-NetAdapterAdvancedProperty | Out-File -FilePath (Join-Path $logfolderPath 'NetworkInterfaces.txt')
ipconfig /all | Out-File -FilePath (Join-Path $logfolderPath 'IPConfiguration.txt')
Write-Host 'Network configuration collection completed.'
} catch {
Write-Warning "Failed to collect network configuration: $_"
}
}
function Export-WindowsMemoryDump {
$memoryDumpPaths = @("$env:SystemRoot\MEMORY.DMP", "$env:SystemRoot\Minidump")
foreach ($dump in $memoryDumpPaths) {
Copy-Item -Path $dump -Destination $dumpfolderPath -Recurse -ErrorAction SilentlyContinue
}
Write-Host 'Windows memory dump collection completed.'
}
function Write-InformationToArchive {
param (
[string]$FolderPath,
[string]$SubFolderPath,
[string]$ArchiveFileName
)
try {
$archivePath = Join-Path -Path $FolderPath -ChildPath "$ArchiveFileName.zip"
Compress-Files -SourcePath $SubFolderPath -DestinationPath $archivePath
Write-Host "Archiving completed ($ArchiveFileName.zip)."
} catch {
Write-Warning "Failed to archive ($ArchiveFileName.zip): $_"
}
}
function StopTranscriptAndCloseFile {
if ($transcriptStarted) {
Stop-Transcript | Out-Null
$transcriptStarted = $false
}
}
$validParams = @('IncludeSensitiveData', 'Help')
if ($Help -or $args -contains '-?' -or $args -contains '--Help') {
Show-Help
return
}
foreach ($param in $args) {
if ($param -notlike '-*' -or ($param -like '-*' -and $validParams -notcontains $param.TrimStart('-'))) {
Write-Host "A parameter cannot be found that matches parameter name '$param'"
Show-Help
return
}
}
$breakHandler = {
Write-Host "Script interrupted by user. Stopping transcript..."
StopTranscriptAndCloseFile
exit
}
Register-EngineEvent -SourceIdentifier ConsoleBreak -Action $breakHandler | Out-Null
Register-EngineEvent -SourceIdentifier PowerShell.Exiting -Action $breakHandler | Out-Null
$timestamp = Get-Date -Format 'yyyy-MM-dd_HH-mm-ss'
$folderName = "SystemInfo_$timestamp"
$logfolderName = "Log_folder_$timestamp"
$dumpfolderName = "Dump_folder_$timestamp"
$folderPath = Join-Path -Path (Get-Location) -ChildPath $folderName
$logfolderPath = Join-Path -Path $folderPath -ChildPath $logfolderName
$dumpfolderPath = Join-Path -Path $folderPath -ChildPath $dumpfolderName
$progressFile = "$folderPath\Collecting_Status.txt"
New-Item -Path $logfolderPath -ItemType Directory | Out-Null
New-Item -Path $progressFile -ItemType File | Out-Null
Write-Host "Starting system info collecting into $folderPath"
Write-Output "Log folder path: $logfolderPath"
try {
Start-Transcript -Path $progressFile -Append
$transcriptStarted = $true
Export-SystemConfiguration
Export-EventLogs
Export-DriversList
Export-VirtioWinStorageDrivers
Export-WindowsUpdateLogs
Export-ServicesList
Export-WindowsUptime
Export-RunningProcesses
Export-InstalledApplications
Export-InstalledKBs
Export-NetworkConfiguration
if ($IncludeSensitiveData) {
Write-Output "Dump folder path: $dumpfolderPath"
New-Item -Path $dumpfolderPath -ItemType Directory | Out-Null
Export-WindowsMemoryDump
}
} catch {
$errorMsg = "An error occurred: $_"
Write-Host $errorMsg
Add-Content -Path $progressFile -Value $errorMsg
} finally {
StopTranscriptAndCloseFile
Unregister-Event -SourceIdentifier ConsoleBreak
Unregister-Event -SourceIdentifier PowerShell.Exiting
}
Remove-Item -Path $progressFile -ErrorAction SilentlyContinue
Write-InformationToArchive -FolderPath $folderPath -SubFolderPath $logfolderPath -ArchiveFileName $logfolderName
if ($IncludeSensitiveData) {
Write-InformationToArchive -FolderPath $folderPath -SubFolderPath $dumpfolderPath -ArchiveFileName $dumpfolderName
}

@ -1,28 +0,0 @@
Copyright 2024 Red Hat, Inc. and/or its affiliates.
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.
Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
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.

@ -1,55 +0,0 @@
# CollectSystemInfo
## Overview
This PowerShell script is designed for comprehensive system diagnostics. It gathers a wide range of information, including system configuration, event logs, drivers, registry settings, update logs, services, uptime, processes, installed applications, installed KBs (knowledge base articles), network configuration, and optionally, memory dumps.
The collected data is organized into two subfolders within the time-stamped summary folder, one for log and the other for dump. and then compressed into two ZIP archives correspondingly for easy sharing and analysis.
## Usage
1. **Prerequisites:**
- PowerShell (Windows 10/Windows Server 2016 or later)
- Administrative privileges (for collecting event logs)
- Ensure the script runs with an unrestricted execution policy (for Windows 10 and Windows Server 2016):
```powershell
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
```
2. **Running the Script:**
- Open PowerShell as an administrator.
- Navigate to the script's directory.
- Execute the script:
```powershell
.\CollectSystemInfo.ps1 -IncludeSensitiveData
```
- `-IncludeSensitiveData`: Optional switch to include memory dumps in the collection (use with caution).
- `-Help`: Provide basic usage of the script.
3. **Output:**
- A folder named `SystemInfo_YYYY-MM-DD_HH-MM-SS` will be created in the script's directory.
- This folder contains the collected data folders:
- A foler named `Log_folder_YYYY-MM-DD_HH-MM-SS` will be created for log data.
- A ZIP archive named `Log_folder_YYYY-MM-DD_HH-MM-SS.zip` will also be created correspondingly.
- A foler named `Dump_folder_YYYY-MM-DD_HH-MM-SS` will be created for dump files if add param `-IncludeSensitiveData`.
- A ZIP archive named `Dump_folder_YYYY-MM-DD_HH-MM-SS.zip` will also be created correspondingly.
## Data Collected
- `msinfo32.txt`: Detailed hardware and software configuration report.
- `system.evtx`, `security.evtx`, `application.evtx`: System, Security, and Application event logs.
- `drv_list.csv`: List of all installed drivers.
- `virtio_disk.txt`: Specific configuration details for Virtio-Win storage drivers.
- `WindowsUpdate.log`: Detailed logs of Windows Update activity.
- `Services.csv`: List of services and their status.
- `WindowsUptime.txt`: Duration since the last system boot.
- `RunningProcesses.csv`: Snapshot of active processes.
- `InstalledApplications.csv`: List of installed applications.
- `InstalledKBs.csv`: List of installed Windows updates.
- `NetworkInterfaces.txt` and `IPConfiguration.txt`: Network configuration details.
- `MEMORY.DMP` and `Minidump` folder: Full or mini memory dumps (if `-IncludeSensitiveData` is used).
- `Collecting_Status.txt`: Generated during data collection and deleted after completion. If the script is interrupted, this file indicates incomplete data collection.
## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.

@ -2,12 +2,12 @@
"agents": [
{
"arch": "x86",
"agent_version": "108.0.2-1",
"agent_version": "106.0.1-1",
"name": "Red Hat QEMU guest agent"
},
{
"arch": "amd64",
"agent_version": "108.0.2-1",
"agent_version": "106.0.1-1",
"name": "Red Hat QEMU guest agent"
},
{

@ -1,114 +0,0 @@
|Driver Name |Build|Windows OS |
|-------------|-----|--------------------------|
| | | |
|viofs | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|viostor | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|vioscsi | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|viorng | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|balloon | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|fwcfg | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|pvpanic | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|viofs | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|vioinput | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|vioserial | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|viogpudo | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|NetKVM | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|viomem | 266 |Windows 10 (22H2) |
| | 266 |Windows 11 (24H2) 26100 |
| | 266 |Windows server 2016 |
| | 266 |Windows server 2019 |
| | 266 |Windows server 2022 |
| | 266 |Windows server 2025(26100)|
| | | |
|qemupciserial| 221 |Windows 10 (22H2) |
| | 221 |Windows 11 (24H2) 26100 |
| | 221 |Windows server 2016 |
| | 221 |Windows server 2019 |
| | 221 |Windows server 2022 |
| | 221 |Windows server 2025(26100)|
| | | |
|qemufwcfg | 221 |Windows 10 (22H2) |
| | 221 |Windows 11 (24H2) 26100 |
| | 221 |Windows server 2016 |
| | 221 |Windows server 2019 |
| | 221 |Windows server 2022 |
| | 221 |Windows server 2025(26100)|
| | | |
|smbus | 221 |Windows 10 (22H2) |
| | 221 |Windows 11 (24H2) 26100 |
| | 221 |Windows server 2016 |
| | 221 |Windows server 2019 |
| | 221 |Windows server 2022 |
| | 221 |Windows server 2025(26100)|

@ -36,8 +36,7 @@
<file>netkvm.cat</file>
<file>netkvm.inf</file>
<file>netkvm.sys</file>
<file>netkvmco.exe</file>
<file>netkvmp.exe</file>
<file>netkvmco.dll</file>
<device id="http://pcisig.com/pci/1af4/1000"/>
<device id="http://pcisig.com/pci/1af4/1041"/>
@ -61,6 +60,7 @@
<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"/>
@ -97,11 +97,6 @@
<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">
@ -114,8 +109,7 @@
<file>netkvm.cat</file>
<file>netkvm.inf</file>
<file>netkvm.sys</file>
<file>netkvmco.exe</file>
<file>netkvmp.exe</file>
<file>netkvmco.dll</file>
<device id="http://pcisig.com/pci/1af4/1000"/>
<device id="http://pcisig.com/pci/1af4/1041"/>
@ -139,6 +133,7 @@
<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"/>

@ -36,8 +36,7 @@
<file>netkvm.cat</file>
<file>netkvm.inf</file>
<file>netkvm.sys</file>
<file>netkvmco.exe</file>
<file>netkvmp.exe</file>
<file>netkvmco.dll</file>
<device id="http://pcisig.com/pci/1af4/1000"/>
<device id="http://pcisig.com/pci/1af4/1041"/>
@ -93,11 +92,6 @@
<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>

@ -47,10 +47,6 @@
<file>pvpanic.inf</file>
<file>pvpanic.sys</file>
<file>fwcfg64.cat</file>
<file>fwcfg64.inf</file>
<file>fwcfg64.sys</file>
<file>qemupciserial.cat</file>
<file>qemupciserial.inf</file>

@ -49,10 +49,6 @@
<file>pvpanic.inf</file>
<file>pvpanic.sys</file>
<file>fwcfg64.cat</file>
<file>fwcfg64.inf</file>
<file>fwcfg64.sys</file>
<file>qemupciserial.cat</file>
<file>qemupciserial.inf</file>

@ -8,19 +8,19 @@
# 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-266
%global qemu_ga_win_build qemu-ga-win-108.0.2-1.el9
%global virtio_win_prewhql_build virtio-win-prewhql-0.1-240
%global qemu_ga_win_build qemu-ga-win-106.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.44-0
%global winfsp_version -2.0.23075
%global windows_installer_version -1.9.35-0
%global winfsp_version -1.12.22339
Summary: VirtIO para-virtualized drivers for Windows(R)
Name: virtio-win
Version: 1.9.44
Release: 1%{?dist}
Version: 1.9.35
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
URL: http://www.redhat.com/
@ -45,19 +45,21 @@ Source11: winfsp%{winfsp_version}-sources.zip
Source20: virtio-win-guest-tools.exe
Source21: virtio-win-gt-x86.msi
Source22: virtio-win-gt-x64.msi
%if 0%{?fedora}
Source23: virtio-win-guest-tools-installer-%{version}.tar.gz
%else
Source23: virtio-win-installer%{windows_installer_version}-sources.zip
%endif
Source24: winfsp%{winfsp_version}.msi
%if 0%{?rhel}
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
Source81: release-drivers-versions.txt
Source82: CollectSystemInfo.ps1
Source83: LICENSE
Source84: README.md
%endif
BuildRequires: /usr/bin/mkisofs
@ -107,13 +109,8 @@ popd
%{__cp} %{SOURCE22} iso-content/
%{__cp} %{SOURCE24} iso-content/
%{__cp} %{SOURCE81} iso-content/
mkdir -p iso-content/tools
mkdir -p iso-content/tools/debug
%{__cp} %{SOURCE82} iso-content/tools/debug/
%{__cp} %{SOURCE83} iso-content/tools/debug/
%{__cp} %{SOURCE84} iso-content/tools/debug/
%if 0%{?rhel} > 7
# Dropping unsupported Windows versions.
# It's done here to fix two issues at the same time: do not
# release them in iso AND as binary drivers.
@ -133,6 +130,7 @@ for srcdir in iso-content rpm-drivers; do
rm_driver_dir Win2003
rm_driver_dir Win2008
done
%endif
%build
@ -160,6 +158,15 @@ add_link() {
# Install .iso, create non-versioned symlink
add_link .iso
# RHEL-8 does not support vfd images
%if 0%{?rhel} <= 7
add_link _x86.vfd
add_link _amd64.vfd
add_link _servers_x86.vfd
add_link _servers_amd64.vfd
%endif
%if 0%{?rhel}
%{__mkdir} -p %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-7.d/
%{__cp} %{SOURCE70} %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/win-7.d/
@ -174,16 +181,14 @@ add_link .iso
%{__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
%if 0%{?rhel}
%{__cp} %{SOURCE80} %{buildroot}/%{_datadir}/%{name}/
%{__cp} iso-content/data/*.json %{buildroot}/%{_datadir}/%{name}/
%{__cp} %{SOURCE81} %{buildroot}/%{_datadir}/%{name}/
%{__mkdir} -p %{buildroot}/%{_datadir}/%{name}/tools/debug/
%{__cp} %{SOURCE82} %{buildroot}/%{_datadir}/%{name}/tools/debug/
%{__cp} %{SOURCE83} %{buildroot}/%{_datadir}/%{name}/tools/debug/
%{__cp} %{SOURCE84} %{buildroot}/%{_datadir}/%{name}/tools/debug/
%endif
# Copy the guest agent .msi into final RPM location
%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/guest-agent/
@ -234,57 +239,47 @@ add_link .iso
%{_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}
%{_datadir}/%{name}/drivers/by-driver/smbus
%endif
%{_datadir}/%{name}/drivers/by-os/i386
%{_datadir}/%{name}/drivers/by-os/amd64
%if 0%{?fedora}
%{_datadir}/%{name}/drivers/by-os/ARM64
%endif
%if 0%{?rhel} <= 7
%{_datadir}/%{name}/*.vfd
%endif
%{_datadir}/%{name}/installer/*.msi
%{_datadir}/%{name}/installer/*.exe
# osinfo-db drop-in files
%if 0%{?rhel}
%{_datadir}/osinfo/os/microsoft.com/win-7.d/virtio-win-pre-installable-drivers-win-7.xml
%{_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
%if 0%{?rhel}
%{_datadir}/%{name}/*.json
%{_datadir}/%{name}/release-drivers-versions.txt
%{_datadir}/%{name}/tools/*
%endif
%changelog
* Mon Dec 09 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.44.1 with the latest agents RHEL-9.5.0.Z
- Related: #37523
* Fri Dec 06 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.44.0 with the latest agents RHEL-9.5.0.Z
- Related: #37523
* Wed Aug 21 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.40.0 with the latest agents RHEL-9.4.0.Z
- Related: #18190
* Tue Jan 09 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update to 1.9.36.0
- Resolves: #18190
* Sat Jun 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
- Use the SPDX vocabulary to specify the license. Jira RHEL-581
* Sun Aug 27 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.35.0 with the latest agents RHEL-9.3.0
- Related: #420
* Tue May 30 2023 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.34-0.c9s
- Update to 1.9.34.0
- Resolves: #420
* Mon Feb 27 2023 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.32-0.c9s
- Update to 1.9.32.0
- Resolves: rhbz#2123350
* Sat Jul 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.34.0 with the latest agents RHEL-9.3.0
- Related: #420
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags

Loading…
Cancel
Save