This has been requested on a few occasions over the years, but to this day, Proxmox still forces these USB controllers into VMs.
Ovirt and other QEMU/KVM environments don't do it, but Proxmox likes to keep these legacy things hardcoded still in there, really annoying.
I checked the code and it is hard-coded in the file: /usr/share/perl5/PVE/QemuServer.pm
With modern QEMU, I directly add the new performant virtio mouse and virtio keyboard via args:
Also I disable the old PS2 support via args:
But unfortunately there is no way to disable the UHCI/EHCI USB controller emulation.
If the concern is backwards compatibility, then at please consider adding an option in the VM Options page, "Disable USB UHCI/EHCI" or something along those lines, so us modern QEMU fans can just check it and wave goodbye to it.
Yes, I know I can modify the code, but I do not think this is an edge-case whatsoever, this is simply about keeping up with modern QEMU optimizations.
Keep up the great work! Many thanks.
Ovirt and other QEMU/KVM environments don't do it, but Proxmox likes to keep these legacy things hardcoded still in there, really annoying.
I checked the code and it is hard-coded in the file: /usr/share/perl5/PVE/QemuServer.pm
Perl:
# add usb controllers
my @usbcontrollers =
PVE::QemuServer::USB::get_usb_controllers($conf, $bridges, $arch, $machine_version);
push @$devices, @usbcontrollers if @usbcontrollers;
With modern QEMU, I directly add the new performant virtio mouse and virtio keyboard via args:
Code:
-device virtio-mouse-pci -device virtio-keyboard-pci
Also I disable the old PS2 support via args:
Code:
-machine type=q35,i8042=off
But unfortunately there is no way to disable the UHCI/EHCI USB controller emulation.
If the concern is backwards compatibility, then at please consider adding an option in the VM Options page, "Disable USB UHCI/EHCI" or something along those lines, so us modern QEMU fans can just check it and wave goodbye to it.
Yes, I know I can modify the code, but I do not think this is an edge-case whatsoever, this is simply about keeping up with modern QEMU optimizations.
Keep up the great work! Many thanks.