Giter VIP home page Giter VIP logo

virtio-win-pkg-scripts's People

Contributors

aoxn avatar crobinso avatar fidencio avatar kostyanf14 avatar ladipro avatar mattdm avatar rvka avatar viktor-prutyanov avatar vipmike007 avatar vrozenfe avatar yashkmankad avatar ybendito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

virtio-win-pkg-scripts's Issues

windows 2008 R2(64bit) cannot find suitabe drivers.

I used the windows 2008 R2 ISO to install my vm and the disk used virtio technology。I downloaded the virtio-win-0.1.185.iso and attached a cdrom included it to my vm。

when installing the os, windows finds no suitabe driver file in the cdrom.

virtio1

cannot find driver:
virtio2

virtio-win-0.1.217 - issue NetKVM Windows 2k12R2 driver

Environment

  • Proxmox VM
  • OS Name: Microsoft Windows Server 2012 R2 Standard
  • Windows Version = "6.3.9600.18969"

Issue
Impossible to install driver on this path .\NetKVM\2k12R2\amd64\

Windows message
Windows found driver software for your device but encountered an error while attempting install it.
Red Hat VirtIO Ethernet Adapter
A problem was encountered while attempting to add the driver to the store.

Workaround
It's working with the driver 2008 R2 (.\NetKVM\2k8R2\amd64)

Source driver
virtio-win-0.1.217.iso

Balloon driver installation failure on Windows Server 2008 R2

Hi, I want to install some drivers for Windows Server 2008 R2 VM, using autounattend.xml file to automatically install my needed drivers.

My desired drivers were installed successfully, but when I want to install the ballooning driver located in iso virtio image, I face with error shown here:

image_2022-04-05_14-46-23

I used the latest stable version of virtio-win.iso linked in repository. Also I used old versions but I faced with same error.
I would be appreciate if you help me.

Clarification request: Is README section "virtio-win driver signatures" still correct?

As of writing, README.md says in section "virtio-win driver signatures":

All the Windows binaries are from builds done on Red Hat’s internal build system, which are generated using publicly available code. Windows 8+ drivers are cryptographically signed with Red Hat’s test signature Windows 10+ drivers are signed with Microsoft attestation signature. However they are not signed with Microsoft’s WHQL signature. WHQL signed builds are only available with a paid RHEL subscription.

Is this section still correct? There are (3rd-party) sites claiming that already since version 0.1.204 (July 2021), the virtio-win drivers would be WHQL-signed. May I kindly ask you to comment on this and/or to clarify the current status, please?

In virtio-win-0.1.185 and virtio-win-0.1.190, signatures for some NetKVM and viostor driver packages are invalid

We're using these drivers, installing them in unattended mode. I've noticed what NetKVM and viostor driver packages for:

xp
2k3
w7
2k8
2k8R2

are refusing to install in unattended mode. I've checked them using SignTool and they aren't passing the verification:

`
d:\virtio-win-0.1.185\viostor\2k8\amd64>SignTool verify /v /c viostor.cat /pa viostor.sys viostor.inf

Verifying: viostor.sys
File is signed in catalog: viostor.cat
Hash of file (sha1): 2846A614D102616D1D4A8EE8039124DA2BFEB05E

Signing Certificate Chain:
Issued to: VeriSign Universal Root Certification Authority
Issued by: VeriSign Universal Root Certification Authority
Expires: Wed Dec 02 02:59:59 2037
SHA1 hash: 3679CA35668772304D30A5FB873B0FA77BB70D54

    Issued to: Symantec Class 3 SHA256 Code Signing CA - G2
    Issued by: VeriSign Universal Root Certification Authority
    Expires:   Mon Jul 22 02:59:59 2024
    SHA1 hash: 1392E4C7FF25B9517E931077BBE2664DC87EF70D

        Issued to: Red Hat, Inc.
        Issued by: Symantec Class 3 SHA256 Code Signing CA - G2
        Expires:   Wed Jan 26 02:59:59 2022
        SHA1 hash: F01DAC89598C52D94FE8CA91187E1853947D115A

The signature is timestamped: Thu Jan 09 04:30:05 2020
Timestamp Verified by:
Issued to: VeriSign Universal Root Certification Authority
Issued by: VeriSign Universal Root Certification Authority
Expires: Wed Dec 02 02:59:59 2037
SHA1 hash: 3679CA35668772304D30A5FB873B0FA77BB70D54

    Issued to: Symantec SHA256 TimeStamping CA
    Issued by: VeriSign Universal Root Certification Authority
    Expires:   Sun Jan 12 02:59:59 2031
    SHA1 hash: 6FC9EDB5E00AB64151C1CDFCAC74AD2C7B7E3BE4

        Issued to: Symantec SHA256 TimeStamping Signer - G3
        Issued by: Symantec SHA256 TimeStamping CA
        Expires:   Fri Mar 23 02:59:59 2029
        SHA1 hash: A9A4121063D71D48E8529A4681DE803E3E7954B0

Successfully verified: viostor.sys

Verifying: viostor.inf
SignTool Error: File not found in the specified catalog.
SignTool Error: File not valid: viostor.inf

Number of files successfully Verified: 1
Number of warnings: 0
Number of errors: 1
`

The rest of the drivers (starting from w8/2012 and up to w10/2019) are passing the verification fine.
Due to this, for listed OS I have to roll drivers back to release virtio-win-0.1.141 - in this release, ALL packages are passing verification. So signatures clearly broke somewhere in between virtio-win-0.1.141 and virtio-win-0.1.185.

Also, additional issue - in w7 and 2k8R2 packages, in catalog file, there are wrong inf filename: netkvm_no_rsc.inf instead of netkvm.inf

I've tested only NetKVM and viostor driver packages but I'm suspecting it is the same for the other drivers too.

Windows 2016 and 2019: Network adapter disappears after executing virtio-win-guest-tools.exe

In Windows 2016 and 2019, after installing virtio-win-guest-tools.exe from virtio-win-0.1.208.iso the network stops working.

This happens while I'm building the image with packer from the Windows iso. Windows autounattended correctly finds the drivers and is able to install Windows. But, after Windows is installed, and execute virtio-win-guest-tools.exe is executed, and for some reason, while its running, the network goes down and the network adapter even disappears from Device Manager.

Please note that this worked correctly with virtio-win-0.1.190.iso.

Do you have any idea of what might the problem?

PS: It works fine with Windows 2022; but not for 2016 and 2019.

RedHad signature in https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso is expired

The direct links to both stable and latest point to virtio-win-0.1.215.iso at this time. The RedHat signature used to sign the drivers in that image expired on 1/25/2022. As a result I am unable to get the certificate installed as a root Trusted Publisher on a Windows client because it is rejected for expiry reasons.

Is there a new release available with a non-expired signature? Thank you.

Failed to synchronize cache for repo 'virtio-win-stable', ignoring this repo.

Am unable to synchronize this repo on a CentOS Linux release 7.9.2009 (Core) host.

Relevant lines from dnf update --repo virtio-win-stable -v

Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.0.9
cachedir: /var/cache/dnf
.....
repo: downloading from remote: virtio-win-stable
virtio-win builds roughly matching what was shipped in latest RHEL 0.0 B/s | 0 B 00:00
Cannot download 'https://fedorapeople.org/groups/virt/virtio-win/repo/stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Failed to synchronize cache for repo 'virtio-win-stable', ignoring this repo.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.
Complete!

On the same host am able to download repomd.xml using wget

wget -P /tmp/ https://fedorapeople.org/groups/virt/virtio-win/repo/stable/repodata/repomd.xml

Have tried running dnf clean all && dnf update but the error is still present.

yum update is no different though the error reported is a bit more informative.

.....
https://fedorapeople.org/groups/virt/virtio-win/repo/stable/repodata/repomd.xml: [Errno 12] Timeout on https://fedorapeople.org/groups/virt/virtio-win/repo/stable/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://fedorapeople.org/groups/virt/virtio-win/repo/stable/repodata/repomd.xml: [Errno 12] Timeout on https://fedorapeople.org/groups/virt/virtio-win/repo/stable/repodata/repomd.xml: (28, 'Operation timed out after 30000 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
.....

Any pointers to what may be the cause of this error?

Download links broken

Update the issue seems to be resolved and I'm now able to download the files again. Optional fix: provide a mirror for these files.

Non of the provided links are working, it seems the website fedorapeople is not working.
Stable virtio-win ISO
Stable virtio-win RPM
Latest virtio-win ISO
Latest virtio-win RPM
Latest virtio-win-guest-tools.exe
virtio-win direct-downloads full archive with links to other bits like qemu-ga, a changelog, etc.

fedorapeople.org has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can only connect to it securely. You can’t add an exception to visit this site.

Installer placement on the ISO filesystem can lead to user confusion

Is your feature request related to a problem? Please describe.
The virtio-win-gt-x64.msi and virtio-win-gt-x86.msi installers are in the root directory of the ISO filesystem, even though they don't install all drivers like the virtio-win-guest-tools.exe installer does. That can create confusion among new users and cause them to install the wrong file.

Describe the solution you'd like
Move the virtio-*.msi installers to a subdirectory so it's clear the virtio-win-guest-tools.exe installer should be ran.

Describe alternatives you've considered
Make the virtio-*.msi installers return an error directing to run virtio-win-guest-tools.exe if they are ran directly by the user (by using a command line switch for example; not sure if it's technically possible or not).

Additional context
None.

Feature request: MSI file for ARM64

Currently there is an virtio-win-x86.msi and virtio-win-x64.msi, but shouldnt there also be a virtio-win-gt-arm64.msi?

Ofcourse the x64.msi can run on ARM because Win11 emulates the x64 instructions, but I assume it installs the wrong drivers when you execute it on Win11 for ARM.

MSI: Install certificate(s) to cert:\LocalMachine\TrustedPublisher

Silent install with virtio-win-gt-x64.msi is not possible because windows is asking for trust on driver publisher.
If you store, in the first step, the certificate at cert:\LocalMachine\TrustedPublisher the install will work.

Meanwhile I use this powershell script before running msiexec:

$DriverPath = Get-Item "d:\virtio-win-0.1.173\*\2k12r2\amd64" 

$CertStore = Get-Item "cert:\LocalMachine\TrustedPublisher" 
$CertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)

Get-ChildItem -Recurse -Path $DriverPath -Filter "*.cat" | % {
    $Cert = (Get-AuthenticodeSignature $_.FullName).SignerCertificate

    Write-Host ( "Added {0}, {1} from {2}" -f $Cert.Thumbprint,$Cert.Subject,$_.FullName )

    $CertStore.Add($Cert)
}

$CertStore.Close()

Windows VM loses static IP address after upgrading virtio-win drivers

Describe the bug
Windows VM loses static IP address after upgrading virtio-win drivers.

To Reproduce
Upgrading virtio-win drivers tried on Windows Server 2016/2019/2022

Expected behavior
Configuration of network adapter is not lost

Screenshots

Host:

  • Disto: Proxmox
  • Kernel Linux 6.2.9-1-pve

Guest:

  • Windows version
  • virtio-win version virtio-win-0.1.229.iso

virtio-win 0.1.185-1 broke spice/qxl automatic screen resizing

The upgrade to virtio-win 0.1.185-1 (from virtio-win 0.1.173-9) broke the spice/QXL automatic screen resizing (e.g. when I resize the virt-viewer window the Windows VM guest screen no longer resizes with it).

I'm testing this on a Ubuntu 20.04 host (virt-viewer 7.0; virtual machine manager 2.2.1; libvirt 6.0.0; qemu 4.2) while running a Windows 2019 server (with this month cumulative updates).

The package/vagrant environment that I use to test this is at https://github.com/rgl/windows-vagrant. In concrete, in these lines:

Add the signing certificate to the ISO on top level

Hi,

I would like to automate the installation and upgrade of VirtIO-drivers.

To get past the "Accept the RedHat-Certificate to install"-Popup I want to use certutil.exe to import the required certificate before running pnputil.
(see https://community.spiceworks.com/how_to/24713-silent-install-of-software-that-has-an-unsigned-driver ).

Can you please add the certificate in a folder or top-level on the ISO so it is easier to script the import/installation?

Best regards and Thanks
Rainer

I did not understand how it works.

Hello.

Can you please give more information about usage? Maybe an example of builted directory?
Readme document not user friendly.

Morphin:~/Documents/iso:./make-driver-dir.py \
> ../iso/kvm-guest-drivers-windows-master/
ERROR: driver=qxldod ostuple=Win8/x64 not found in input=/home/morphin/Documents/iso/kvm-guest-drivers-windows-master/

I don't have qxldod drivers and i dont need that.

Program virtio-win-guest-tools.exe fails to install into the guest

Describe the bug
Same as #60
except the temporary solution doesn't work.

To Reproduce
Regular install

Expected behavior
Complete installation of virtio-win-guest-tools.

Screenshots
image

Host:

  • Distro: Manjaro Linux
  • Kernel version: 6.1.69-1-MANJARO x86_64
  • QEMU version: 8.2.0-2
  • QEMU command line: None, I start virt-manager
  • libvirt version: 1:9 10.0-1
  • libvirt XML
<channel type="spicevmc">
  <target type="virtio" name="com.redhat.spice.0" state="disconnected"/>
  <alias name="channel0"/>
  <address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>

Guest:

  • Microsoft Windows 11 Pro
  • 10.0.22000 Build 22000

Additional context

https://privatebin.io/?2edd40ce1daacf0d#FZe812pPpjHbUAN3fTeafPCuLi3g4tGSXSoYXBMq2H8B

virtio-win-0.1.217-1 broken storage driver for windows 2012R2

Description of problem:
The virtio-win.iso 2022-04-14 08:04 has somehow broken storage driver for Windows 2012R2.
The previous version (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.215-1/virtio-win.iso) works without an issue.

Version-Release number of selected component (if applicable):
(stable) virtio-win.iso from 2022-04-14 08:04 (virtio-win-0.1.217-1)

How reproducible:
Always

Steps to Reproduce:

  1. Start windows 2012R2 server installation in libvirt with virtio disk.
  2. Try to locate storage driver on the virtio iso.

Actual results:
No storage driver is found

Expected results:
Driver is found, disk is recognized and installation can proceed.

Additional info:
This is regression against virtio-win-0.1.215-1.

Graphics makes VM lag out.

Describe the bug
I install the RPM packages on my fedora box and not super tux cart and steam lag and hang every time I open them.

To Reproduce
install the RPM packages on the host and the guest. Install steam on the Gust (should be Linux) and then super tux kart. Nether of them should work. Both should hang shortly after lunching.

Expected behavior
They launch and work "semi" good.

Screenshots

Screenshot from 2023-06-27 02-18-16

Host:

  • Disto: Fedora 38
  • Kernel version: 6.3.8
  • QEMU version: 7.2.1
  • QEMU command line: ?
  • libvirt version: 9.0.0
  • libvirt XML file: ?

Guest:

  • Fedora
  • 0.1.229

Additional context
Add any other context about the problem here.

0.1.208 crashes windows 11 on loading viostor

Was attempting to setup windows 11 VM with .208 version and when I install the storage driver during the install process the system crashes out completely.
I attempt the same operations with .185 and it is working correctly.
There is something in the new driver that is incompatible with Windows 11 22000.282.

Outdated repo meta data in RPM repos

The repo meta data in latest, stable & source RPM repos are last updated 2020-06-11, i.e. dnf & yum clients will not download the most recent version stored in these repos.

Program virtio-win-guest-tools.exe fails to install into the guest

  • Host | OS: Fedora (v.: latest). Installed components:
$ rpm -q qemu-kvm libvirt-daemon virt-manager | column
qemu-kvm-6.2.0-6.fc36.x86_64	libvirt-daemon-8.1.0-2.fc36.x86_64	virt-manager-4.0.0-1.fc36.noarch

Display in use in virt-manager | Instructions part of the XML file of that Qemu-KVM VM's settings.

<graphics type="spice" autoport="yes">
 <listen type="address"/>
 <image compression="off"/>
</graphics>

Note: no use-context. User has to improvise. Then i conceived file virtio-win-guest-tools.exe can be executed within guest.

Hello. The program invariably fails to install; message produced:

image

0.1.217 Windows 11 MSI/EXE Failed Install

I just attempted to update my drivers in a Windows 11 guest using the x64 0.1.217 MSI and it fails and rolls back. Programs list still shows the old version of the drivers and guest software. After the failure the network adapter had no drivers and would not work. Had to mount the ISO in the VM and manually install the drivers from device manager for network and serial then update SCSI controller. All worked manually but MSI for drivers and EXE for guest tools still won't run. Attaching log file.

Please let me know how I can fix this broken install. Been using the MSI installer for years and from Windows 10 to now Windows 11 upgraded last year. Have updated previously on Windows 11 and worked fine.

Virtio-win-guest-tools_20220428230549_003_virtio_win_gt_x64.msi.log

image
image

qxldod driver in 134 is not signed

qxl-wddm-dod driver for Win2012R2 shipped with 134 drivers iso is not signed while the driver shipped with 133-1 iso was signed properly.

virtio graphics

I could not get my windows 10 guest to detect virtio graphics card drivers (works as a normal VGA). I expect good acceleration with virtio vga. Are the drivers included or is there any alpha/beta I can use to test ?

virtio-win RPM | Guest agent reported by virt-manager as non available

  • Host | OS: Fedora (v.: latest). Installed components:
$ rpm -q qemu-kvm libvirt-daemon virt-manager virtio-win | column
qemu-kvm-6.2.0-8.fc36.x86_64		virt-manager-4.0.0-1.fc36.noarch
libvirt-daemon-8.1.0-2.fc36.x86_64	virtio-win-0.1.215-2.noarch
  • Guest | OS: Windows 10.

  • In host:

$ rpm -qi virtio-win | sed -n '2p;9p;13p'
Version     : 0.1.215
Signature   : (none)
Build Host  : panda
URL         : http://www.redhat.com/

'http://www.redhat.com/' | incorrect form. the correct form is 'https://www.redhat.com/'.

Hello. The RPM file – as stable version – obtained from this repository contains an unsigned package. I suspect the drivers contained in that package to be unsigned as well since a function depending on signed driver in order to be operational in guest, is not.

illustration in virt-manager | menu View.

Guest agent is not available which leads KVM to have option Autoresize VM with window to not be available as well.

virt-manager:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.