Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzPvE-0005mr-1A for qemu-devel@nongnu.org; Thu, 30 Apr 2009 02:39:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzPv9-0005mU-2t for qemu-devel@nongnu.org; Thu, 30 Apr 2009 02:39:03 -0400 Received: from [199.232.76.173] (port=57831 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzPv8-0005mQ-Sv for qemu-devel@nongnu.org; Thu, 30 Apr 2009 02:38:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:59190) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzPv8-00040W-8I for qemu-devel@nongnu.org; Thu, 30 Apr 2009 02:38:58 -0400 Subject: Re: [Qemu-devel] How to change the PCI bus number for a devcie? References: <77e29ea90904292040p23c332a2t644388d489743d32@mail.gmail.com> From: Markus Armbruster Date: Thu, 30 Apr 2009 08:38:53 +0200 In-Reply-To: <77e29ea90904292040p23c332a2t644388d489743d32@mail.gmail.com> (Jiang Wang's message of "Wed\, 29 Apr 2009 23\:40\:20 -0400") Message-ID: <87ocue4pdu.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiang Wang Cc: qemu-devel@nongnu.org Jiang Wang writes: > Hi: > > I find that all the pci device in QEMU is under the PCI bus 00. I want > to change one device (like rtl8139 nic) to appear in a different bus > number, such as 02. Is that possible? How? The target will be i386 > and/or x86_64. > > I noticed that there is one email about changing the function number > as follows: > http://lists.gnu.org/archive/html/qemu-devel/2009-01/msg01480.html > > But I want to change the bus number. For example, using some config > file or command line options. If there is no such patch, is it > difficult to modify the source code ? > > Thanks. > > Jiang I am working on a patch that should eventually give you the feature you want. If you're curious, watch out for subject "[RFC] Machine description as data".