From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y171X-0008Uw-B0 for qemu-devel@nongnu.org; Wed, 17 Dec 2014 00:19:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y171T-0003O1-1I for qemu-devel@nongnu.org; Wed, 17 Dec 2014 00:19:47 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:58096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y171S-0003IB-E8 for qemu-devel@nongnu.org; Wed, 17 Dec 2014 00:19:42 -0500 Message-ID: <549111D9.5000903@huawei.com> Date: Wed, 17 Dec 2014 13:17:13 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1418726555-20532-1-git-send-email-eric.auger@linaro.org> In-Reply-To: <1418726555-20532-1-git-send-email-eric.auger@linaro.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v7 0/3] machvirt dynamic sysbus device instantiation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Auger , eric.auger@st.com, christoffer.dall@linaro.org, qemu-devel@nongnu.org, agraf@suse.de, pbonzini@redhat.com, ard.biesheuvel@linaro.org, a.rigo@virtualopensystems.com, joel.schopp@amd.com Cc: peter.maydell@linaro.org, Hangaohuai , patches@linaro.org, alex.williamson@redhat.com, a.motakis@virtualopensystems.com, kvmarm@lists.cs.columbia.edu On 2014/12/16 18:42, Eric Auger wrote: > This patch series enables machvirt to dynamically instantiate sysbus > devices from command line (using -device option). > > All those sysbus devices are plugged onto a platform bus. This latter > device is instantiated in machvirt and takes care of the binding of > children sysbus devices on a machine init done notifier. The device > tree node generation for children dynamic sysbus device also happens > on a subsequent notifier that must be executed after the above one. > machvirt registers that notifier before the platform bus creation to > make sure notifiers are executed in the right order: dt generation after > actual QOM binding. > > Very few sysbus devices are supposed to be instantiated that > way. VFIO devices belong to them. > > Node creation really is architecture specific. On ARM the dynamic > sysbus device node creation is implemented in a new C module, > hw/arm/sysbus-fdt.c and not in the machine file. > > Machvirt transformations and sysbus-fdt are largely inspired from Alex work. > > The patch series can be found at: > http://git.linaro.org/people/eric.auger/qemu.git > branch official_dynsysbus_v7 > Reviewed-by: Shannon Zhao Thanks, Shannon