]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuServer/USB.pm
use new pcie port hardware
[qemu-server.git] / PVE / QemuServer / USB.pm
index 9eaacccbda1d1608b304a9f443555c0511da2442..a2097b974e4bbb64d4922358a71fc319da005319 100644 (file)
@@ -42,11 +42,7 @@ sub get_usb_controllers {
     if ($arch eq 'aarch64') {
         $pciaddr = print_pci_addr('ehci', $bridges, $arch, $machine);
         push @$devices, '-device', "usb-ehci,id=ehci$pciaddr";
-    } elsif ($machine =~ /q35/) { # FIXME: combine this and machine_type_is_q35
-       # the q35 chipset support native usb2, so we enable usb controller
-       # by default for this machine type
-        push @$devices, '-readconfig', '/usr/share/qemu-server/pve-q35.cfg';
-    } else {
+    } elsif ($machine !~ /q35/) { # FIXME: combine this and machine_type_is_q35
         $pciaddr = print_pci_addr("piix3", $bridges, $arch, $machine);
         push @$devices, '-device', "piix3-usb-uhci,id=uhci$pciaddr.0x2";