Difference between revisions of "Windows VirtIO Drivers"

From Proxmox VE
Jump to navigation Jump to search
(→‎Introduction: remove non-related link (which was related to KVM OSes support))
(fix links, rephrase, remove old info regarding folder structure of driver iso)
(20 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
VirtIO Drivers are paravirtualized drivers for [[KVM|kvm]]/Linux (see http://www.linux-kvm.org/page/Virtio).  
+
VirtIO Drivers are paravirtualized drivers for [[KVM|kvm]]/Linux (see http://www.linux-kvm.org/page/Virtio). In short, they enable direct (paravirtualized) access to devices and peripherals for virtual machines using them, instead of slower, emulated, ones. <br>
 
A quite extended explanation about VirtIO drivers can be found here http://www.ibm.com/developerworks/library/l-virtio.
 
A quite extended explanation about VirtIO drivers can be found here http://www.ibm.com/developerworks/library/l-virtio.
  
In short, they enable direct (paravirtualized) access to device and peripherals to virtual machines using them, instead of slower, emulated, ones.
+
At the moment these kind of devices are supported:
 
 
At the moment this kind of devices are supported:
 
 
* block (disks drives), see [[Paravirtualized Block Drivers for Windows]]
 
* block (disks drives), see [[Paravirtualized Block Drivers for Windows]]
 
* network (ethernet cards), see [[Paravirtualized Network Drivers for Windows|Paravirtualized Network Drivers for Windows]]
 
* network (ethernet cards), see [[Paravirtualized Network Drivers for Windows|Paravirtualized Network Drivers for Windows]]
* baloon (dynamic memory management), see [[Dynamic Memory Management]]
+
* balloon (dynamic memory management), see [[Dynamic Memory Management]]
  
Usually using VirtIO drivers you can maximize performances, but this depends on the availability and status of guest VirtIO drivers for your guest OS and platform.
+
You can maximize performances by using VirtIO drivers. The availability and status of the VirtIO drivers depends on the guest OS and platform.
  
 
== Windows OS support ==
 
== Windows OS support ==
  
While recent Linux kernels already have those drivers so any distribution, running in a kvm VM, should recognize virtio devices exposed by the kvm hypervisor, all current Windows OS need special drivers to use virtio devices. Microsoft does not provide them, so someone kindly managed to make virtio drivers available also for windows systems.  
+
Windows does not have VirtIO drivers included. The Fedora project provides CD ISO images with compiled and signed VirtIO drivers for Windows.
  
 
See  
 
See  
  
 +
*https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html
 
*http://www.linux-kvm.org/page/WindowsGuestDrivers  
 
*http://www.linux-kvm.org/page/WindowsGuestDrivers  
 
*http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers
 
*http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers
  
Following info on those page you can find:  
+
The source code of those drivers can be found on Github. See https://github.com/virtio-win/kvm-guest-drivers-windows
  
*a git repository: https://github.com/YanVugenfirer/kvm-guest-drivers-windows
+
=== Driver ISOs ===
*:this is the source for the Windows drivers and is hosted in a repository on GIT hub. Anonymous users can clone the repository
+
 
*a web repository http://alt.fedoraproject.org/pub/alt/virtio-win/  
+
Each of the ISOs is labelled with a numeric release.
*:here you can find both stable and latest sets of drivers  
+
*Older versions could still be useful when, as it happens, a Windows VM shows instability or incompatibility with the latest drivers.
 +
*a web repository https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/
 +
*:here you can find both [https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso stable] and [https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso latest] sets of drivers  
 
*:*in source format (.zip)  
 
*:*in source format (.zip)  
 
*:*in compiled format (.iso)  
 
*:*in compiled format (.iso)  
*:*'''Those binary drivers are digitally signed, and will work on 64-bit versions of Windows'''
+
*:*'''The binary drivers are digitally signed by Red Hat (but NOT WHQL), and will work on 64-bit versions of Windows'''
  
=== Packaged sets of drivers ===
+
In the iso there are several dirs, with subdir for each supported OS version (2k19, 2k16, 2k12, 2k12R2, 2k3, 2k8, 2k8R2, w7, w8, w8.1, w10):
 +
*Balloon
 +
*guest-agent
 +
*NetKVM
 +
*pvpanic
 +
*qemupciserial
 +
*qxl
 +
*qxldod
 +
*viorng
 +
*vioscsi
 +
*vioserial
 +
*viostor
  
Each of those "packaged" sets of drivers available is labelled with a numeric release, and differs by features &amp; bugs as it improves through the time.
+
= See also =
 
 
*Most recent set is virtio-win-0.1-74, with updates to virtio drivers as of 16 Oct 2013.
 
*Previous versions could still be useful when, as it happens, some Windows VM shows instability or incompatibility with latest drivers set.
 
 
 
==== Choose the right driver ====
 
 
 
{{Template:VirtIOFedoraISOFolderNames}}
 
 
 
'''NB:'''
 
 
 
*Windows XP drivers are known to work also on Windows 2003 Server
 
*Win7 drivers can be used for Windows 2008r2
 
 
 
==See also==
 
 
* [[Windows_VirtIO_Drivers/Changelog]]
 
* [[Windows_VirtIO_Drivers/Changelog]]
 
* [[Paravirtualized Block Drivers for Windows]]
 
* [[Paravirtualized Block Drivers for Windows]]
 
* [[Paravirtualized Network Drivers for Windows]]
 
* [[Paravirtualized Network Drivers for Windows]]
 
* [[Dynamic Memory Management]]
 
* [[Dynamic Memory Management]]
 +
 +
[[Category: HOWTO]]
 +
[[Category: Qemu/KVM]]

Revision as of 13:07, 5 November 2019

Introduction

VirtIO Drivers are paravirtualized drivers for kvm/Linux (see http://www.linux-kvm.org/page/Virtio). In short, they enable direct (paravirtualized) access to devices and peripherals for virtual machines using them, instead of slower, emulated, ones.
A quite extended explanation about VirtIO drivers can be found here http://www.ibm.com/developerworks/library/l-virtio.

At the moment these kind of devices are supported:

You can maximize performances by using VirtIO drivers. The availability and status of the VirtIO drivers depends on the guest OS and platform.

Windows OS support

Windows does not have VirtIO drivers included. The Fedora project provides CD ISO images with compiled and signed VirtIO drivers for Windows.

See

The source code of those drivers can be found on Github. See https://github.com/virtio-win/kvm-guest-drivers-windows

Driver ISOs

Each of the ISOs is labelled with a numeric release.

In the iso there are several dirs, with subdir for each supported OS version (2k19, 2k16, 2k12, 2k12R2, 2k3, 2k8, 2k8R2, w7, w8, w8.1, w10):

  • Balloon
  • guest-agent
  • NetKVM
  • pvpanic
  • qemupciserial
  • qxl
  • qxldod
  • viorng
  • vioscsi
  • vioserial
  • viostor

See also