qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree


From: Peter Maydell
Subject: Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree
Date: Sun, 26 Sep 2021 19:46:38 +0100

On Sun, 26 Sept 2021 at 19:34, Simon Glass <sjg@chromium.org> wrote:
>
> At present qemu creates a device tree automatically with the 'virt' generic
> virtual platform. This is very convenient in most cases but there is not
> much control over what is generated.
>
> Add a way to provide a device tree binary file with additional properties
> to add before booting. This provides flexibility for situations where
> Linux needs some tweak to operate correctly. It also allows configuration
> information to be passed to U-Boot, supporting verified boot, for example.

So, I'm strongly inclined to say "nope" here. The device
tree virt generates is supposed to entirely describe the
virtual hardware we pass to the guest. If a guest doesn't
work with that, then either we're generating bogus dtb info
or the guest is not handling the dtb we pass it, and one
or the other should be fixed.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]