From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agUjA-0002qT-7K for qemu-devel@nongnu.org; Thu, 17 Mar 2016 06:00:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agUj6-00034B-7U for qemu-devel@nongnu.org; Thu, 17 Mar 2016 06:00:23 -0400 Received: from [59.151.112.132] (port=64634 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agUj5-00033W-Rv for qemu-devel@nongnu.org; Thu, 17 Mar 2016 06:00:20 -0400 References: <1457014732-19428-1-git-send-email-marcel@redhat.com> <56E7C13B.6010601@cn.fujitsu.com> <56E7F597.9060506@redhat.com> From: Cao jin Message-ID: <56EA80A5.50101@cn.fujitsu.com> Date: Thu, 17 Mar 2016 18:02:13 +0800 MIME-Version: 1.0 In-Reply-To: <56E7F597.9060506@redhat.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V4] hw/pxb: add chassis_nr property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum , qemu-devel@nongnu.org Cc: ehabkost@redhat.com, laine@redhat.com, mst@redhat.com hi On 03/15/2016 07:44 PM, Marcel Apfelbaum wrote: > On 03/15/2016 10:00 AM, Cao jin wrote: >> >> And I have another personal question: In qemu design, it seems every >> pci bridge reside in a separate chassis, what`s benefit? why don`t >> put them all in the main chassis? > > Please have a look on pci-to-pci bridge specification, chapter 13, slot > numbering. > thanks for the hint. I still have a question: in docs/pci_expander_bridge.txt, it says: create a TYPE_PCI_BRIDGE_DEV to enable hotplug support. But I didn`t see it can hotplug as following step: 1: ./qemu-system-x86_64 -device pxb,id=br,bus=pci.0,bus_nr=2 -hda linux.img -smp 2 --enable-kvm -m 1024 -monitor stdio 2: in monitor, type: device_add e1000,bus=br result: no message output to monitor, and don`t see e1000 nic in guest Is is a bug or I test it in a wrong way? -- Yours Sincerely, Cao jin