proxmox安装virtio驱动--涉及windows 内存ballon气球

1、问题:通过pve5安装windows 2008和2019操作系统时,选择scsi设备时,在安装阶段就使用从fedora下载的virtio-win.iso文件 (版本为0.1.185)时,直接提示“找不到签名的驱动设备程序”。下载virtio-win-0.1.141.iso文件(不支持windows 2019,但支持win2008)发现支持在win2008安装阶段加载硬盘scsi驱动,怀疑是0.1.185驱动打包或者没有通过microsoft签名有关。 win2019只好在sata磁盘类型下先安装成功,安装成功后再添加一块scsi类型的磁盘,通过这样的方式也可以安装scsi驱动成功。

各历史virtio版本下载:https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/

fedora的相关说明以及下载页面为:https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/ 摘录部分说明如下:

关于virtio-win.iso驱动的有关说明如下:

iso里面有全驱动安装程序viriot-win-gt.msi安装文件,安装后路径在c:Program files中,安装完成后同时还安装了ballon service windows服务
ISO is used to install paravirtual drivers in Windows guests. The virtio-win/*.iso included in the RPM contains the following bits:
NetKVM/ - Virtio network driver
viostor/ - Virtio block driver
vioscsi/ - Virtio Small Computer System Interface (SCSI) driver
viorng/ - Virtio RNG driver
vioser/ - Virtio serial driver
Balloon/ - Virtio memory balloon driver
qxl/ - QXL graphics driver for Windows 7 and earlier. (build virtio-win-0.1.103-1 and later)
qxldod/ - QXL graphics driver for Windows 8 and later. (build virtio-win-0.1.103-2 and later)
pvpanic/ - QEMU pvpanic device driver (build virtio-win-0.1.103-2 and later)
guest-agent/ - QEMU Guest Agent 32bit and 64bit MSI installers
qemupciserial/ - QEMU PCI serial device driver
*.vfd VFD floppy images for using during install of Windows XP

Due to the signing requirements of the Windows Driver Signing Policy, drivers which are not signed by Microsoft will not be loaded by some versions of Windows when Secure Boot is enabled in the virtual machine. See bug #1844726

2、windows 内存ballon气球
参考Dynamic Memory Management https://pve.proxmox.com/wiki/Dynamic_Memory_Management#Enable_Auto-Ballooning_on_Windows_2008r2里面有针对各个windows操作系统的说明。

安装qemu各个驱动比较简单的办法就是直接安装ISO中的 全驱动安装包viriot-win-gt.msi安装文件,安装后路径在c:Program files中,安装完成后同时还安装了ballon service windows服务。此外还有virtio-win-guest.msi文件,可以通过这个安装spice驱动(其中还包括qemu agent),官网是这么说的use the virtio-win-guest-tools wizard to install the QEMU Guest Agent and the SPICE agent for an improved remote-viewer experience.

原文地址:https://www.cnblogs.com/weihua2020/p/14091606.html