From fd9deebcf57d1af8acd7db9379917091efa04341 Mon Sep 17 00:00:00 2001 From: Peter Beck Date: Sun, 10 May 2020 15:53:28 +0200 Subject: [PATCH] Qemu-Guest-Agent Windows 100.0.0 --- .../qemu-guest-agent/qemu-guest-agent.nuspec | 41 +++++++++++-------- .../tools/chocolateyinstall.ps1 | 20 ++++----- 2 files changed, 33 insertions(+), 28 deletions(-) diff --git a/packages/qemu-guest-agent/qemu-guest-agent.nuspec b/packages/qemu-guest-agent/qemu-guest-agent.nuspec index 03967be..c4d8bbf 100755 --- a/packages/qemu-guest-agent/qemu-guest-agent.nuspec +++ b/packages/qemu-guest-agent/qemu-guest-agent.nuspec @@ -1,21 +1,26 @@  - - qemu-guest-agent - 7.4.5 - QEMU guest agent - Red Hat - foo.li systeme + software - https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html - https://fedoraproject.org/wiki/Windows_Virtio_Drivers - https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/kvm.png - true - It is a daemon program running inside the domain which is supposed to help management applications with executing functions which need assistance of the guest OS. For example, freezing and thawing filesystems, entering suspend. However, guest agent (GA) is not bullet proof, and hostile guest OS can send spurious replies. - QEMU Guest Agent - initial package - virtualisation kvm qemu guest-agent - - - - + + qemu-guest-agent + 100.0.0.0 + QEMU guest agent + Red Hat + foo.li systeme + software + https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html + https://fedoraproject.org/wiki/Windows_Virtio_Drivers + https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/kvm.png + true + It is a daemon program running inside the domain which is supposed to help management applications with executing functions which need assistance of the guest OS. For example, freezing and thawing filesystems, entering suspend. However, guest agent (GA) is not bullet proof, and hostile guest OS can send spurious replies. + QEMU Guest Agent + package upgrade to 10.0.0 + virtualisation kvm qemu guest-agent + + + + + + + + diff --git a/packages/qemu-guest-agent/tools/chocolateyinstall.ps1 b/packages/qemu-guest-agent/tools/chocolateyinstall.ps1 index 95775d2..25330f4 100755 --- a/packages/qemu-guest-agent/tools/chocolateyinstall.ps1 +++ b/packages/qemu-guest-agent/tools/chocolateyinstall.ps1 @@ -1,23 +1,23 @@ # QEMU Guest Agent -# 2016-2017 foo.li systeme + software - +# 2016-2020 foo.li systeme + software + $packageName = 'qemu-guest-agent' -$version = '7.4.5' +$version = '100.0.0.0' $installerType = 'msi' -$url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-' + $version + '-1/qemu-ga-x86.msi' -$url64 = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-' + $version + '-1/qemu-ga-x64.msi' +$url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-' + $version + '-3.el7ev/qemu-ga-x86.msi' +$url64 = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-' + $version + '-3.el7ev/qemu-ga-x64.msi' $silentArgs = '/qb' $packageSearch = 'QEMU guest agent*' -$checksum = 'A5BDE210C45BC81600ABAE438D31B6BB6DF93F3C' +$checksum = '7f298036d0445dc32601e8416bc59e623639d282' $checksumType = 'sha1' -$checksum64 = '09D19C994EFA3FA41C4FE8EF249226CEB7EA0BAE' +$checksum64 = '50cb4a3840665d4ffdff1c0d27a14074165fc501' $checksumType64 = $checksumType $validExitCodes = @(0,3010) $compmanu = Get-WmiObject Win32_ComputerSystem | select manufacturer if ($compmanu.manufacturer -like '*Bochs*') { Write-Host 'QEMU/KVM detected' } -elseif ($compmanu.manufacturer -like '*QEMU*'){ Write-Host 'QEMU/KVM detected' } -else { +elseif ($compmanu.manufacturer -like '*QEMU*'){ Write-Host 'QEMU/KVM detected' } +else { Write-Host 'could not detect QEMU/KVM virtual machine. Stopping deployment' throw 'no KVM/QEMU VM detected' } @@ -28,7 +28,7 @@ try { -ErrorAction:SilentlyContinue | Where-Object { $_.DisplayName -like $packageSearch } if ($app -and ([version]$app.DisplayVersion -ge [version]$version)) { - Write-Host 'QEMU Guest Agent' $version 'or higher is already installed. Doing nothing.' + Write-Host 'QEMU Guest Agent' $version 'or higher is already installed. Doing nothing.' } else { Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 ` -checksum $checksum -checksumType $checksumType `