diff --git a/PVE/QemuServer/USB.pm b/PVE/QemuServer/USB.pm index 3c8da2c0..b669c919 100644 --- a/PVE/QemuServer/USB.pm +++ b/PVE/QemuServer/USB.pm @@ -120,6 +120,8 @@ sub print_usbdevice_full { $usbdevice .= ",vendorid=0x$device->{vendorid},productid=0x$device->{productid}"; } elsif (defined($device->{hostbus}) && defined($device->{hostport})) { $usbdevice .= ",hostbus=$device->{hostbus},hostport=$device->{hostport}"; + } else { + die "no usb id or path given\n"; } $usbdevice .= ",id=$deviceid";