From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3lbt-000307-Sd for qemu-devel@nongnu.org; Mon, 29 Jul 2013 07:27:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3lbn-0002oz-Ju for qemu-devel@nongnu.org; Mon, 29 Jul 2013 07:27:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3lbn-0002ou-9z for qemu-devel@nongnu.org; Mon, 29 Jul 2013 07:27:23 -0400 Message-ID: <51F65186.8020004@redhat.com> Date: Mon, 29 Jul 2013 13:27:02 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1375002894-26742-1-git-send-email-marcel.a@redhat.com> <51F61B76.30504@redhat.com> <1375084808.14541.12.camel@localhost.localdomain> In-Reply-To: <1375084808.14541.12.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] qemu-help: improve -device command line help List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, afaerber@suse.de Il 29/07/2013 10:00, Marcel Apfelbaum ha scritto: > On Mon, 2013-07-29 at 09:36 +0200, Paolo Bonzini wrote: >> Il 28/07/2013 11:14, Marcel Apfelbaum ha scritto: >>> Categories: >>> Assembly - hosts/hubs/... >> >> A lot of these seem to fit in a "bridge" category. > I wanted to group in a category as much as possible having in > mind the user shall "grep" by category to find devices. > My goal is a top category with devices that are not nodes and > are used as a way to combine other devices. >> >> I'm not sure why usbhost is in the assembly category though. Also, why >> is this the default category for isa and i2c devices? > The same argument as above. I am looking for top devices and not for > their type USB host is a leaf device. As to ISA and I2C, which devices exactly are using the default you're setting here? Are they really bridge- or controller-type device? >>> Management - controllers >> >> AHCI is storage. > Thanks, it looked like management to me. > Devices in management category shall control other devices. > It looked like a fit for me. Yeah, it does, but then the same is true for all SCSI HBAs. >> applesmc is something like a microcontroller ("misc"?). > Thanks, I'll move to misc >> >> Everything else in this category is USB host controllers, I think it >> deserves a special category since USB devices are generally somewhat >> self-explanatory (hubs too). > I didn't want to include the "USB" keyword, because the user will be lost > when filtering by this word. The goal is to help the user to concentrate > on a specific "category". Maybe USB-Controller ? Maybe two categories (USB | Controller)? There is also difference between storage controllers and storage devices (i.e. disks). I think assembly and management can be merged into a single "controller/hub/bridge" category. You can then use multiple categories for HBAs, for AHCI, etc. Paolo