Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzN8M-0006mL-Et for qemu-devel@nongnu.org; Wed, 29 Apr 2009 23:40:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzN8J-0006k6-0s for qemu-devel@nongnu.org; Wed, 29 Apr 2009 23:40:26 -0400 Received: from [199.232.76.173] (port=36844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzN8I-0006k2-Ov for qemu-devel@nongnu.org; Wed, 29 Apr 2009 23:40:22 -0400 Received: from mail-bw0-f175.google.com ([209.85.218.175]:32778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzN8I-0004Ts-Cc for qemu-devel@nongnu.org; Wed, 29 Apr 2009 23:40:22 -0400 Received: by bwz23 with SMTP id 23so1415291bwz.34 for ; Wed, 29 Apr 2009 20:40:20 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 29 Apr 2009 23:40:20 -0400 Message-ID: <77e29ea90904292040p23c332a2t644388d489743d32@mail.gmail.com> From: Jiang Wang Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] How to change the PCI bus number for a devcie? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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