All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices
@ 2014-10-02 15:26 ManDay
  2014-10-02 22:18 ` [Qemu-devel] [Bug 1376798] " Peter Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ManDay @ 2014-10-02 15:26 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Qemu passes through all devices on Bus 3 with host-usb all right when
issued so on the command line such as

... -device usb-ehci,id=USBCtrl -device host-
usb,bus=USBCtrl.0,hostaddr=5

but it does not pass through the devices newly hotplugged to the host
after Qemu has already started. One has to explicitly issue

device_add host-usb,bus=USBCtrl.0 ....

on the monitor, in order for the guest (Win7 in my case) to see those
devices.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  New

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1376798] Re: Qemu does not hotplug (usb) devices
  2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
@ 2014-10-02 22:18 ` Peter Wu
  2014-10-03  7:33 ` ManDay
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Wu @ 2014-10-02 22:18 UTC (permalink / raw)
  To: qemu-devel

Not a bug, Linux increases the Device ID each time a new device gets
hotplugged. If you need to use this option, pair it with already
connected drivers by parsing the output of lsusb for instance.

You can still use combinations of hostbus, vendorid, productid, etc.

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  Invalid

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1376798] Re: Qemu does not hotplug (usb) devices
  2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
  2014-10-02 22:18 ` [Qemu-devel] [Bug 1376798] " Peter Wu
@ 2014-10-03  7:33 ` ManDay
  2014-10-03  8:16 ` ManDay
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ManDay @ 2014-10-03  7:33 UTC (permalink / raw)
  To: qemu-devel

Please note that since I did not specify a Device ID (a.k.a. Host
Address) but only the bus (3), I'd expect all devices on bus 3 to be
(automatically) added to the guest usb, even if they are plugged into
the host after Qemu is started. I take the liberty of changing the
status to "Opinion", if you still deem it invalid, feel free to close.

** Changed in: qemu
       Status: Invalid => Opinion

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  Opinion

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1376798] Re: Qemu does not hotplug (usb) devices
  2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
  2014-10-02 22:18 ` [Qemu-devel] [Bug 1376798] " Peter Wu
  2014-10-03  7:33 ` ManDay
@ 2014-10-03  8:16 ` ManDay
  2014-10-03  8:25 ` ManDay
  2014-10-03 13:41 ` ManDay
  4 siblings, 0 replies; 6+ messages in thread
From: ManDay @ 2014-10-03  8:16 UTC (permalink / raw)
  To: qemu-devel

I just noticed that I had mistakenly written "hostaddr=5" in the initial
post. That should have been hostbus=3. But I'll make sure my description
is correct again and will close if it turns out not to be. Sorry for the
confusion.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  Invalid

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1376798] Re: Qemu does not hotplug (usb) devices
  2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
                   ` (2 preceding siblings ...)
  2014-10-03  8:16 ` ManDay
@ 2014-10-03  8:25 ` ManDay
  2014-10-03 13:41 ` ManDay
  4 siblings, 0 replies; 6+ messages in thread
From: ManDay @ 2014-10-03  8:25 UTC (permalink / raw)
  To: qemu-devel

Just closing anyway. If I find my description to correct I'll open a new
bug with the correct description this time.

** Changed in: qemu
       Status: Opinion => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  Invalid

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1376798] Re: Qemu does not hotplug (usb) devices
  2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
                   ` (3 preceding siblings ...)
  2014-10-03  8:25 ` ManDay
@ 2014-10-03 13:41 ` ManDay
  4 siblings, 0 replies; 6+ messages in thread
From: ManDay @ 2014-10-03 13:41 UTC (permalink / raw)
  To: qemu-devel

*** This bug is a duplicate of bug 1377163 ***
    https://bugs.launchpad.net/bugs/1377163

** This bug has been marked a duplicate of bug 1377163
   Does not add usb-host devices as they are hotplugged

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1376798

Title:
  Qemu does not hotplug (usb) devices

Status in QEMU:
  Invalid

Bug description:
  Qemu passes through all devices on Bus 3 with host-usb all right when
  issued so on the command line such as

  ... -device usb-ehci,id=USBCtrl -device host-
  usb,bus=USBCtrl.0,hostaddr=5

  but it does not pass through the devices newly hotplugged to the host
  after Qemu has already started. One has to explicitly issue

  device_add host-usb,bus=USBCtrl.0 ....

  on the monitor, in order for the guest (Win7 in my case) to see those
  devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1376798/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-03 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-02 15:26 [Qemu-devel] [Bug 1376798] [NEW] Qemu does not hotplug (usb) devices ManDay
2014-10-02 22:18 ` [Qemu-devel] [Bug 1376798] " Peter Wu
2014-10-03  7:33 ` ManDay
2014-10-03  8:16 ` ManDay
2014-10-03  8:25 ` ManDay
2014-10-03 13:41 ` ManDay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.