[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number

From: Thomas Huth
Subject: [Bug 1196145] Re: usb-host: hostaddr=0XX is parsed as octal number
Date: Fri, 07 Aug 2020 09:27:56 -0000

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

** Changed in: qemu
       Status: New => Incomplete

You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

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

Status in QEMU:

Bug description:
  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.


  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.

To manage notifications about this bug go to:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]