mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 04:51:50 +00:00
print_tabletdevice_full: make use of $q35 variable
just outside of context, we already save the result from machine_type_is_q35 into the $q35 variable, but never use it. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
faf72d6cbf
commit
2b938c7d88
@ -1457,7 +1457,7 @@ sub print_tabletdevice_full {
|
|||||||
|
|
||||||
# we use uhci for old VMs because tablet driver was buggy in older qemu
|
# we use uhci for old VMs because tablet driver was buggy in older qemu
|
||||||
my $usbbus;
|
my $usbbus;
|
||||||
if (PVE::QemuServer::Machine::machine_type_is_q35($conf) || $arch eq 'aarch64') {
|
if ($q35 || $arch eq 'aarch64') {
|
||||||
$usbbus = 'ehci';
|
$usbbus = 'ehci';
|
||||||
} else {
|
} else {
|
||||||
$usbbus = 'uhci';
|
$usbbus = 'uhci';
|
||||||
|
Loading…
Reference in New Issue
Block a user