summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/mistranslation/1196145
blob: 9575bc7975ae0dcc69025c9d3da697268de69474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
mistranslation: 0.974
semantic: 0.898
instruction: 0.847
other: 0.845
device: 0.804
graphic: 0.786
network: 0.662
socket: 0.631
vnc: 0.550
boot: 0.454
assembly: 0.454
KVM: 0.330

usb-host: hostaddr=0XX is parsed as octal number

when doing

device_add usb-host,hostaddr=010

taking 010 in the format of both lsusb or udev, qemu parses an octal number and assumes hostaddr=8.
(i used a 2.0 device on the ehci.0 bus)
at least to me that is confusing.

also:

when adding a non-existent usb device (bogus hostaddr), the following is created according to 'usb info':

  Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

in usb_qdev_init():
usb_claim_port is called but usb_device_init does not report an error and thus usb_release_port is not called.

ps: when using host-libusb.c and tested on 1.5.1.tgz

Looking through old bug tickets... is this still an issue with the latest version of QEMU? Or could we close this ticket nowadays?

[Expired for QEMU because there has been no activity for 60 days.]