Compare commits

..

No commits in common. "c10s" and "c8s" have entirely different histories.
c10s ... c8s

23 changed files with 132 additions and 1181 deletions

244
.gitignore vendored
View File

@ -1,238 +1,14 @@
/virtio-win-1.6.2-bin-whql.zip
/virtio-win-1.6.2_Win7-Win8-2008-2012-drivers.zip
/virtio-win-1.6.2_xp-2k3-drivers.zip
/virtio-win-1.6.2.zip
/virtio-win-1.6.3_amd64-drivers.zip
/virtio-win-1.6.3-bin-whql.zip
/virtio-win-1.6.3_x86-drivers.zip
/virtio-win-1.6.3.zip
/virtio-win-1.6.4_x86-drivers.zip
/virtio-win-1.6.4_amd64-drivers.zip
/virtio-win-1.6.4-bin-whql.zip
/virtio-win-1.6.4.zip
/virtio-win-1.6.5_amd64-drivers.zip
/virtio-win-1.6.5-bin-whql.zip
/virtio-win-1.6.5_x86-drivers.zip
/virtio-win-1.6.5.zip
/virtio-win-1.6.6_amd64-drivers.zip
/virtio-win-1.6.6-bin-whql.zip
/virtio-win-1.6.6_x86-drivers.zip
/virtio-win-1.6.6.zip
/qemu-ga-win-6.5-4-installers.zip
/virtio-win-1.6.7_amd64-drivers.zip
/virtio-win-1.6.7-bin-whql.zip
/virtio-win-1.6.7_x86-drivers.zip
/virtio-win-1.6.7.zip
/virtio-win-1.6.8_amd64-drivers.zip
/virtio-win-1.6.8-bin-whql.zip
/virtio-win-1.6.8_x86-drivers.zip
/virtio-win-1.6.8.zip
/qemu-ga-win-6.5-5-installers.zip
/qemu-ga-win-6.5-5-sources.zip
/qemu-ga-win-7.0-5-installers.zip
/qemu-ga-win-7.0-5-sources.zip
/qemu-ga-win-7.0-7-installers.zip
/qemu-ga-win-7.0-7-sources.zip
/virtio-win-1.7.0_amd64-drivers.zip
/virtio-win-1.7.0-bin-whql.zip
/virtio-win-1.7.0_x86-drivers.zip
/virtio-win-1.7.0.zip
/qemu-ga-win-7.0-8-installers.zip
/qemu-ga-win-7.0-8-sources.zip
/virtio-win-1.7.1_amd64-drivers.zip
/virtio-win-1.7.1-bin-whql.zip
/virtio-win-1.7.1_x86-drivers.zip
/virtio-win-1.7.1.zip
/virtio-win-1.7.2_amd64-drivers.zip
/virtio-win-1.7.2-bin-whql.zip
/virtio-win-1.7.2_x86-drivers.zip
/virtio-win-1.7.2.zip
/qemu-ga-win-7.0-9-installers.zip
/qemu-ga-win-7.0-9-sources.zip
/qemu-ga-win-7.0-10-installers.zip
/qemu-ga-win-7.0-10-sources.zip
/virtio-win-1.7.3_amd64-drivers.zip
/virtio-win-1.7.3-bin-whql.zip
/virtio-win-1.7.3_x86-drivers.zip
/virtio-win-1.7.3.zip
/virtio-win-1.7.3-bin-for-rpm.zip
/qxl-win-unsigned-0.1-20-sources.zip
/virtio-win-prewhql-0.1-96-sources.zip
/virtio-win-1.7.4-bin-for-rpm.zip
/virtio-win-prewhql-0.1-102-sources.zip
/qemu-ga-win-7.2.1-1-installers.zip
/qemu-ga-win-7.2.1-1-sources.zip
/qxl-win-unsigned-0.1-24-sources.zip
/virtio-win-prewhql-0.1-110-sources.zip
/virtio-win-1.8.0-bin-for-rpm.zip
/virtio-win-1.8.0-bin-for-rpm.tar.gz
/qemu-ga-win-7.3.2-1-installers.zip
/qemu-ga-win-7.3.2-1-sources.zip
/virtio-win-prewhql-0.1-126-sources.zip
/virtio-win-1.9.0-bin-for-rpm.tar.gz
/qemu-ga-win-7.4.5-1-installers.zip
/qemu-ga-win-7.4.5-1-sources.zip
/virtio-win-prewhql-0.1-139-sources.zip
/virtio-win-1.9.1-bin-for-rpm.tar.gz
/virtio-win-1.9.2-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-140-sources.zip
/virtio-win-prewhql-0.1-141-sources.zip
/virtio-win-1.9.3-bin-for-rpm.tar.gz
/virtio-win-1.9.6-bin-for-rpm.tar.gz
/virtio-win-1.9.7-bin-for-rpm.tar.gz
/mingw-qemu-ga-win-100.0.0.0-3.el7ev.src.rpm
/qemu-ga-win-100.0.0.0-3.el7ev.noarch.rpm
/virtio-win-prewhql-0.1-171-sources.zip
/virtio-win-1.9.8-bin-for-rpm.tar.gz
/virtio-win-1.9.8-2-bin-for-rpm.tar.gz
/virtio-win-1.9.8-4-bin-for-rpm.tar.gz
/virtio-win-1.9.9-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-172-sources.zip
/mingw-qemu-ga-win-101.0.0-5.el7ev.src.rpm
/qemu-ga-win-101.0.0-5.el7ev.noarch.rpm
/virtio-win-1.9.10-bin-for-rpm.tar.gz
/virtio-win-1.9.10-2-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-173-sources.zip
/virtio-win-gt-x64.msi
/virtio-win-gt-x86.msi
/virtio-win-installer-1.9.10-1-sources.zip
/virtio-win-installer-1.9.10-3-sources.zip
/virtio-win-gt-x64-1.9.10-3.msi
/virtio-win-gt-x86-1.9.10-3.msi
/virtio-win-1.9.11-bin-for-rpm.tar.gz
/qemu-ga-win-101.1.0-1.el7ev.noarch.rpm
/mingw-qemu-ga-win-101.1.0-1.el7ev.src.rpm
/virtio-win-prewhql-0.1-180-sources.zip
/virtio-win-gt-x86-1.9.11-1.msi
/virtio-win-gt-x64-1.9.11-1.msi
/virtio-win-installer-1.9.11-1-sources.zip
/virtio-win-1.9.12-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-185-sources.zip
/virtio-win-guest-tools.exe
/ovirt-guest-agent-x64.msi
/ovirt-guest-agent-x86.msi
/virtio-win-installer-1.9.12-1-sources.zip
/spice-vdagent-win-0.10.0-2.el8.src.rpm
/spice-vdagent-win-x64-0.10.0-2.el8.noarch.rpm
/spice-vdagent-win-x86-0.10.0-2.el8.noarch.rpm
/spice-qxl-wddm-dod-0.19-2.el8.noarch.rpm
/spice-qxl-wddm-dod-0.19-2.el8.src.rpm
/virtio-win-1.9.13-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-189-sources.zip
/spice-qxl-wddm-dod-0.20-1.el8.src.rpm
/spice-qxl-wddm-dod-0.20-1.el8.noarch.rpm
/spice-vdagent-win-0.10.0-5-sources.zip
/spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm
/spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm
/mingw-qemu-ga-win-101.2.0-1.el7ev.src.rpm
/qemu-ga-win-101.2.0-1.el7ev.noarch.rpm
/virtio-win-1.9.14-bin-for-rpm.tar.gz
/spice-vdagent-win-0.10.0-5.el8.src.rpm
/virtio-win-installer-1.9.13-1-sources.zip
/virtio-win-installer-1.9.14-1-sources.zip
/virtio-win-installer-1.9.14-2-sources.zip
/virtio-win-1.9.15-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-191-sources.zip
/virtio-win-installer-1.9.15-1-sources.zip
/virtio-win-1.9.16-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-196-sources.zip
/virtio-win-installer-1.9.16-1-sources.zip
/virtio-win-installer-1.9.16-2-sources.zip
/mingw-qemu-ga-win-102.0.0-2.el8.src.rpm
/qemu-ga-win-102.0.0-2.el8.noarch.rpm
/spice-qxl-wddm-dod-0.21-2.el8.src.rpm
/spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm
/virtio-win-1.9.17-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.17-1-sources.zip
/virtio-win-prewhql-0.1-202-sources.zip
/virtio-win-installer-1.9.17-4-sources.zip
/mingw-qemu-ga-win-102.0.1-2.el8_4.src.rpm
/qemu-ga-win-102.0.1-2.el8_4.noarch.rpm
/qemu-ga-win-102.0.2-0.el8_4.noarch.rpm
/mingw-qemu-ga-win-102.0.2-0.el8_4.src.rpm
/virtio-win-installer-1.9.17-5-sources.zip
/mingw-qemu-ga-win-102.0.3-0.el8_4.src.rpm
/qemu-ga-win-102.0.3-0.el8_4.noarch.rpm
/virtio-win-installer-1.9.17-8-sources.zip
/mingw-qemu-ga-win-102.7.0-0.el8.src.rpm
/qemu-ga-win-102.7.0-0.el8.noarch.rpm
/virtio-win-installer-1.9.18-1-sources.zip
/virtio-win-1.9.18-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-207-sources.zip
/virtio-win-installer-1.9.18-2-sources.zip
/virtio-win-prewhql-0.1-208-sources.zip
/virtio-win-installer-1.9.18-3-sources.zip
/virtio-win-1.9.19-bin-for-rpm.tar.gz
/virtio-win-1.9.20-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-214-sources.zip
/virtio-win-installer-1.9.19-1-sources.zip
/virtio-win-installer-1.9.19-2-sources.zip
/virtio-win-installer-1.9.19-4-sources.zip
/virtio-win-prewhql-0.1-215-sources.zip
/virtio-win-1.9.21-bin-for-rpm.tar.gz
/mingw-qemu-ga-win-102.10.0-0.el8_5.src.rpm
/qemu-ga-win-102.10.0-0.el8_5.noarch.rpm
/virtio-win-1.9.22-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.19-5-sources.zip
/virtio-win-1.9.23-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.19-10-sources.zip
/qxl-win-unsigned-0.1-24-sources.zip
/spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm
/spice-qxl-wddm-dod-0.21-2.el8.src.rpm
/spice-vdagent-win-0.10.0-5.el8.src.rpm
/spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm
/spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm
/virtio-win-1.9.24-bin-for-rpm.tar.gz
/virtio-win-gt-x64.msi
/virtio-win-gt-x86.msi
/virtio-win-guest-tools.exe
/virtio-win-installer-1.9.19-11-sources.zip
/mingw-qemu-ga-win-103.0.0-1.el9.src.rpm
/qemu-ga-win-103.0.0-1.el9.noarch.rpm
/mingw-qemu-ga-win-103.0.0-1.el9_0.src.rpm
/qemu-ga-win-103.0.0-1.el9_0.noarch.rpm
/virtio-win-1.9.25-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-217-sources.zip
/virtio-win-installer-1.9.20-2-sources.zip
/mingw-qemu-ga-win-104.0.2-1.el9.src.rpm
/qemu-ga-win-104.0.2-1.el9.noarch.rpm
/virtio-win-1.9.26-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.26-2-sources.zip
/virtio-win-prewhql-0.1-221-sources.zip
/virtio-win-1.9.27-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.27-0-sources.zip
/virtio-win-installer-1.9.28-0-sources.zip
/virtio-win-1.9.28-bin-for-rpm.tar.gz
/virtio-win-1.9.29-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.29-0-sources.zip
/virtio-win-prewhql-0.1-225-sources.zip
/virtio-win-1.9.30-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.30-0-sources.zip
/mingw-qemu-ga-win-105.0.2-1.el9.src.rpm
/qemu-ga-win-105.0.2-1.el9.noarch.rpm
/virtio-win-installer-1.9.31-0-sources.zip
/virtio-win-prewhql-0.1-228-sources.zip
/virtio-win-1.9.31-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-229-sources.zip
/virtio-win-1.9.32-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.32-0-sources.zip
/winfsp-1.12.22339.msi
/winfsp-1.12.22339-sources.zip
/virtio-win-installer-1.9.34-0-sources.zip
/virtio-win-1.9.34-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-236-sources.zip
/mingw-qemu-ga-win-106.0.0-1.el9.src.rpm
/qemu-ga-win-106.0.0-1.el9.noarch.rpm
/mingw-qemu-ga-win-106.0.1-1.el9.src.rpm
/qemu-ga-win-106.0.1-1.el9.noarch.rpm
/virtio-win-prewhql-0.1-242-sources.zip
/virtio-win-1.9.36-bin-for-rpm.tar.gz
/virtio-win-installer-1.9.36-0-sources.zip
/winfsp-2.0.23075.msi
/winfsp-2.0.23075-sources.zip
/virtio-win-installer-1.9.40-0-sources.zip
/mingw-qemu-ga-win-108.0.1-1.el9.src.rpm
/qemu-ga-win-108.0.1-1.el9.noarch.rpm
/virtio-win-1.9.40-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-257-sources.zip
/mingw-qemu-ga-win-108.0.2-1.el9.src.rpm
/qemu-ga-win-108.0.2-1.el9.noarch.rpm
/virtio-win-installer-1.9.44-0-sources.zip
/virtio-win-prewhql-0.1-266-sources.zip
/virtio-win-1.9.44-bin-for-rpm.tar.gz
/mingw-qemu-ga-win-109.1.0-7.el10.src.rpm
/qemu-ga-win-109.1.0-7.el10.noarch.rpm
/virtio-win-installer-1.9.45-0-sources.zip
/virtio-win-prewhql-0.1-271-sources.zip
/virtio-win-1.9.45-bin-for-rpm.tar.gz
/virtio-win-prewhql-0.1-215-sources.zip

View File

@ -1,311 +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 Export-SetupAPILogs {
try {
$infPath = "$env:SystemRoot\INF"
$files = Get-ChildItem -Path $infPath -Filter 'setupapi*.log'
if (Test-Path "$env:SystemRoot\setupapi.log") {
$files += Get-Item "$env:SystemRoot\setupapi.log"
}
foreach ($file in $files) {
try {
Copy-Item -Path $file.FullName -Destination $logfolderPath -ErrorAction Stop
} catch {
Write-Warning "Failed to copy $($file.Name): $_"
}
}
Write-Host 'SetupAPI logs collection completed.'
} catch {
Write-Warning "Failed to collect SetupAPI logs: $_"
}
}
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
Export-SetupAPILogs
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
}

28
LICENSE
View File

@ -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.

View File

@ -1,56 +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, driver lists, SetupAPI logs, 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.
- `setupapi*.log`: Logs related to device and driver installations.
- `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.

View File

@ -1,7 +0,0 @@
The virtio-win RPM build process is described in detail here:
https://mojo.redhat.com/docs/DOC-1011301
Please keep in mind that the RPM spec file is largely shared with the public
Fedora drivers. If any changes are made to the spec file content, please
submit a patch to the git repo listed in the .spec file.

View File

@ -2,12 +2,12 @@
"agents": [
{
"arch": "x86",
"agent_version": "109.1.0-7",
"agent_version": "102.10.0-0",
"name": "Red Hat QEMU guest agent"
},
{
"arch": "amd64",
"agent_version": "109.1.0-7",
"agent_version": "102.10.0-0",
"name": "Red Hat QEMU guest agent"
},
{

View File

@ -1,5 +1,6 @@
--- !Policy
product_versions:
- rhel-9
- rhel-8
decision_context: osci_compose_gate
rules: []
rules:
- !PassingTestCaseRule { test_case_name: manual.sst_virtualization.virtio-win.sanity }

View File

@ -1,114 +0,0 @@
|Driver Name |Build|Windows OS |
|-------------|-----|--------------------------|
| | | |
|viofs | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |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 | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|balloon | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|fwcfg | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|pvpanic | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|viofs | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|vioinput | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|vioserial | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |Windows server 2025(26100)|
| | | |
|viogpudo | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |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 | 271 |Windows 10 (22H2) |
| | 271 |Windows 11 (24H2) 26100 |
| | 271 |Windows server 2016 |
| | 271 |Windows server 2019 |
| | 271 |Windows server 2022 |
| | 271 |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)|

22
sources
View File

@ -1,16 +1,12 @@
SHA512 (mingw-qemu-ga-win-102.10.0-0.el8_5.src.rpm) = 19cfc43bc7e0d27e42f2227ac21b30db97457228e2f84d98cbf521f9dbaad7e451dd35d3eb021b51c9bc6f85c3450c89671b3e82c1c7d599a4e6cb59055af9a0
SHA512 (qemu-ga-win-102.10.0-0.el8_5.noarch.rpm) = afc6ab188a5623ddd574fbfafbf394ed60189de3b91ca1c56a98fae8de9e0a9af44984bb68df43b20df66c4f118df8f9ca15920ef75913f7f0b5692fd57e3146
SHA512 (qxl-win-unsigned-0.1-24-sources.zip) = 5fa5e63f37c9f25a164f8e9f0cb72ff0e333ac32dee55546f23f6555f1c66cbac5d6904a7f85dda45f3dc3e077c46b65071ff397d792b459fc58b6dd87f402f9
SHA512 (spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm) = 7dddabb006d4ada5c377d067478eedbae2f9d0723faab304b4f8003baa8ec3be4ae78e2f27e3759ef79a0c7c7f40bc9165a14da7b4af1c3fdd2c6de502a18674
SHA512 (spice-qxl-wddm-dod-0.21-2.el8.src.rpm) = 507c08db6333785ec080c396fc5b552f3ca1b1387d23ccf335348110e8ed3bf0479ae2a07ff55ded571ac627f334718457dc1b115166c513fd150a9cd93e1e99
SHA512 (spice-vdagent-win-0.10.0-5.el8.src.rpm) = f7932cbb25876f8d961b11b2277be7f6379f2028a9bc6c462379840b7bbeae8aabe4ba59a036910c56eb0aaf52ccc467fcbfca5dc1cd35f4b95acb1eb527e148
SHA512 (spice-vdagent-win-x64-0.10.0-5.el8.noarch.rpm) = f4d6d73f21f54a835a25cfbf9a68cd3474d4032967d286be6d12f7d14324ac5622edf981b98d506b3da3cb22bb645b980db7443495571555d219cdc556e43931
SHA512 (spice-vdagent-win-x86-0.10.0-5.el8.noarch.rpm) = 1212fdf41e6903f2296d3d974f9c871be176e48e590355531d44b3ff21bb799a50e8186a33caac4d9e90eebd6f6197ef62da831fb8a2ecf34fa04e2c3a5201a0
SHA512 (spice-vdagent-win-0.10.0-5.el8.src.rpm) = f7932cbb25876f8d961b11b2277be7f6379f2028a9bc6c462379840b7bbeae8aabe4ba59a036910c56eb0aaf52ccc467fcbfca5dc1cd35f4b95acb1eb527e148
SHA512 (spice-qxl-wddm-dod-0.21-2.el8.src.rpm) = 507c08db6333785ec080c396fc5b552f3ca1b1387d23ccf335348110e8ed3bf0479ae2a07ff55ded571ac627f334718457dc1b115166c513fd150a9cd93e1e99
SHA512 (spice-qxl-wddm-dod-0.21-2.el8.noarch.rpm) = 7dddabb006d4ada5c377d067478eedbae2f9d0723faab304b4f8003baa8ec3be4ae78e2f27e3759ef79a0c7c7f40bc9165a14da7b4af1c3fdd2c6de502a18674
SHA512 (winfsp-2.0.23075-sources.zip) = 4b799d09b01020824c656d05115d73a706dc6aed052186ed56b31938bb96449cef571f9ea583b864e4d0192102dad540ba931333ec7f98486ed5a2abfb233240
SHA512 (winfsp-2.0.23075.msi) = b8cb15f01ba2c0f3743167c3526ea083e94d6a518f992fdba1454fc161a93042d1e55cfbe7c031975478466170d7b26c9fe84af64b7fe696511426a04f4f6087
SHA512 (virtio-win-guest-tools.exe) = 117bea30ab51d80407461795aa2b1cca4bc40dc8cc519380b15c5b2a8143420677e38d6eff9f9b397d5fa699a3d39a62bbee5e48d5a5c3c7f6d3a73a99de351a
SHA512 (virtio-win-gt-x64.msi) = ac07cbe7d568e900fc507f04b5c69b3f3595d0db7a010c6136ac37315e7710a1432fc6259484554e7ee3035a84787414d3d2e291a29dd1991ecdbe324747acc6
SHA512 (virtio-win-gt-x86.msi) = ec4ae42dc5e8d2d8ca4bd980a7525c7ea50eb126bd9b9416f7b8017c970e3f86443f4961ccad83767f18ac76466873d1876cd9807dfedfbeae0a6fa1dc60f3f8
SHA512 (virtio-win-installer-1.9.45-0-sources.zip) = e949b4fb5527ad5dcf05bd1b68e33b2dba1d6e34a27feebe08cc817b367e63388138aa4c00d94cf3043ea4d7a48cf491ed2723586dbe08e9cb65c743bcc09685
SHA512 (mingw-qemu-ga-win-109.1.0-7.el10.src.rpm) = 45a7ab973b3e6c704856a38a9df2811284191bc5e585b4cc354aae67b219fe6026731ffa64f2766a31a1446db49876a84cf0b39668310800361392ff0f8f5da1
SHA512 (qemu-ga-win-109.1.0-7.el10.noarch.rpm) = 6914b99a895b9d95e0ce1b2a65a79efa5c6870800fbe6e4a9277190997edad2ac702f64b9b2852c388b57cf167ce4be5d2e7ed460acd502d443a8b43b83f5999
SHA512 (virtio-win-prewhql-0.1-271-sources.zip) = c7d23560b1cc2be0d01b401d93d4cf49ca7316f680feabae69adf819adc1031c83cf65f90a5dd5b41e25c747725cc0bb959cb0c107b695326f09ff5093e39850
SHA512 (virtio-win-1.9.45-bin-for-rpm.tar.gz) = 5731fe431a4bff9177909cbddda989bf00db90fdc56220db3ba49c04956f5f4b2368725b5109552e9addefda364ef2f111c85239d56d974a4c776cb89d944723
SHA512 (virtio-win-1.9.24-bin-for-rpm.tar.gz) = f5d61e9451b64b74436ec33381405a8de66168f421e85f260c0c11bcb620b7a9c692dd2663614cda104acd25ba0173e9b28ca5e3135965120906c4d62ffb73e3
SHA512 (virtio-win-guest-tools.exe) = 7fc2b6496c8b567e3623472f0fc2523f3d5d5d51f02ff117aa08ef1419c46d8d4806abe79ff8e37649eeaa4a8d4401cb6d6a2dea46ec92e544e5736e00a76dec
SHA512 (virtio-win-installer-1.9.19-11-sources.zip) = 53efbfcb3d9da95688954d7688d2204f1b017a124ae4275b721833e50b86da7c6db10473a3b6e4d62dc856a6567a571968a6c4b2b49234c9d2c6f12f91b0b3d0
SHA512 (virtio-win-prewhql-0.1-215-sources.zip) = 003d7127ef9e751e7bf6e549715a8ae0562b0e460d63db6f6545afff0542fd0ff9d6cf80a381d23939dcb78c19386b92579053d52e0357591de7f15ac8d92f3a

View File

@ -1,33 +0,0 @@
#!/bin/sh
echo "Test that Windows XP\Windows Server 2003 are frozen and didn't change"
# Compare with the old package
URL_OLD=`head -n 1 package.cfg`
RPM_OLD=`tail -n 1 package.cfg`
echo "Old package URL " $URL_OLD
echo "Old rpm" $RPM_OLD
wget $URL_OLD
# Unpack previous version ISO
rpm2cpio $RPM_OLD | cpio -idmv
# Mount previous ISO
mkdir mnt_iso_old
mount ./usr/share/virtio-win/virtio-win.iso mnt_iso_old -o loop
# Check unchanged files(winxp/win2k3/2k8)
echo "begin to check if the files for winxp/2003 are unchanged"
for i in `find mnt_iso -maxdepth 4 -mindepth 1 -type f | grep xp`;do diff $i ${i/mnt_iso/mnt_iso_old} >> freeze_results.txt; done
for i in `find mnt_iso -maxdepth 4 -mindepth 1 -type f | grep 2k3`;do diff $i ${i/mnt_iso/mnt_iso_old} >> freeze_results.txt; done
if [ -s freeze_results.txt ]
then
echo "Failure: Files for Windows XP/2003 were changed"
exit 1
else
echo "Success: Files for Windows XP/2003 were not changed"
exit 0
fi

View File

@ -1,13 +0,0 @@
#~/bin/sh
umount mnt_iso
umount mnt_iso_old
rm freeze_results.txt
rm compare_results.txt
rm *.rpm
rm -rf usr
rmdir mnt_iso
rmdir mnt_iso_old
rm -rf virtio-win-prewhql-*

View File

@ -1,38 +0,0 @@
#!/bin/sh
drivers=(viostor vioserial vioscsi viorng vioinput pvpanic NetKVM Balloon viofs viogpudo fwcfg)
oses=(2k22 w11 2k12 2k12R2 2k16 2k19 w10 w8.1 w8)
platfroms=(amd64 x86)
COMPARE_FILE=installed_signed_versions.txt
RESULT_FILE=compare_result.txt
echo "Compare versions in INF files"
rm $COMPARE_FILE
cd mnt_iso
for driver in ${drivers[@]}; do
cd $driver
for os in ${oses[@]}; do
for p in ${platfroms[@]}; do
if [ $os=="w8" ]; then
grep -Rr --include="*.inf" DriverVer | grep "$os" | grep "$p" | grep -v "w8.1" >> ../../$COMPARE_FILE
else
grep -Rr --include="*.inf" DriverVer | grep "$os" | grep "$p" >> ../../$COMPARE_FILE
fi
done
done
cd ..
done
cd ..
diff signed_drivers_versions.txt $COMPARE_FILE > $RESULT_FILE
if [ -s $RESULT_FILE ]
then
echo "Failure: versions of some of the drivers are different!"
cat $RESULT_FILE
exit 1
else
echo "Success: INF versions are correct."
exit 0
fi

View File

@ -1,8 +0,0 @@
#!/bin/sh
echo "Mount installed virtio-win ISO"
mkdir mnt_iso
mount /usr/share/virtio-win/virtio-win.iso mnt_iso -o loop

View File

@ -1,2 +0,0 @@
https://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/virtio-win/1.9.44/0.el9_5/noarch/virtio-win-1.9.44-0.el9_5.noarch.rpm
virtio-win-1.9.44-0.el9_5.noarch.rpm

View File

@ -1,162 +0,0 @@
2k25/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
2k22/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
w11/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
2k12/amd64/viostor.inf:DriverVer = 11/14/2022,62.92.104.22900
2k12R2/amd64/viostor.inf:DriverVer = 11/14/2022,62.92.104.22900
2k12R2/amd64/viostor.inf:DriverVer = 11/14/2022,62.92.104.22900
2k16/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
2k19/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/amd64/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/x86/viostor.inf:DriverVer = 10/21/2024,100.100.104.26600
w8/amd64/viostor.inf:DriverVer = 11/28/2020,62.83.104.19100
w8/x86/viostor.inf:DriverVer = 11/28/2020,62.83.104.19100
2k25/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/vioser.inf:DriverVer = 10/24/2022,62.92.104.22800
2k12R2/amd64/vioser.inf:DriverVer = 10/24/2022,62.92.104.22800
2k12R2/amd64/vioser.inf:DriverVer = 10/24/2022,62.92.104.22800
2k16/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/vioser.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/vioser.inf:DriverVer = 02/11/2020,62.82.104.17900
w8/x86/vioser.inf:DriverVer = 02/11/2020,62.82.104.17900
2k25/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
2k22/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
w11/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
2k12/amd64/vioscsi.inf:DriverVer = 08/18/2022,62.91.104.22500
2k12R2/amd64/vioscsi.inf:DriverVer = 08/18/2022,62.91.104.22500
2k12R2/amd64/vioscsi.inf:DriverVer = 08/18/2022,62.91.104.22500
2k16/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
2k19/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/amd64/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/x86/vioscsi.inf:DriverVer = 10/21/2024,100.100.104.26600
w8/amd64/vioscsi.inf:DriverVer = 05/12/2020,62.82.104.18400
w8/x86/vioscsi.inf:DriverVer = 05/12/2020,62.82.104.18400
2k25/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/viorng.inf:DriverVer = 12/19/2019,62.81.104.17500
2k12R2/amd64/viorng.inf:DriverVer = 12/19/2019,62.81.104.17500
2k12R2/amd64/viorng.inf:DriverVer = 12/19/2019,62.81.104.17500
2k16/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/viorng.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/viorng.inf:DriverVer = 12/19/2019,62.81.104.17500
w8/x86/viorng.inf:DriverVer = 12/19/2019,62.81.104.17500
2k25/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/vioinput.inf:DriverVer = 05/16/2021,62.85.104.19900
2k12R2/amd64/vioinput.inf:DriverVer = 05/16/2021,62.85.104.19900
2k12R2/amd64/vioinput.inf:DriverVer = 05/16/2021,62.85.104.19900
2k16/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/vioinput.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/vioinput.inf:DriverVer = 12/19/2019,62.81.104.17500
w8/x86/vioinput.inf:DriverVer = 12/19/2019,62.81.104.17500
2k25/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/pvpanic.inf:DriverVer = 01/30/2023,62.92.104.23300
2k12R2/amd64/pvpanic.inf:DriverVer = 01/30/2023,62.92.104.23300
2k12R2/amd64/pvpanic.inf:DriverVer = 01/30/2023,62.92.104.23300
2k16/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/pvpanic.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/pvpanic.inf:DriverVer=06/11/2018,62.76.104.15400
w8/x86/pvpanic.inf:DriverVer=06/11/2018,62.76.104.15400
2k25/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
2k22/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
w11/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
2k12/amd64/netkvm.inf:DriverVer = 04/11/2022,62.91.104.21800
2k12R2/amd64/netkvm.inf:DriverVer = 04/11/2022,63.91.104.21800
2k12R2/amd64/netkvm.inf:DriverVer = 04/11/2022,63.91.104.21800
2k16/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
2k19/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/amd64/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/x86/netkvm.inf:DriverVer = 10/21/2024,100.100.104.26600
w8/amd64/netkvm.inf:DriverVer = 02/09/2021,62.84.104.19500
w8/x86/netkvm.inf:DriverVer = 02/09/2021,62.84.104.19500
2k25/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/balloon.inf:DriverVer = 10/24/2022,62.92.104.22800
2k12R2/amd64/balloon.inf:DriverVer = 10/24/2022,62.92.104.22800
2k12R2/amd64/balloon.inf:DriverVer = 10/24/2022,62.92.104.22800
2k16/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/balloon.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/balloon.inf:DriverVer = 11/28/2020,62.83.104.19100
w8/x86/balloon.inf:DriverVer = 11/28/2020,62.83.104.19100
2k25/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/viofs.inf:DriverVer = 02/13/2023,62.92.104.23400
2k12R2/amd64/viofs.inf:DriverVer = 02/13/2023,62.92.104.23400
2k12R2/amd64/viofs.inf:DriverVer = 02/13/2023,62.92.104.23400
2k16/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/viofs.inf:DriverVer = 01/13/2025,100.100.104.27100
w8/amd64/viofs.inf:DriverVer = 02/19/2021,62.84.104.19600
w8/x86/viofs.inf:DriverVer = 02/19/2021,62.84.104.19600
2k25/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12R2/amd64/viogpudo.inf:DriverVer = 07/04/2023,62.93.104.23900
2k12/amd64/viogpudo.inf:DriverVer = 07/04/2023,62.93.104.23900
2k12R2/amd64/viogpudo.inf:DriverVer = 07/04/2023,62.93.104.23900
2k16/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/viogpudo.inf:DriverVer = 01/13/2025,100.100.104.27100
2k25/amd64/qemufwcfg.inf:DriverVer = 05/21/2022,100.90.104.22100
2k22/amd64/qemufwcfg.inf:DriverVer = 12/02/2021,100.90.104.21500
w11/amd64/qemufwcfg.inf:DriverVer = 05/21/2022,100.90.104.22100
2k16/amd64/qemufwcfg.inf:DriverVer=10/21/2016,1.0.0
2k19/amd64/qemufwcfg.inf:DriverVer=10/21/2016,1.0.0
w10/amd64/qemufwcfg.inf:DriverVer=10/21/2016,1.0.0
w10/x86/qemufwcfg.inf:DriverVer=10/21/2016,1.0.0
2k25/amd64/qemupciserial.inf:DriverVer = 05/21/2022,100.90.104.22100
2k22/amd64/qemupciserial.inf:DriverVer = 12/02/2021,100.90.104.21500
w11/amd64/qemupciserial.inf:DriverVer = 05/21/2022,100.90.104.22100
2k12/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
2k12R2/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
2k12R2/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
2k16/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
2k19/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
w10/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
w10/x86/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
w8/amd64/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
w8/x86/qemupciserial.inf:DriverVer=05/09/2017,1.4.0
2k25/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
2k12/amd64/fwcfg.inf:DriverVer = 08/02/2022,62.91.104.22300
2k12R2/amd64/fwcfg.inf:DriverVer = 08/02/2022,63.91.104.22300
2k12R2/amd64/fwcfg.inf:DriverVer = 08/02/2022,63.91.104.22300
2k16/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/x86/fwcfg.inf:DriverVer = 01/13/2025,100.100.104.27100
2k25/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
2k22/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
w11/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
2k12R2/amd64/vioprot.inf:DriverVer = 02/09/2021,63.84.104.19500
2k12R2/amd64/vioprot.inf:DriverVer = 02/09/2021,63.84.104.19500
2k16/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
2k19/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/amd64/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
w10/x86/vioprot.inf:DriverVer = 10/21/2024,100.100.104.26600
2k25/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100
2k22/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100
w11/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100
2k16/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100
2k19/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100
w10/amd64/viomem.inf:DriverVer = 01/13/2025,100.100.104.27100

View File

@ -1,16 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- mount_iso:
dir: scripts
run: ./mount_iso.sh
- freeze_xp_test:
dir: scripts
run: ./acceptance_freeze.sh
- compare_inf_versions:
dir: scripts
run: compare_singed_versions.sh

BIN
virtio-win-gt-x64.msi Normal file

Binary file not shown.

BIN
virtio-win-gt-x86.msi Normal file

Binary file not shown.

View File

@ -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"/>
@ -45,9 +44,8 @@
<file>pvpanic.inf</file>
<file>pvpanic.sys</file>
<file>fwcfg64.cat</file>
<file>fwcfg64.inf</file>
<file>fwcfg64.sys</file>
<file>qemufwcfg.cat</file>
<file>qemufwcfg.inf</file>
<file>qemupciserial.cat</file>
<file>qemupciserial.inf</file>
@ -61,6 +59,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 +96,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 +108,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"/>
@ -123,9 +116,8 @@
<file>pvpanic.inf</file>
<file>pvpanic.sys</file>
<file>fwcfg64.cat</file>
<file>fwcfg64.inf</file>
<file>fwcfg64.sys</file>
<file>qemufwcfg.cat</file>
<file>qemufwcfg.inf</file>
<file>qemupciserial.cat</file>
<file>qemupciserial.inf</file>
@ -139,6 +131,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"/>

View File

@ -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"/>
@ -45,9 +44,8 @@
<file>pvpanic.inf</file>
<file>pvpanic.sys</file>
<file>fwcfg64.cat</file>
<file>fwcfg64.inf</file>
<file>fwcfg64.sys</file>
<file>qemufwcfg.cat</file>
<file>qemufwcfg.inf</file>
<file>qemupciserial.cat</file>
<file>qemupciserial.inf</file>
@ -93,11 +91,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>

View File

@ -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>
@ -90,11 +86,6 @@
<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>
<driver signed="true" pre-installable="true" location="file:///usr/share/virtio-win/drivers/by-os/amd64/w8.1/" arch="x86_64">
@ -117,10 +108,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>
@ -160,11 +147,6 @@
<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>

View 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>
@ -92,11 +88,6 @@
<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>
<driver signed="true" pre-installable="true" location="file:///usr/share/virtio-win/drivers/by-os/amd64/w8/" arch="x86_64">
@ -119,10 +110,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>
@ -162,11 +149,6 @@
<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>

View File

@ -8,25 +8,37 @@
# 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-271
%global qemu_ga_win_build qemu-ga-win-109.1.0-7.el10
%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.45-0
%global winfsp_version -2.0.23075
%global windows_installer_version -1.9.19-11
Summary: VirtIO para-virtualized drivers for Windows(R)
Name: virtio-win
Version: 1.9.45
Release: 1%{?dist}
Version: 1.9.24
Release: 2%{?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/
BuildArch: noarch
# Already built/ files
%if 0%{?rhel}
# RHEL RPM ships WHQL signed drivers, which are under a proprietary license
# qemu-ga builds are GPLv2
License: Red Hat Proprietary and BSD-3-Clause and Apache and GPLv2
%else
# virtio-win drivers are licensed under the BSD license, qxldod under Apache,
# everything else is GPLv2
# virtio-win: https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/LICENSE
# qxl: http://cgit.freedesktop.org/spice/win32/qxl/tree/xddm/COPYING
# qxldod: https://github.com/vrozenfe/qxl-dod/blob/master/LICENSE
# qemu-ga: http://git.qemu.org/?p=qemu.git;a=blob;f=COPYING
License: BSD and Apache and GPLv2
%endif
# Already built files
Source1: %{name}-%{version}-bin-for-rpm.tar.gz
Source2: %{qemu_ga_win_build}.noarch.rpm
@ -39,25 +51,24 @@ Source7: %{qxlwddm_build}.noarch.rpm
Source8: spice-vdagent-win-%{spice_vdagent_build}.src.rpm
Source9: spice-vdagent-win-x64-%{spice_vdagent_build}.noarch.rpm
Source10: spice-vdagent-win-x86-%{spice_vdagent_build}.noarch.rpm
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
Source24: winfsp%{winfsp_version}.msi
%endif
%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
@ -105,15 +116,9 @@ popd
%{__cp} %{SOURCE20} iso-content/
%{__cp} %{SOURCE21} iso-content/
%{__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 +138,7 @@ for srcdir in iso-content rpm-drivers; do
rm_driver_dir Win2003
rm_driver_dir Win2008
done
%endif
%build
@ -142,8 +148,6 @@ pushd iso-content
-o ../media/%{name}-%{version}.iso \
-r -iso-level 4 \
-input-charset iso8859-1 \
-allow-lowercase \
-relaxed-filenames \
-V "%{name}-%{version}" .
popd
@ -160,6 +164,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 +187,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/
@ -203,7 +214,7 @@ add_link .iso
%{__install} -p -m0644 iso-content/virtio-win-guest-tools.exe %{buildroot}%{_datadir}/%{name}/installer/
%{__install} -p -m0644 iso-content/virtio-win-gt-x86.msi %{buildroot}%{_datadir}/%{name}/installer/
%{__install} -p -m0644 iso-content/virtio-win-gt-x64.msi %{buildroot}%{_datadir}/%{name}/installer/
%{__install} -p -m0644 iso-content/winfsp%{winfsp_version}.msi %{buildroot}%{_datadir}/%{name}/installer/
%files
%doc iso-content/virtio-win_license.txt
@ -234,89 +245,94 @@ 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
* Tue Feb 25 2025 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update installer 1.9.45.1 with the latest agents RHEL-10.0.0
- Related: #37523
* Fri Jan 14 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.24-2.el8
- Update installer to 1.0.19.11
- Resolves: rhbz#2033400
* 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
* Thu Jan 13 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-4.el8
- Update installer to 1.0.19.10
- Resolves: rhbz#2033400
* 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
* Sat Jan 08 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-2.el8
- Update installer to 1.0.19.5
- Resolves: rhbz#2033400
* 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
* Fri Jan 07 2022 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.22-1.el8
- Update installer to 1.0.19.5
- Resolves: rhbz#2033400
* Tue Jan 09 2024 Vadim Rozenfeld <vrozenfe@redhat.com>
- Update to 1.9.36.0
- Resolves: #18190
* Wed Dec 29 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.21-1.el8
- Update installer to 1.0.19.4
- Resolves: rhbz#2033400
* Sat Jun 10 2023 Vadim Rozenfeld <vrozenfe@redhat.com>
- Use the SPDX vocabulary to specify the license. Jira RHEL-581
- Related: #420
* 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 May 30 2023 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.34-0.c9s
- Update to 1.9.34.0
- Resolves: #420
* Tue Dec 14 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.20-2.el8
- Update installer to 1.0.19.1
- Resolves: rhbz#2033400
* Mon Feb 27 2023 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.32-0.c9s
- Update to 1.9.32.0
- Resolves: rhbz#2123350
* Sun Sep 12 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.19-1.el8
- update to build 208
- Resolves: rhbz#1996949
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Sun Sep 12 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.18-4.el8
- update to build 208
- Resolves: rhbz#1996949
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Sep 8 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.18-3.el8
- update installer to 1.9.18.3
- Resolves: rhbz#1996949
* Wed Jan 20 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.15-2.el9
- This is a plain copy of the virtio-win package released in RHEL-8.3.1 for RHEL-9.0.0
- Resolves: rhbz#1916284
* Fri Sep 3 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.18-2.el8
- update installer to 1.9.18.2
- Resolves: rhbz#1996949
* Tue Jan 19 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.15-1.el9
- This is a plain copy of the virtio-win package released in RHEL-8.3.1 for RHEL-9.0.0
- Resolves: rhbz#1916284
* Wed Sep 1 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.18-1.el8
- Update installer to 1.0.18.1
- Resolves: rhbz#1996949
* Tue Jan 5 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.15-0.el8
- Update to build 191
- Update installer 1.9.15.1 with the latest agents and drivers
- Resolves: rhbz#1911903
* Tue Feb 9 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.16-1.el8
- Add qxldod to xml pci devices database
- Resolves: rhbz#1902635
* Fri Sep 25 2020 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.14-4.el8
- Update installer 1.9.14.2 with the latest agents
- Resolves: rhbz#1746667
* Wed Sep 23 2020 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.14-3.el8
- Update installer 1.9.14.2
- Resolves: rhbz#1746667
* Mon Feb 8 2021 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.16-0.el8
- Add qxldod to virtio-win iso
- Resolves: rhbz#1902635
* Mon Sep 21 2020 Vadim Rozenfeld <vrozenfe@redhat.com> - 1.9.14-2.el8
- Update installer 1.9.14.1