virtIO Drivers showing as Removable Device

Jul 26, 2021
71
1
13
29
India
Hi Everyone,

I am facing a weird issue in windows 10. After Installing the required virtIO Drivers, some of them show as "Removable Devices".

So far I have tried both methods of Manually installing the drivers as well as Bundling them within the VM Template using Sysprep.

Please Look into this, below is a screenshot for reference.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    48.5 KB · Views: 21
Seems like in qemu-kvm they implemented a hotplug flag in the pci declaration:
https://bugzilla.redhat.com/show_bug.cgi?id=1790899
I don't think there are these options in the proxmox web gui.

Anyway in Windows you can add this batch at startup *Run as Administrator*:
Code:
:: RUN AS Administrator
:: Virtio Baloon
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1002&SUBSYS_00051AF4&REV_00\5&2490727A&0&1808F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio Serial
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\5&2490727a&0&4008F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio SCSI
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00\5&2490727A&0&2808F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio Ethernet
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00\5&2490727A&0&9008F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Nvidia
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_10DE&DEV_1FB1&SUBSYS_148810DE&REV_A1\4&23F93F77&0&00E0" /v Capabilities /t REG_DWORD /d 2 /f

Best regards,

Emilien
 
Seems like in qemu-kvm they implemented a hotplug flag in the pci declaration:
https://bugzilla.redhat.com/show_bug.cgi?id=1790899
I don't think there are these options in the proxmox web gui.

Anyway in Windows you can add this batch at startup *Run as Administrator*:
Code:
:: RUN AS Administrator
:: Virtio Baloon
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1002&SUBSYS_00051AF4&REV_00\5&2490727A&0&1808F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio Serial
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\5&2490727a&0&4008F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio SCSI
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00\5&2490727A&0&2808F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Virtio Ethernet
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00\5&2490727A&0&9008F0" /v Capabilities /t REG_DWORD /d 2 /f
:: Nvidia
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_10DE&DEV_1FB1&SUBSYS_148810DE&REV_A1\4&23F93F77&0&00E0" /v Capabilities /t REG_DWORD /d 2 /f

Best regards,

Emilien
ill check and revert if this works for me.
 
Are you sure?

Can you post the VM config?

I had also on 5.4 with Windows 2012 and Virtio.
Code:
root@p1:~# qm config 100
agent: 1
balloon: 0
bios: ovmf
boot: order=sata0;net0
cores: 2
cpu: host
efidisk0: a_nvme-storage:vm-100-disk-0,size=1M
hostpci0: 0000:21:00,pcie=1
machine: pc-q35-6.0
memory: 16384
name: review
net0: e1000=3A:EA:61:B4:3E:18,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: a_nvme-storage:vm-100-disk-1,backup=0,size=400G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=41bd7c89-cf17-4811-b809-5ab1a21e7e6f
sockets: 2
vga: none
vmgenid: ff8df91c-d5db-4d67-95a6-f6eb8e8dd007
 
Why sata disk and not scsi?
sorry attached revised
Code:
root@p1:~# qm config 102
agent: 1
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
efidisk0: a_nvme-storage:vm-102-disk-1,size=1M
ide2: local:iso/NTLite-1.iso,media=cdrom
machine: pc-q35-6.0
memory: 16348
name: test
net0: virtio=6A:51:85:77:7B:1E,bridge=vmbr0,firewall=1,link_down=1
numa: 0
ostype: win10
scsi0: a_nvme-storage:vm-102-disk-0,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=5c7edba4-f822-4587-9954-677a80f6a9e0
sockets: 2
vmgenid: d85de9e5-8ca7-40cc-865e-d02192eafe6e
root@p1:~#
 
sorry attached revised
Code:
root@p1:~# qm config 102
agent: 1
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
efidisk0: a_nvme-storage:vm-102-disk-1,size=1M
ide2: local:iso/NTLite-1.iso,media=cdrom
machine: pc-q35-6.0
memory: 16348
name: test
net0: virtio=6A:51:85:77:7B:1E,bridge=vmbr0,firewall=1,link_down=1
numa: 0
ostype: win10
scsi0: a_nvme-storage:vm-102-disk-0,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=5c7edba4-f822-4587-9954-677a80f6a9e0
sockets: 2
vmgenid: d85de9e5-8ca7-40cc-865e-d02192eafe6e
root@p1:~#
With this VM config you didn't see any "Removable Devices" in Windows?

Can you post a screenshot of winver from the VM?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!