followup: add FIXME comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-11-27 13:45:23 +01:00
parent ad5f4f3837
commit 88a7da8309

View File

@ -42,7 +42,7 @@ sub get_usb_controllers {
if ($arch eq 'aarch64') { if ($arch eq 'aarch64') {
$pciaddr = print_pci_addr('ehci', $bridges, $arch, $machine); $pciaddr = print_pci_addr('ehci', $bridges, $arch, $machine);
push @$devices, '-device', "usb-ehci,id=ehci$pciaddr"; push @$devices, '-device', "usb-ehci,id=ehci$pciaddr";
} elsif ($machine =~ /q35/) { } elsif ($machine =~ /q35/) { # FIXME: combine this and machine_type_is_q35
# the q35 chipset support native usb2, so we enable usb controller # the q35 chipset support native usb2, so we enable usb controller
# by default for this machine type # by default for this machine type
push @$devices, '-readconfig', '/usr/share/qemu-server/pve-q35.cfg'; push @$devices, '-readconfig', '/usr/share/qemu-server/pve-q35.cfg';