[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 0/3] machvirt dynamic sysbus device instantia
From: |
Shannon Zhao |
Subject: |
Re: [Qemu-devel] [PATCH v7 0/3] machvirt dynamic sysbus device instantiation |
Date: |
Wed, 17 Dec 2014 13:17:13 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
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 <address@hidden>
Thanks,
Shannon