From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0XWM-0005nm-RK for qemu-devel@nongnu.org; Mon, 05 Sep 2011 07:39:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0XWM-0004p1-25 for qemu-devel@nongnu.org; Mon, 05 Sep 2011 07:39:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0XWL-0004ou-PE for qemu-devel@nongnu.org; Mon, 05 Sep 2011 07:39:22 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p85BdJZL029762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 5 Sep 2011 07:39:19 -0400 Date: Mon, 5 Sep 2011 14:40:12 +0300 From: "Michael S. Tsirkin" Message-ID: <20110905114011.GG16038@redhat.com> References: <20110704094358.GA10960@redhat.com> <20110904171106.GA13153@redhat.com> <20110905093825.GE16038@redhat.com> <4E649C07.2020204@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E649C07.2020204@redhat.com> Subject: Re: [Qemu-devel] [PATCH] pci: add standard bridge device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Markus Armbruster , qemu-devel@nongnu.org On Mon, Sep 05, 2011 at 11:53:11AM +0200, Gerd Hoffmann wrote: > Hi, > > >>Looking... qdev_device_help() shows only device properties, not bus > >>properties. I'd call that a bug. > > > >Hmm, but is "bus" a bus property? > > It isn't. bus= is handled by qdev core (id= too). addr= actually > is a (pci) bus property. > > cheers, > Gerd At the moment the help text is wrong: -device driver[,prop[=value][,...]] add device (based on driver) prop=value,... sets driver properties use -device ? to print all possible drivers use -device driver,? to print all possible properties We also need documentation for properties and devices, but that's a separate problem. -- MST