All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: "David S. Ahern" <daahern@cisco.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] Release usb devices on shutdown and	usb_del command
Date: Fri, 21 May 2010 21:40:26 +0200	[thread overview]
Message-ID: <m3d3wpf3h1.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <4BF6D4B3.3050606@cisco.com> (David S. Ahern's message of "Fri, 21 May 2010 12:45:07 -0600")

"David S. Ahern" <daahern@cisco.com> writes:

>> On 05/21/2010 1:33 AM, Markus Armbruster wrote:
>> Note: usbdevice_init() is not for general initialization, just for
>> dealing with the legacy -usbdevice command line.
>
> Perhaps the comment before usbdevice_create is misleading or has some
> conversion not completed? Right now even devices entered through the
> monitor go through usbdevice_create -- which is the only place the
> usbdevice_init() hook is invoked.

... just for dealing with the -usbdevice command line and monitor
command usb_add (both legacy).

Check out docs/qdev-device-use.txt for the current way to add devices.
The monitor equivalent to -device is device_add.

  reply	other threads:[~2010-05-21 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 18:45 [Qemu-devel] [PATCH v2] Release usb devices on shutdown and usb_del command David S. Ahern
2010-05-21 19:40 ` Markus Armbruster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-05-19 18:10 Shahar Havivi
2010-05-19 18:43 ` David S. Ahern
2010-05-21  6:33   ` Markus Armbruster
2010-05-21  6:51     ` Gerd Hoffmann

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=m3d3wpf3h1.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=daahern@cisco.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 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.