[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/6] hw/arm/boot: load_dtb becomes non static
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/6] hw/arm/boot: load_dtb becomes non static arm_load_dtb |
Date: |
Fri, 5 Dec 2014 18:16:37 +0000 |
On 5 December 2014 at 16:38, Peter Maydell <address@hidden> wrote:
> On 30 November 2014 at 18:19, Eric Auger <address@hidden> wrote:
>> load_dtb is renamed into arm_load_dtb and becomes non static.
>> it will be used by machvirt for dynamic instantiation of
>> platform devices
>
> 'virt' shouldn't be a special case -- we should always
> handle setting up the DTB in guest memory in the same
> way, whether there happens to be a vfio platform device
> available or not.
...this probably means that a bunch of the work currently
done in arm_load_kernel() should be deferred to a 'machine
init complete' hook (perhaps all of it?).
-- PMM