<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Le 14/03/2017 à 19:05, Gena Makhomed a écrit :<br>
</p>
<blockquote
cite="mid:fce77ed4-07d6-98ef-d8b7-62ea230a506a@csdoc.com"
type="cite">Hello, All!
<br>
<br>
virtio-win.iso contains two different Windows drivers.
<br>
these Windows Server 2012 R2 drivers have different hardware IDs:
<br>
<br>
\vioscsi\2k12R2\amd64\vioscsi.inf
<br>
"Red Hat VirtIO SCSI pass-through controller"
<br>
PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00
<br>
PCI\VEN_1AF4&DEV_1048&SUBSYS_11001AF4&REV_01
<br>
<br>
\viostor\2k12R2\amd64\viostor.inf
<br>
"Red Hat VirtIO SCSI controller"
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00
<br>
PCI\VEN_1AF4&DEV_1042&SUBSYS_11001AF4&REV_01
<br>
<br>
When I use "VirtIO SCSI controller" in virt-manager,
<br>
and when I install Windows Server 2012 R2 -
<br>
I can use only viostor driver and can't use vioscsi driver,
<br>
Windows Server 2012 R2 can't load vioscsi driver (?)
<br>
from virtio-win.iso and did not see virtual hard disks
<br>
with vioscsi driver. Only viostor driver work normally.
<br>
<br>
How I can use "Red Hat VirtIO SCSI pass-through controller"
<br>
for Windows Server 2012 R2 virtual machine, what I need
<br>
to configure in xml-config?
<br>
<br>
current /etc/libvirt/qemu/windows.xml config:
<br>
<br>
<controller type='scsi' index='0' model='virtio-scsi'>
<br>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x07' function='0x0'/>
<br>
</controller>
<br>
<br>
<disk type='file' device='disk'>
<br>
<driver name='qemu' type='raw' cache='none' io='native'
discard='unmap'/>
<br>
<source file='/volume/kvm-windows-system'/>
<br>
<target dev='vda' bus='virtio'/>
<br>
<boot order='1'/>
<br>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x08' function='0x0'/>
<br>
</disk>
<br>
<br>
Additional info:
<br>
================
<br>
<br>
virtio-win.iso version: virtio-win-0.1.126.iso
<br>
from <a class="moz-txt-link-freetext" href="https://fedoraproject.org/wiki/Windows_Virtio_Drivers">https://fedoraproject.org/wiki/Windows_Virtio_Drivers</a>
<br>
</blockquote>
<br>
Maybe you can try the lastest virtio-win-0.1.133.iso :<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<a class="external free"
href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
</a><a class="external free"
href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso">https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso</a><br>
<br>
Or try to reinstall the latest spice guest tools 0.132 :<br>
<a class="moz-txt-link-freetext" href="https://www.spice-space.org/download/binaries/spice-guest-tools/spice-guest-tools-latest.exe">https://www.spice-space.org/download/binaries/spice-guest-tools/spice-guest-tools-latest.exe</a><br>
<br>
<blockquote
cite="mid:fce77ed4-07d6-98ef-d8b7-62ea230a506a@csdoc.com"
type="cite">
<br>
OS: CentOS Linux release 7.3.1611 (Core)
<br>
<br>
QEMU: qemu-kvm-1.5.3-126.el7_3.5.x86_64</blockquote>
<br>
Why don't you upgrade qemu-kvm to qemu-kvm-ev ?<br>
<br>
<blockquote
cite="mid:fce77ed4-07d6-98ef-d8b7-62ea230a506a@csdoc.com"
type="cite">Windows Server 2012 R2 MSDN installation ISO image:
<br>
en_windows_server_2012_r2_with_update_x64_dvd_6052708.iso
<br>
sha1sum: 865494e969704be1c4496d8614314361d025775e
<br>
size: 5397889024 bytes
<br>
<br>
devcon.exe output inside Windows Server 2012 R2 Virtual Machine:
<br>
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\3&13C0B0C5&0&40
<br>
Name: Red Hat VirtIO SCSI controller
<br>
Hardware IDs:
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4
<br>
PCI\VEN_1AF4&DEV_1001&CC_010000
<br>
PCI\VEN_1AF4&DEV_1001&CC_0100
<br>
Compatible IDs:
<br>
PCI\VEN_1AF4&DEV_1001&REV_00
<br>
PCI\VEN_1AF4&DEV_1001
<br>
PCI\VEN_1AF4&CC_010000
<br>
PCI\VEN_1AF4&CC_0100
<br>
PCI\VEN_1AF4
<br>
PCI\CC_010000
<br>
PCI\CC_0100
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\3&13C0B0C5&0&50
<br>
Name: Red Hat VirtIO SCSI controller
<br>
Hardware IDs:
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00
<br>
PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4
<br>
PCI\VEN_1AF4&DEV_1001&CC_010000
<br>
PCI\VEN_1AF4&DEV_1001&CC_0100
<br>
Compatible IDs:
<br>
PCI\VEN_1AF4&DEV_1001&REV_00
<br>
PCI\VEN_1AF4&DEV_1001
<br>
PCI\VEN_1AF4&CC_010000
<br>
PCI\VEN_1AF4&CC_0100
<br>
PCI\VEN_1AF4
<br>
PCI\CC_010000
<br>
PCI\CC_0100
<br>
PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00\3&13C0B0C5&0&38
<br>
Name: Red Hat VirtIO SCSI controller
<br>
Hardware IDs:
<br>
PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00
<br>
PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4
<br>
PCI\VEN_1AF4&DEV_1004&CC_010000
<br>
PCI\VEN_1AF4&DEV_1004&CC_0100
<br>
Compatible IDs:
<br>
PCI\VEN_1AF4&DEV_1004&REV_00
<br>
PCI\VEN_1AF4&DEV_1004
<br>
PCI\VEN_1AF4&CC_010000
<br>
PCI\VEN_1AF4&CC_0100
<br>
PCI\VEN_1AF4
<br>
PCI\CC_010000
<br>
PCI\CC_0100
<br>
<br>
</blockquote>
<br>
</body>
</html>