From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0qf5-0003Zc-IA for qemu-devel@nongnu.org; Tue, 16 Dec 2014 06:51:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0qf0-0006AX-23 for qemu-devel@nongnu.org; Tue, 16 Dec 2014 06:51:31 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44548 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0qez-0006AT-S4 for qemu-devel@nongnu.org; Tue, 16 Dec 2014 06:51:25 -0500 Message-ID: <54901CBA.5080108@suse.de> Date: Tue, 16 Dec 2014 12:51:22 +0100 From: Alexander Graf 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=windows-1252 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, pbonzini@redhat.com, ard.biesheuvel@linaro.org, zhaoshenglong@huawei.com, a.rigo@virtualopensystems.com, joel.schopp@amd.com Cc: peter.maydell@linaro.org, alex.williamson@redhat.com, kvmarm@lists.cs.columbia.edu, a.motakis@virtualopensystems.com, patches@linaro.org On 16.12.14 11: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: Alexander Graf Alex