qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lonnie Mendez <lmendez19@austin.rr.com>
To: qemu-devel@nongnu.org
Subject: RE: [Qemu-devel] Bus number and address changes after usb_add?
Date: Thu, 07 Dec 2006 01:04:56 -0600	[thread overview]
Message-ID: <1165475096.19968.21.camel@vaio> (raw)
In-Reply-To: <A3C277AA6499944188602D8A7168B9A701332DB0@bjsmsx401>

On Thu, 2006-12-07 at 14:43 +0800, Yu, Xiaoyang wrote:
> Thanks a lot! So we need to use "usb_del bus.addr" to remove the device from the guest. So I must get the bus.addr information for the device first. But I cannot do so by just add code into usb_device_add() function, because the bus.addr will change after that. Is there a place in QEMU source code suitable for logging the bus.addr information?

The usb code could use some improvement in regards to tracking the
devices internally in qemu.  If you scan this list there was an attempt
at adding devices to a tree for tracking them, but that code was
seemingly rushed so it had numerous bugs.  You can find the thread with
the proposal here:

http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00489.html

  reply	other threads:[~2006-12-07  7:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  6:43 [Qemu-devel] Bus number and address changes after usb_add? Yu, Xiaoyang
2006-12-07  7:04 ` Lonnie Mendez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-12-07  6:11 Yu, Xiaoyang
2006-12-07  6:22 ` Lonnie Mendez
2006-12-07  4:20 Yu, Xiaoyang
2006-12-07  4:18 Yu, Xiaoyang
2006-12-07  4:25 ` Lonnie Mendez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165475096.19968.21.camel@vaio \
    --to=lmendez19@austin.rr.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).