> - push @$devices, '-device', 'usb-tablet,id=tablet,bus=uhci.0,port=1' if $tablet; > + my $usbbus = $q35 ? "ehci" : "uhci"; > + push @$devices, '-device', > + "usb-tablet,id=tablet,bus=$usbbus.0,port=1" if $tablet; Can't we always plug the tablet to ehci (why not)?